Class DigitalAssetKey

java.lang.Object
com.orchestranetworks.addon.dama.ext.bean.DigitalAssetKey

public final class DigitalAssetKey extends Object
Defines the digital asset's key.
Since:
1.6.0
  • Constructor Details

    • DigitalAssetKey

      public DigitalAssetKey(com.onwbp.adaptation.PrimaryKey assetKey)
      Instantiates the new DigitalAssetKey.
      Parameters:
      assetKey - the digital asset's primary key
    • DigitalAssetKey

      public DigitalAssetKey(String assetKey) throws DAMException
      Instantiates the new DigitalAssetKey.
      Parameters:
      assetKey - the asset key
      Throws:
      DAMException
  • Method Details

    • getAssetID

      public 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 class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object