Class DigitalAssetKey
- java.lang.Object
-
- com.orchestranetworks.addon.dama.ext.bean.DigitalAssetKey
-
public final class DigitalAssetKey extends java.lang.Object
Defines 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 boolean
equals(java.lang.Object obj)
java.lang.String
getAssetID()
Returns the digital asset's id.com.onwbp.adaptation.PrimaryKey
getPrimaryKey()
Returns the digital asset's primary key.int
hashCode()
-
-
-
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 DAMException
Instantiates 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:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-