Class Identifier

    • Constructor Summary

      Constructors 
      Constructor Description
      Identifier()
      Constructor for Identifier.
      Identifier​(java.lang.String id)
      Constructor for Identifier with specified id.
    • Method Summary

      Modifier and Type Method Description
      int compareTo​(UntypedData datatype)
      boolean equals​(java.lang.Object obj)
      java.lang.String getID()
      Getter for the id.
      int hashCode()  
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Identifier

        public Identifier()
        Constructor for Identifier. Set the id to "Unkown_ID".
      • Identifier

        public Identifier​(java.lang.String id)
        Constructor for Identifier with specified id.
        Parameters:
        id - the id to set.
    • Method Detail

      • getID

        public final java.lang.String getID()
        Getter for the id.
        Returns:
        the id.
      • equals

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