Class Identifier
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.Identifier
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UntypedData>
public class Identifier extends UntypedData
Unique identifier, which is ensures to be global uniqueness defined at ISO/IEC 11578:1996.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
UNKNOWN_ID
-
Fields inherited from class de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData
ALL_RIGHTS_RESERVED, EMPTY, string
-
-
Constructor Summary
Constructors Constructor Description Identifier()
Constructor for Identifier.Identifier(java.lang.String id)
Constructor for Identifier with specified id.
-
Method Summary
-
Methods inherited from class de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData
getString, setString, toHTML
-
-
-
-
Field Detail
-
UNKNOWN_ID
public static final java.lang.String UNKNOWN_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
compareTo
public int compareTo(UntypedData datatype)
- Specified by:
compareTo
in interfacejava.lang.Comparable<UntypedData>
- Overrides:
compareTo
in classUntypedData
-
getID
public final java.lang.String getID()
Getter for the id.- Returns:
- the id.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classUntypedData
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classUntypedData
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classUntypedData
-
-