public static enum Transactional.TxType extends Enum<Transactional.TxType>
Enum Constant and Description |
---|
MANDATORY |
NEVER |
NOT_SUPPORTED |
REQUIRED |
REQUIRES_NEW |
SUPPORTS |
Modifier and Type | Method and Description |
---|---|
static Transactional.TxType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transactional.TxType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transactional.TxType REQUIRED
public static final Transactional.TxType REQUIRES_NEW
public static final Transactional.TxType MANDATORY
public static final Transactional.TxType SUPPORTS
public static final Transactional.TxType NOT_SUPPORTED
public static final Transactional.TxType NEVER
public static Transactional.TxType[] values()
for (Transactional.TxType c : Transactional.TxType.values()) System.out.println(c);
public static Transactional.TxType 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 © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.