|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.common.xa.TransactionID
public class TransactionID
Constructor Summary | |
---|---|
TransactionID(java.lang.String id)
Create a new instance of TranscationID |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Returns true if this object is equal to the other object. |
java.lang.String |
getID()
Returns the ID value. |
int |
hashCode()
Get hash code for object |
java.lang.String |
toString()
Returns a string representation of an instance of this class. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TransactionID(java.lang.String id)
id
- uniqueIDMethod Detail |
---|
public java.lang.String getID()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
true
if this object is equal to the other object.
Equality is based on the ID value.
equals
in class java.lang.Object
obj
- Object to compare with
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |