Package sg.dex.starfish.impl.remote
Class ARemoteAsset
java.lang.Object
sg.dex.starfish.impl.AAsset
sg.dex.starfish.impl.remote.ARemoteAsset
- All Implemented Interfaces:
Asset
- Direct Known Subclasses:
RemoteBundle
,RemoteDataAsset
,RemoteOperation
public abstract class ARemoteAsset extends AAsset
This is an abstract class which have common code required
for RemoteAsset/RemoteBundle/RemoteOperation.
This class used to initialize the agent passed as an argument.
-
Field Summary
Fields Modifier and Type Field Description protected RemoteAgent
agent
-
Constructor Summary
Constructors Modifier Constructor Description protected
ARemoteAsset(String meta, RemoteAgent agent)
-
Method Summary
Methods inherited from class sg.dex.starfish.impl.AAsset
getAssetID, getMetadata, getMetadataString, getParamValue, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface sg.dex.starfish.Asset
getContent, getContentStream, isBundle, isDataAsset, isOperation
-
Field Details
-
Constructor Details
-
Method Details
-
getDID
Description copied from interface:Asset
Gets the DID for this asset. The DID may include a DID path to specify the precise asset if the DID refers to an agent managing the asset. Throws an exception if a DID is not available or cannot be constructed.- Specified by:
getDID
in interfaceAsset
- Overrides:
getDID
in classAAsset
- Returns:
- The global DID for this asset.
- See Also:
- W3C DID spec
-