@Exported public class AssetIdImpl extends Object implements AssetId, Comparable<AssetId>, Serializable
| Constructor and Description |
|---|
AssetIdImpl(String assetType,
long assetId)
Constructs a new instance with asset type name and id.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getId()
Returns asset id
|
String |
getType()
Returns asset type
|
String |
toString()
String representation of AssetId.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompareTopublic AssetIdImpl(String assetType, long assetId)
assetType - Name of the asset typeassetId - ID associated with the instance of the asset.public long getId()
public String getType()