com.endeca.itl.recordstore
Class TransactionInfo

java.lang.Object
  extended by com.endeca.itl.recordstore.TransactionInfo

public class TransactionInfo
extends Object

This class holds the transaction type and the generation information for a transaction.


Constructor Summary
TransactionInfo()
           
TransactionInfo(TransactionId transactionId, TransactionType transactionType, TransactionStatus transactionStatus, GenerationId lastCommittedGenerationId, GenerationId workingGenerationId)
           
 
Method Summary
 boolean equals(Object o)
           
 GenerationId getLastCommittedGenerationId()
           
 TransactionId getTransactionId()
           
 TransactionStatus getTransactionStatus()
           
 TransactionType getTransactionType()
           
 GenerationId getWorkingGenerationId()
           
 int hashCode()
           
 void setLastCommittedGenerationId(GenerationId value)
           
 void setTransactionId(TransactionId value)
           
 void setTransactionStatus(TransactionStatus value)
           
 void setTransactionType(TransactionType value)
           
 void setWorkingGenerationId(GenerationId value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionInfo

public TransactionInfo()

TransactionInfo

public TransactionInfo(TransactionId transactionId,
                       TransactionType transactionType,
                       TransactionStatus transactionStatus,
                       GenerationId lastCommittedGenerationId,
                       GenerationId workingGenerationId)
Method Detail

getTransactionId

public TransactionId getTransactionId()

setTransactionId

public void setTransactionId(TransactionId value)

getLastCommittedGenerationId

public GenerationId getLastCommittedGenerationId()

setLastCommittedGenerationId

public void setLastCommittedGenerationId(GenerationId value)

getWorkingGenerationId

public GenerationId getWorkingGenerationId()

setWorkingGenerationId

public void setWorkingGenerationId(GenerationId value)

getTransactionStatus

public TransactionStatus getTransactionStatus()

setTransactionStatus

public void setTransactionStatus(TransactionStatus value)

getTransactionType

public TransactionType getTransactionType()

setTransactionType

public void setTransactionType(TransactionType value)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 Endeca. All Rights Reserved.