Class MetaData.Datum

  • Enclosing class:
    MetaData

    public static final class MetaData.Datum
    extends java.lang.Object
    A datum.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String name  
      private java.lang.String value  
    • Constructor Summary

      Constructors 
      Constructor Description
      Datum​(java.lang.String name, java.lang.String value)
      Constructs a datum.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Gets the name of the data type.
      java.lang.String getValue()
      Data type value.
      java.lang.String toString()
      Constructs a String with all attributes in name = value format.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • name

        private final java.lang.String name
      • value

        private final java.lang.String value
    • Constructor Detail

      • Datum

        public Datum​(java.lang.String name,
                     java.lang.String value)
        Constructs a datum.
        Parameters:
        name - not null
        value - not null
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the name of the data type. To avoid collisions, it is recommended that URLs are used.
        Returns:
        not null
      • getValue

        public java.lang.String getValue()
        Data type value.
        Returns:
        not null
      • toString

        public java.lang.String toString()
        Constructs a String with all attributes in name = value format.
        Overrides:
        toString in class java.lang.Object
        Returns:
        a String representation of this object.