Class 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 new DigitalAssetKey.
      DigitalAssetKey​(java.lang.String assetKey)
      Instantiates the new DigitalAssetKey.
    • 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()  
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DigitalAssetKey

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

        public DigitalAssetKey​(java.lang.String assetKey)
                        throws DAMException
        Instantiates the new DigitalAssetKey.
        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 class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object