public static enum KittyMapper.TRANSACTION_MODES extends java.lang.Enum<KittyMapper.TRANSACTION_MODES>
Enum Constant and Description |
---|
EXCLUSIVE_MODE
Default transaction mode, starts transaction in EXCLUSIVE MODE
|
LOCKING_FALSE_MODE
Transaction mode, sets locking disabled, deprecated in api level 16
|
NON_EXCLUSIVE_MODE
Transaction mode, starts transaction in IMMEDIATE mode, api level 11 and higher
|
Modifier and Type | Method and Description |
---|---|
static KittyMapper.TRANSACTION_MODES |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KittyMapper.TRANSACTION_MODES[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KittyMapper.TRANSACTION_MODES EXCLUSIVE_MODE
public static final KittyMapper.TRANSACTION_MODES NON_EXCLUSIVE_MODE
public static final KittyMapper.TRANSACTION_MODES LOCKING_FALSE_MODE
public static KittyMapper.TRANSACTION_MODES[] values()
for (KittyMapper.TRANSACTION_MODES c : KittyMapper.TRANSACTION_MODES.values()) System.out.println(c);
public static KittyMapper.TRANSACTION_MODES 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