|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.isam.exehda.HierarchicalId | +--org.isam.exehda.CellId
System-wide unique cell identifier. All cell identifiers are root ID's, so unicity depends on the local id. Thus, the cell name assigment policy must guarantee that assigned names for each cell in the system are unique. A sugested scheme that would satisfy such condition is to derive the cell name from the organization's Internet domain name.
Constructor Summary | |
(package private) |
CellId(java.lang.String cellName)
Creates a new CellId instance. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Implements HierarchicalId equality semantics. |
protected java.lang.Object |
getLocalId()
Returns the local id, which in the case of this class corresponds to the cell's name. |
java.lang.String |
getName()
Returns the cell's name. |
protected java.lang.String |
getType()
Returns a String representation of the CellId type (actually, the
value "cell"). |
int |
hashCode()
Implements the hash code semantics for HierarchicalId objects so
that those object would be used as keys in a java.util Hashtable .
|
Methods inherited from class org.isam.exehda.HierarchicalId |
getParentId, isRoot, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
CellId(java.lang.String cellName)
CellId
instance.
cellName
- the name of the cell whose id is being created.Method Detail |
public boolean equals(java.lang.Object o)
HierarchicalId
equals
in class HierarchicalId
o
- an Object
value
public int hashCode()
HierarchicalId
HierarchicalId
objects so
that those object would be used as keys in a java.util Hashtable
.
This is a reference implementation. Subclasses are highly encouraged to
overwrite this method with faster (optimized) implementations.
hashCode
in class HierarchicalId
public java.lang.String getName()
protected final java.lang.String getType()
CellId
type (actually, the
value "cell").
getType
in class HierarchicalId
protected final java.lang.Object getLocalId()
getLocalId
in class HierarchicalId
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |