public static enum TXAttributesValidator.TransactionAttributeType extends Enum<TXAttributesValidator.TransactionAttributeType>
| Enum Constant and Description |
|---|
MANDATORY |
NEVER |
NOT_SUPPORTED |
REQUIRED |
REQUIRES_NEW |
SUPPORTS |
| Modifier and Type | Method and Description |
|---|---|
static TXAttributesValidator.TransactionAttributeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TXAttributesValidator.TransactionAttributeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TXAttributesValidator.TransactionAttributeType MANDATORY
public static final TXAttributesValidator.TransactionAttributeType REQUIRED
public static final TXAttributesValidator.TransactionAttributeType REQUIRES_NEW
public static final TXAttributesValidator.TransactionAttributeType SUPPORTS
public static final TXAttributesValidator.TransactionAttributeType NOT_SUPPORTED
public static final TXAttributesValidator.TransactionAttributeType NEVER
public static TXAttributesValidator.TransactionAttributeType[] values()
for (TXAttributesValidator.TransactionAttributeType c : TXAttributesValidator.TransactionAttributeType.values()) System.out.println(c);
public static TXAttributesValidator.TransactionAttributeType 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 nullCopyright © 2005–2018 Oracle Corporation. All rights reserved.