|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jts.CosTransactions.GlobalTID
public class GlobalTID
This class provides a wrapper for the otid_t class in the org.omg.CosTSInteroperation package to allow us to add operations.
| Constructor Summary | |
|---|---|
GlobalTID(org.omg.CosTransactions.otid_t otherTID)
Creates a new global identifier which is a copy of the parameter. |
|
GlobalTID(java.lang.String stid)
|
|
GlobalTID(Xid xid)
Creates a new global identifier object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
Compares the two global identifiers. |
int |
hashCode()
Returns a hash value for the global identifier. |
boolean |
isSameTID(org.omg.CosTransactions.otid_t otherTID)
|
java.lang.String |
toString()
Converts the global identifier to a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GlobalTID(org.omg.CosTransactions.otid_t otherTID)
otherTID - The other global identifier.public GlobalTID(Xid xid)
xid - The Xid object containing transaction id.public GlobalTID(java.lang.String stid)
| Method Detail |
|---|
public final boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - The other global identifier to compare.
public final boolean isSameTID(org.omg.CosTransactions.otid_t otherTID)
public final int hashCode()
hashCode in class java.lang.Object -
public final 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 | |||||||||