public enum TransactionAttributeEnum extends java.lang.Enum<TransactionAttributeEnum>
<simpleType name="TransactionAttributeType"> <restriction base="{http://www.w3.org/2001/XMLSchema}NCName"> <enumeration value="NotSupported"/> <enumeration value="Supports"/> <enumeration value="Required"/> <enumeration value="RequiresNew"/> <enumeration value="Mandatory"/> <enumeration value="Never"/> </restriction> </simpleType>
Enum Constant and Description |
---|
MANDATORY |
NEVER |
NOT_SUPPORTED |
REQUIRED |
REQUIRES_NEW |
SUPPORTS |
Modifier and Type | Method and Description |
---|---|
static TransactionAttributeEnum |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static TransactionAttributeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransactionAttributeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionAttributeEnum NOT_SUPPORTED
public static final TransactionAttributeEnum SUPPORTS
public static final TransactionAttributeEnum REQUIRED
public static final TransactionAttributeEnum REQUIRES_NEW
public static final TransactionAttributeEnum MANDATORY
public static final TransactionAttributeEnum NEVER
public static TransactionAttributeEnum[] values()
for (TransactionAttributeEnum c : TransactionAttributeEnum.values()) System.out.println(c);
public static TransactionAttributeEnum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String value()
public static TransactionAttributeEnum fromValue(java.lang.String v)