org.apache.qpid.transport
Enum DtxXaStatus

java.lang.Object
  extended by java.lang.Enum<DtxXaStatus>
      extended by org.apache.qpid.transport.DtxXaStatus
All Implemented Interfaces:
Serializable, Comparable<DtxXaStatus>

public enum DtxXaStatus
extends Enum<DtxXaStatus>


Enum Constant Summary
XA_HEURCOM
           
XA_HEURHAZ
           
XA_HEURMIX
           
XA_HEURRB
           
XA_OK
           
XA_RBROLLBACK
           
XA_RBTIMEOUT
           
XA_RDONLY
           
 
Method Summary
static DtxXaStatus get(int value)
           
 int getValue()
           
static DtxXaStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DtxXaStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

XA_OK

public static final DtxXaStatus XA_OK

XA_RBROLLBACK

public static final DtxXaStatus XA_RBROLLBACK

XA_RBTIMEOUT

public static final DtxXaStatus XA_RBTIMEOUT

XA_HEURHAZ

public static final DtxXaStatus XA_HEURHAZ

XA_HEURCOM

public static final DtxXaStatus XA_HEURCOM

XA_HEURRB

public static final DtxXaStatus XA_HEURRB

XA_HEURMIX

public static final DtxXaStatus XA_HEURMIX

XA_RDONLY

public static final DtxXaStatus XA_RDONLY
Method Detail

values

public static DtxXaStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (DtxXaStatus c : DtxXaStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DtxXaStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getValue

public int getValue()

get

public static DtxXaStatus get(int value)


Licensed to the Apache Software Foundation