@Immutable
public final class InteroperableMasterPackage
extends java.lang.Object
| Constructor and Description |
|---|
InteroperableMasterPackage(PackingList packingList,
java.net.URI packingListURI,
java.util.List<IMPAsset> referencedAssets)
Constructor for an InterOperableMasterPackage object from a
PackingList object,
the URI corresponding to the PackingList document, and a list of type IMPAsset that
corresponds to assets referenced by this InteroperableMasterPackage object |
| Modifier and Type | Method and Description |
|---|---|
PackingList |
getPackingList()
Getter for the packing list corresponding to this IMP
|
java.net.URI |
getPackingListURI()
Getter for the absolute URI of the packing list corresponding to this IMP
|
java.util.List<IMPAsset> |
getReferencedAssets()
Getter for the list of all assets (other than the packing list) contained by this IMP
|
boolean |
isValid()
Checks if this InteroperableMasterPackage object is valid.
|
java.lang.String |
toString() |
public InteroperableMasterPackage(PackingList packingList, java.net.URI packingListURI, java.util.List<IMPAsset> referencedAssets)
PackingList object,
the URI corresponding to the PackingList document, and a list of type IMPAsset that
corresponds to assets referenced by this InteroperableMasterPackage objectpackingList - the corresponding packingList objectpackingListURI - an absolute URI for the PackingList document corresponding to the supplied PackingList object, construction
fails if the URI is not absolutereferencedAssets - the list of type IMPAsset corresponding to assets
referenced by this InteroperableMasterPackage objectpublic PackingList getPackingList()
PackingList object corresponding to this InteroperableMasterPackage objectpublic java.net.URI getPackingListURI()
public java.util.List<IMPAsset> getReferencedAssets()
Asset corresponding to all the assets
contained by this IMPpublic boolean isValid()
public java.lang.String toString()
toString in class java.lang.Object