public static enum Constants.TransactionAttribute extends Enum<Constants.TransactionAttribute>
Enum Constant and Description |
---|
MANDATORY |
NEVER |
NOT_SUPPORTED |
REQUIRED |
REQUIRES_NEW |
SUPPORTS |
UNSPECIFIED |
Modifier and Type | Method and Description |
---|---|
static Constants.TransactionAttribute |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.TransactionAttribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.TransactionAttribute UNSPECIFIED
public static final Constants.TransactionAttribute NOT_SUPPORTED
public static final Constants.TransactionAttribute SUPPORTS
public static final Constants.TransactionAttribute REQUIRED
public static final Constants.TransactionAttribute REQUIRES_NEW
public static final Constants.TransactionAttribute MANDATORY
public static final Constants.TransactionAttribute NEVER
public static Constants.TransactionAttribute[] values()
for (Constants.TransactionAttribute c : Constants.TransactionAttribute.values()) System.out.println(c);
public static Constants.TransactionAttribute 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 null