
public enum TransactionSupport extends Enum<TransactionSupport>
| Enum Constant and Description |
|---|
LocalTransaction
LocalTransaction
|
NotDefined
not defined
|
NoTransaction
NoTransaction
|
XATransaction
XATransaction
|
| Modifier and Type | Method and Description |
|---|---|
static TransactionSupport |
fromValue(String v)
fromValue
|
String |
value()
get value
|
static TransactionSupport |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionSupport[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionSupport NoTransaction
public static final TransactionSupport LocalTransaction
public static final TransactionSupport XATransaction
public static final TransactionSupport NotDefined
public static TransactionSupport[] values()
for (TransactionSupport c : TransactionSupport.values()) System.out.println(c);
public static TransactionSupport 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 String value()
public static TransactionSupport fromValue(String v)
v - StringCopyright © 2014 IronJacamar (http://www.ironjacamar.org)