@Immutable
public static final class AssetMap.Asset
extends java.lang.Object
Constructor and Description |
---|
Asset(org.smpte_ra.schemas.st0429_9_2007.AM.AssetType assetType)
Constructor for the wrapping
Asset object from the wrapped model version of XML type 'AssetType'. |
Modifier and Type | Method and Description |
---|---|
java.net.URI |
getPath()
Getter for the path associated with the
Asset object. |
java.util.UUID |
getUUID()
Getter for the UUID associated with the
Asset object |
boolean |
isPackingList()
Tells if the
Asset object is a packing list |
java.lang.String |
toString() |
public Asset(org.smpte_ra.schemas.st0429_9_2007.AM.AssetType assetType) throws java.net.URISyntaxException
Asset
object from the wrapped model version of XML type 'AssetType'. Construction
fails in case the URI associated with wrapped object is invalidassetType
- the wrapped objectjava.net.URISyntaxException
- - exposes any issues with the URI associated with the wrapped objectpublic java.util.UUID getUUID()
Asset
objectpublic boolean isPackingList()
Asset
object is a packing listpublic java.net.URI getPath()
Asset
object. The
path is unmodified relative to what was present in the AssetMap XML documentpublic java.lang.String toString()
toString
in class java.lang.Object