public final class DomainID extends AbstractID
A Class whose instances represent a unique identifier for a JCSP.NET domain.
See AbstractID for a further explanation of domains and the use of this class.
Type | Name and description |
---|---|
int |
compareTo(Object o) |
boolean |
equals(Object o) This compares an object with this object. |
String |
getDomainName() |
AbstractID |
getParentID() |
int |
hashCode() |
String |
toString() |
Methods inherited from class | Name |
---|---|
class AbstractID |
getParentID |
Public constructor for a DomainID
which takes
the name of the domain as a parameter.
name
- The name of the domain.
Compares this object with another object and returns whether the supplied object is equals, smaller or larger.
o
- The object to compare with this object.This compares an object with this object.
true
iff the supplied object is a non-null DomainID
which represents the same Domain.o
- an object to compare with this object.
Public accessor for the Domain name.
Returns "" if this represents the Null Domain.
String
.
Returns the identifier representing this domain's parent domain.
At present this always returns the global domain's ID.
AbstractID
.
Returns an int
hash code for the current object.
This obeys the standard hash code rules.
int
hash code.
Returns a human readable String
showing this domain
name and any parent domains.
String
.JCSP for Java 1.8 generated 14-10-2016 by Jon Kerridge, Edinburgh Napier University - j dot kerridge at napier dot ac dot uk