public static enum Transaction.State extends Enum<Transaction.State>
Enum Constant and Description |
---|
COMMITED |
DIRTY |
NEW |
ROLLED_BACK |
Modifier and Type | Method and Description |
---|---|
static Transaction.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transaction.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transaction.State DIRTY
public static final Transaction.State NEW
public static final Transaction.State COMMITED
public static final Transaction.State ROLLED_BACK
public static Transaction.State[] values()
for (Transaction.State c : Transaction.State.values()) System.out.println(c);
public static Transaction.State 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 © 2013–2015 DuraSpace, Inc.. All rights reserved.