@Immutable
public final class IMPAsset
extends java.lang.Object
Asset
. It holds
a reference to a PackingList Asset along-with the associated absolute URIConstructor and Description |
---|
IMPAsset(java.net.URI uri,
PackingList.Asset asset)
Constructor for an
IMPAsset from a PackingList Asset and its URI. |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid()
Checks if this asset is valid
|
java.lang.String |
toString() |
public IMPAsset(java.net.URI uri, PackingList.Asset asset)
IMPAsset
from a PackingList Asset and its URI. Construction
fails if the URI is not absoluteuri
- the absolute URIasset
- the corresponding asset