java.io.Serializable
, java.lang.Comparable<Constants.TransactionAttribute>
public static enum Constants.TransactionAttribute extends java.lang.Enum<Constants.TransactionAttribute>
Enum Constant | Description |
---|---|
MANDATORY |
|
NEVER |
|
NOT_SUPPORTED |
|
REQUIRED |
|
REQUIRES_NEW |
|
SUPPORTS |
|
UNSPECIFIED |
Modifier and Type | Method | Description |
---|---|---|
static Constants.TransactionAttribute |
valueOf(java.lang.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(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 null