public class ProvidedObjectIDImpl extends java.lang.Object implements ProvidedObjectID
Constructor and Description |
---|
ProvidedObjectIDImpl() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ProMID o) |
boolean |
equals(java.lang.Object o)
ProMID are used in Collections, so this method has to be implemented in
all its subclasses.
|
boolean |
equalsIgnoreType(java.lang.Object o)
Determines equality between this ProMID and any given object.
|
java.util.UUID |
getUUID()
Returns a UUID that is used for this object.
|
int |
hashCode()
ProMID are used in HashMaps, so this method has to be implemented in all
its subclasses.
|
java.lang.String |
toString() |
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
ProMID
public boolean equals(java.lang.Object o)
ProMID
public boolean equalsIgnoreType(java.lang.Object o)
ProMID
equalsIgnoreType
in interface ProMID
o
- the object to compare the string representation withpublic int compareTo(ProMID o)
compareTo
in interface java.lang.Comparable<ProMID>