DbStorage
Class PhysicalID
java.lang.Object
storage.UnitAddress
DbStorage.DbUnitAddress
DbStorage.PhysicalID
- All Implemented Interfaces:
- ssdbms.ssd.ID
- public class PhysicalID
- extends DbUnitAddress
- implements ssdbms.ssd.ID
This class represents an identifier for semistructured data,
this identifier is actually a DbUnitAddress
.
Field Summary |
static PhysicalID |
NULL
Represents a NULL (invalid) PhsicalID |
Method Summary |
int |
compareTo(PhysicalID id)
Compares two physical identifiers in a partial order. |
boolean |
equals(ssdbms.ssd.ID id)
Checks if this physical identifier is equals to other one. |
boolean |
isNID()
Checks if this identifier is a Not valid Identifier. |
java.lang.String |
toString()
Returns the string representation of the ID. |
Methods inherited from class storage.UnitAddress |
equals |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NULL
public static final PhysicalID NULL
- Represents a NULL (invalid) PhsicalID
PhysicalID
public PhysicalID()
equals
public boolean equals(ssdbms.ssd.ID id)
- Checks if this physical identifier is equals to other one.
- Specified by:
equals
in interface ssdbms.ssd.ID
- Parameters:
id
- The physical identifier to compare.
- Returns:
true
if id
represents the same identifier that this one,
false
otherwise.
isNID
public boolean isNID()
- Checks if this identifier is a Not valid Identifier.
- Specified by:
isNID
in interface ssdbms.ssd.ID
- Returns:
true
If this identifier is invalid, false
otherwise.
compareTo
public int compareTo(PhysicalID id)
- Compares two physical identifiers in a partial order.
- Parameters:
id
- The physical identifier to compare.
- Returns:
1
if this one if greater, 0
if is equal
or 1-
if is less.
toString
public java.lang.String toString()
- Returns the string representation of the ID.
- Specified by:
toString
in interface ssdbms.ssd.ID