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

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

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


Field Summary
 
Fields inherited from class org.apache.activemq.protobuf.BaseMessage
memoizedSerializedSize
 
Constructor Summary
KahaLocalTransactionId()
           
 
Method Summary
 void clear()
           
 void clearConnectionId()
           
 void clearTransacitonId()
           
 KahaLocalTransactionId clone()
           
 boolean equals(KahaLocalTransactionId obj)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getConnectionId()
           
 long getTransacitonId()
           
 boolean hasConnectionId()
           
 int hashCode()
           
 boolean hasTransacitonId()
           
 KahaLocalTransactionId mergeFrom(KahaLocalTransactionId other)
           
 KahaLocalTransactionId mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input)
           
 java.util.ArrayList<java.lang.String> missingFields()
           
static KahaLocalTransactionId parseFramed(org.apache.activemq.protobuf.Buffer data)
           
static KahaLocalTransactionId parseFramed(byte[] data)
           
static KahaLocalTransactionId parseFramed(org.apache.activemq.protobuf.CodedInputStream data)
           
static KahaLocalTransactionId parseFramed(java.io.InputStream data)
           
static KahaLocalTransactionId parseUnframed(org.apache.activemq.protobuf.Buffer data)
           
static KahaLocalTransactionId parseUnframed(byte[] data)
           
static KahaLocalTransactionId parseUnframed(org.apache.activemq.protobuf.CodedInputStream data)
           
static KahaLocalTransactionId parseUnframed(java.io.InputStream data)
           
 int serializedSizeUnframed()
           
 T setConnectionId(java.lang.String connectionId)
           
 T setTransacitonId(long transacitonId)
           
 java.lang.String toString()
           
 java.lang.StringBuilder toString(java.lang.StringBuilder sb, java.lang.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

KahaLocalTransactionId

public KahaLocalTransactionId()
Method Detail

missingFields

public java.util.ArrayList<java.lang.String> missingFields()
Overrides:
missingFields in class org.apache.activemq.protobuf.BaseMessage<KahaLocalTransactionId>

clear

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

clone

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

mergeFrom

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

serializedSizeUnframed

public int serializedSizeUnframed()

mergeUnframed

public KahaLocalTransactionId mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input)
                                     throws java.io.IOException
Throws:
java.io.IOException

writeUnframed

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

parseUnframed

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

parseUnframed

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

parseUnframed

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

parseUnframed

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

parseFramed

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

parseFramed

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

parseFramed

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

parseFramed

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

toString

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

toString

public java.lang.StringBuilder toString(java.lang.StringBuilder sb,
                                        java.lang.String prefix)

equals

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

equals

public boolean equals(KahaLocalTransactionId obj)

hashCode

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

hasConnectionId

public boolean hasConnectionId()

getConnectionId

public java.lang.String getConnectionId()

setConnectionId

public T setConnectionId(java.lang.String connectionId)

clearConnectionId

public void clearConnectionId()

hasTransacitonId

public boolean hasTransacitonId()

getTransacitonId

public long getTransacitonId()

setTransacitonId

public T setTransacitonId(long transacitonId)

clearTransacitonId

public void clearTransacitonId()


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