public class GlobalTID extends Object
Constructor and Description |
---|
GlobalTID(org.omg.CosTransactions.otid_t otherTID)
Creates a new global identifier which is a copy of the parameter.
|
GlobalTID(String stid) |
GlobalTID(Xid xid)
Creates a new global identifier object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(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) |
String |
toString()
Converts the global identifier to a string.
|
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(String stid)
public final boolean equals(Object other)
public final boolean isSameTID(org.omg.CosTransactions.otid_t otherTID)
public final int hashCode()
Copyright © 2020. All rights reserved.