Class MetaData


  • public final class MetaData
    extends java.lang.Object
    Defines the digital asset's metadata.
    Since:
    1.6.0
    • Constructor Summary

      Constructors 
      Constructor Description
      MetaData()
      Instantiates the new MetaData.
      MetaData​(java.lang.String code, java.lang.String value)
      Instantiates the new MetaData.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCode()
      Returns the metadata code.
      java.lang.String getValue()
      Returns the metadata's value.
      void setCode​(java.lang.String code)
      Specifies the metadata code.
      void setValue​(java.lang.String value)
      Specifies the metadata's value.
      • Methods inherited from class java.lang.Object

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

      • MetaData

        public MetaData​(java.lang.String code,
                        java.lang.String value)
        Instantiates the new MetaData.
        Parameters:
        code - the code
        value - the value
      • MetaData

        public MetaData()
        Instantiates the new MetaData.
    • Method Detail

      • setCode

        public void setCode​(java.lang.String code)
        Specifies the metadata code.
      • setValue

        public void setValue​(java.lang.String value)
        Specifies the metadata's value.
      • getCode

        public java.lang.String getCode()
        Returns the metadata code.
      • getValue

        public java.lang.String getValue()
        Returns the metadata's value.