public class Identifier extends UntypedData
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
UNKNOWN_ID |
ALL_RIGHTS_RESERVED, EMPTY, string| Constructor and Description |
|---|
Identifier()
Constructor for Identifier.
|
Identifier(java.lang.String id)
Constructor for Identifier with specified id.
|
| Modifier and Type | Method and 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() |
getString, setString, toHTMLpublic static final java.lang.String UNKNOWN_ID
public Identifier()
public Identifier(java.lang.String id)
id - the id to set.public int compareTo(UntypedData datatype)
compareTo in interface java.lang.Comparable<UntypedData>compareTo in class UntypedDatapublic final java.lang.String getID()
public java.lang.String toString()
toString in class UntypedDatapublic boolean equals(java.lang.Object obj)
equals in class UntypedDatapublic int hashCode()
hashCode in class UntypedData