public enum DtxXaStatus extends Enum<DtxXaStatus>
Enum Constant and Description |
---|
XA_HEURCOM |
XA_HEURHAZ |
XA_HEURMIX |
XA_HEURRB |
XA_OK |
XA_RBROLLBACK |
XA_RBTIMEOUT |
XA_RDONLY |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final DtxXaStatus XA_OK
public static final DtxXaStatus XA_RBROLLBACK
public static final DtxXaStatus XA_RBTIMEOUT
public static final DtxXaStatus XA_HEURHAZ
public static final DtxXaStatus XA_HEURCOM
public static final DtxXaStatus XA_HEURRB
public static final DtxXaStatus XA_HEURMIX
public static final DtxXaStatus XA_RDONLY
public static DtxXaStatus[] values()
for (DtxXaStatus c : DtxXaStatus.values()) System.out.println(c);
public static DtxXaStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public static DtxXaStatus get(int value)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.