com.metamatrix.common.xa
Class MMXid

java.lang.Object
  extended by com.metamatrix.common.xa.MMXid
All Implemented Interfaces:
java.io.Serializable, javax.transaction.xa.Xid

public class MMXid
extends java.lang.Object
implements javax.transaction.xa.Xid, java.io.Serializable

MetaMatrix implementation of Xid.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface javax.transaction.xa.Xid
MAXBQUALSIZE, MAXGTRIDSIZE
 
Constructor Summary
MMXid(int formatID, byte[] globalTransactionId, byte[] branchQualifier)
           
MMXid(javax.transaction.xa.Xid xid)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 byte[] getBranchQualifier()
           
 int getFormatId()
           
 byte[] getGlobalTransactionId()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MMXid

public MMXid(javax.transaction.xa.Xid xid)

MMXid

public MMXid(int formatID,
             byte[] globalTransactionId,
             byte[] branchQualifier)
Method Detail

getFormatId

public int getFormatId()
Specified by:
getFormatId in interface javax.transaction.xa.Xid
See Also:
Xid.getFormatId()

getGlobalTransactionId

public byte[] getGlobalTransactionId()
Specified by:
getGlobalTransactionId in interface javax.transaction.xa.Xid
See Also:
Xid.getGlobalTransactionId()

getBranchQualifier

public byte[] getBranchQualifier()
Specified by:
getBranchQualifier in interface javax.transaction.xa.Xid
See Also:
Xid.getBranchQualifier()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()


Copyright © 2009. All Rights Reserved.