org.apache.activemq.store.kahadb.data
Class KahaXATransactionId

java.lang.Object
  extended by org.apache.activemq.protobuf.BaseMessage<T>
      extended by org.apache.activemq.store.kahadb.data.KahaXATransactionId
All Implemented Interfaces:
org.apache.activemq.protobuf.Message<KahaXATransactionId>

public final class KahaXATransactionId
extends org.apache.activemq.protobuf.BaseMessage<T>


Field Summary
 
Fields inherited from class org.apache.activemq.protobuf.BaseMessage
memoizedSerializedSize
 
Constructor Summary
KahaXATransactionId()
           
 
Method Summary
 void clear()
           
 void clearBranchQualifier()
           
 void clearFormatId()
           
 void clearGlobalTransactionId()
           
 KahaXATransactionId clone()
           
 boolean equals(KahaXATransactionId obj)
           
 boolean equals(Object obj)
           
 org.apache.activemq.protobuf.Buffer getBranchQualifier()
           
 int getFormatId()
           
 org.apache.activemq.protobuf.Buffer getGlobalTransactionId()
           
 boolean hasBranchQualifier()
           
 boolean hasFormatId()
           
 boolean hasGlobalTransactionId()
           
 int hashCode()
           
 KahaXATransactionId mergeFrom(KahaXATransactionId other)
           
 KahaXATransactionId mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input)
           
 ArrayList<String> missingFields()
           
static KahaXATransactionId parseFramed(org.apache.activemq.protobuf.Buffer data)
           
static KahaXATransactionId parseFramed(byte[] data)
           
static KahaXATransactionId parseFramed(org.apache.activemq.protobuf.CodedInputStream data)
           
static KahaXATransactionId parseFramed(InputStream data)
           
static KahaXATransactionId parseUnframed(org.apache.activemq.protobuf.Buffer data)
           
static KahaXATransactionId parseUnframed(byte[] data)
           
static KahaXATransactionId parseUnframed(org.apache.activemq.protobuf.CodedInputStream data)
           
static KahaXATransactionId parseUnframed(InputStream data)
           
 int serializedSizeUnframed()
           
 T setBranchQualifier(org.apache.activemq.protobuf.Buffer branchQualifier)
           
 T setFormatId(int formatId)
           
 T setGlobalTransactionId(org.apache.activemq.protobuf.Buffer globalTransactionId)
           
 String toString()
           
 StringBuilder toString(StringBuilder sb, String prefix)
           
 void writeUnframed(org.apache.activemq.protobuf.CodedOutputStream output)
           
 
Methods inherited from class org.apache.activemq.protobuf.BaseMessage
addAll, assertInitialized, checktInitialized, computeGroupSize, computeMessageSize, isInitialized, load, loadAndClear, mergeFramed, mergeFramed, mergeFramed, mergeFramed, mergeUnframed, mergeUnframed, mergeUnframed, prefix, readGroup, readRawByte, readRawVarint32, serializedSizeFramed, toFramedBuffer, toFramedByteArray, toUnframedBuffer, toUnframedByteArray, writeFramed, writeFramed, writeGroup, writeMessage, writeUnframed
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KahaXATransactionId

public KahaXATransactionId()
Method Detail

missingFields

public ArrayList<String> missingFields()
Overrides:
missingFields in class org.apache.activemq.protobuf.BaseMessage<KahaXATransactionId>

clear

public void clear()
Specified by:
clear in interface org.apache.activemq.protobuf.Message<KahaXATransactionId>
Overrides:
clear in class org.apache.activemq.protobuf.BaseMessage<KahaXATransactionId>

clone

public KahaXATransactionId clone()
Specified by:
clone in interface org.apache.activemq.protobuf.Message<KahaXATransactionId>
Specified by:
clone in class org.apache.activemq.protobuf.BaseMessage<KahaXATransactionId>

mergeFrom

public KahaXATransactionId mergeFrom(KahaXATransactionId other)
Specified by:
mergeFrom in interface org.apache.activemq.protobuf.Message<KahaXATransactionId>
Overrides:
mergeFrom in class org.apache.activemq.protobuf.BaseMessage<KahaXATransactionId>

serializedSizeUnframed

public int serializedSizeUnframed()

mergeUnframed

public KahaXATransactionId mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input)
                                  throws IOException
Throws:
IOException

writeUnframed

public void writeUnframed(org.apache.activemq.protobuf.CodedOutputStream output)
                   throws IOException
Specified by:
writeUnframed in interface org.apache.activemq.protobuf.Message<KahaXATransactionId>
Overrides:
writeUnframed in class org.apache.activemq.protobuf.BaseMessage<KahaXATransactionId>
Throws:
IOException

parseUnframed

public static KahaXATransactionId parseUnframed(org.apache.activemq.protobuf.CodedInputStream data)
                                         throws org.apache.activemq.protobuf.InvalidProtocolBufferException,
                                                IOException
Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException

parseUnframed

public static KahaXATransactionId parseUnframed(org.apache.activemq.protobuf.Buffer data)
                                         throws org.apache.activemq.protobuf.InvalidProtocolBufferException
Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException

parseUnframed

public static KahaXATransactionId parseUnframed(byte[] data)
                                         throws org.apache.activemq.protobuf.InvalidProtocolBufferException
Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException

parseUnframed

public static KahaXATransactionId parseUnframed(InputStream data)
                                         throws org.apache.activemq.protobuf.InvalidProtocolBufferException,
                                                IOException
Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException

parseFramed

public static KahaXATransactionId parseFramed(org.apache.activemq.protobuf.CodedInputStream data)
                                       throws org.apache.activemq.protobuf.InvalidProtocolBufferException,
                                              IOException
Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException

parseFramed

public static KahaXATransactionId parseFramed(org.apache.activemq.protobuf.Buffer data)
                                       throws org.apache.activemq.protobuf.InvalidProtocolBufferException
Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException

parseFramed

public static KahaXATransactionId parseFramed(byte[] data)
                                       throws org.apache.activemq.protobuf.InvalidProtocolBufferException
Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException

parseFramed

public static KahaXATransactionId parseFramed(InputStream data)
                                       throws org.apache.activemq.protobuf.InvalidProtocolBufferException,
                                              IOException
Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException

toString

public String toString()
Overrides:
toString in class Object

toString

public StringBuilder toString(StringBuilder sb,
                              String prefix)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

equals

public boolean equals(KahaXATransactionId obj)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

hasFormatId

public boolean hasFormatId()

getFormatId

public int getFormatId()

setFormatId

public T setFormatId(int formatId)

clearFormatId

public void clearFormatId()

hasBranchQualifier

public boolean hasBranchQualifier()

getBranchQualifier

public org.apache.activemq.protobuf.Buffer getBranchQualifier()

setBranchQualifier

public T setBranchQualifier(org.apache.activemq.protobuf.Buffer branchQualifier)

clearBranchQualifier

public void clearBranchQualifier()

hasGlobalTransactionId

public boolean hasGlobalTransactionId()

getGlobalTransactionId

public org.apache.activemq.protobuf.Buffer getGlobalTransactionId()

setGlobalTransactionId

public T setGlobalTransactionId(org.apache.activemq.protobuf.Buffer globalTransactionId)

clearGlobalTransactionId

public void clearGlobalTransactionId()


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.