org.objectweb.transaction.lib.transaction
Class TransactionStatusPreparing

java.lang.Object
  |
  +--org.objectweb.transaction.lib.transaction.TransactionStatusPreparing
All Implemented Interfaces:
Event, TransactionStatus

public class TransactionStatusPreparing
extends java.lang.Object
implements TransactionStatus

TransactionStatus during the first step of the validation process.

Version:
0.1
Author:
Romain Rouvoy

Field Summary
static TransactionStatus status
          Object value for the status Preparing.
static int value
          Int value for the status Preparing.
 
Fields inherited from interface org.objectweb.transaction.api.transaction.TransactionStatus
TRANSACTION_STATUS
 
Constructor Summary
TransactionStatusPreparing()
           
 
Method Summary
 int getValue()
          Provides the int value associated to this event.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

public static final int value
Int value for the status Preparing.


status

public static final TransactionStatus status
Object value for the status Preparing.

Constructor Detail

TransactionStatusPreparing

public TransactionStatusPreparing()
Method Detail

getValue

public int getValue()
Description copied from interface: Event
Provides the int value associated to this event.

Specified by:
getValue in interface Event
Returns:
the internal value.

toString

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