|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.core.id.LongID
com.metamatrix.common.id.TransactionID
public class TransactionID
Field Summary | |
---|---|
protected static java.lang.String |
PROTOCOL
|
Fields inherited from interface com.metamatrix.core.id.ObjectID |
---|
DELIMITER |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object obj)
Compares this object to another. |
boolean |
equals(java.lang.Object obj)
Returns true if the specified object is semantically equal to this instance. |
java.lang.String |
getProtocol()
Return the name of the protocol that this factory uses. |
java.lang.String |
toString()
Returns a string representing the current state of the object. |
Methods inherited from class com.metamatrix.core.id.LongID |
---|
getValue, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String PROTOCOL
Method Detail |
---|
public boolean equals(java.lang.Object obj)
compareTo()
.
equals
in class LongID
obj
- the object that this instance is to be compared to.
public int compareTo(java.lang.Object obj)
equals()
, meaning
that (compare(x, y)==0) == (x.equals(y))
.
compareTo
in interface ObjectID
compareTo
in interface java.lang.Comparable
compareTo
in class LongID
obj
- the object that this instance is to be compared to; may not be null.
java.lang.ClassCastException
- if the specified object's type prevents it
from being compared to this instance.public java.lang.String toString()
toString
in interface ObjectID
toString
in class LongID
public java.lang.String getProtocol()
getProtocol
in interface ObjectID
getProtocol
in class LongID
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |