public final class GlobalID extends AbstractID
A Class whose instances represent the global domain. There is only ever a need to have one instance of this class per JVM so a static instance is supplied.
The GlobalID
object is the parent
AbstractID
to all top level DomainID
objects.
See AbstractID
for a fully explanation of
this class.
Type | Name and description |
---|---|
boolean |
equals(Object o) |
AbstractID |
getParentID() |
int |
hashCode() |
String |
toString() |
Methods inherited from class | Name |
---|---|
class AbstractID |
getParentID |
A static instance of GlobalID
.
Instead of creating GlobalID
objects, it
is better to use this instance as only once instance is
ever required.
Compares another object with this GlobalID
object.
true
iff the other object is a GlobalID
.o
- an object to compare with object.
Returns null
as there is no parent
AbstractID
of instances of this class.
null
.
Returns an int
hash code for this object.
int
hash code.
Returns a human readable string representation of a
GlobalID
.
String
- currently "Global".