Class DigitalAssetKey
- java.lang.Object
-
- com.orchestranetworks.addon.dama.ext.bean.DigitalAssetKey
-
public final class DigitalAssetKey extends java.lang.ObjectDefines the digital asset's key.- Since:
- 1.6.0
-
-
Constructor Summary
Constructors Constructor Description DigitalAssetKey(com.onwbp.adaptation.PrimaryKey assetKey)Instantiates the newDigitalAssetKey.DigitalAssetKey(java.lang.String assetKey)Instantiates the newDigitalAssetKey.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAssetID()Returns the digital asset's id.com.onwbp.adaptation.PrimaryKeygetPrimaryKey()Returns the digital asset's primary key.inthashCode()
-
-
-
Constructor Detail
-
DigitalAssetKey
public DigitalAssetKey(com.onwbp.adaptation.PrimaryKey assetKey)
Instantiates the newDigitalAssetKey.- Parameters:
assetKey- the digital asset's primary key
-
DigitalAssetKey
public DigitalAssetKey(java.lang.String assetKey) throws DAMExceptionInstantiates the newDigitalAssetKey.- Parameters:
assetKey- the asset key- Throws:
DAMException
-
-
Method Detail
-
getAssetID
public java.lang.String getAssetID()
Returns the digital asset's id.
-
getPrimaryKey
public com.onwbp.adaptation.PrimaryKey getPrimaryKey()
Returns the digital asset's primary key.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-