|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.openmarket.xcelerate.asset.AssetIdImpl
public final class AssetIdImpl
This class identifies an instance of the asset uniquely in the system. This is combination of asset type and asset id.
Constructor Summary | |
---|---|
AssetIdImpl(java.lang.String assetType,
long assetId)
Constructs a new instance with asset type name and id. |
Method Summary | |
---|---|
long |
getId()
Returns asset id |
java.lang.String |
getType()
Returns asset type |
java.lang.String |
toString()
String representation of AssetId. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Constructor Detail |
---|
public AssetIdImpl(java.lang.String assetType, long assetId)
assetType
- Name of the asset typeassetId
- ID associated with the instance of the asset.Method Detail |
---|
public long getId()
getId
in interface AssetId
public java.lang.String getType()
getType
in interface AssetId
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |