public static enum Transactional.Action extends Enum<Transactional.Action>
Enum Constant and Description |
---|
CREATE
The item is a new item and is beeing saved to the database for the first time.
|
DELETE
The item is an existing item which is beeing deleted.
|
UPDATE
The item is an existing item which is beeing updated.
|
Modifier and Type | Method and Description |
---|---|
static Transactional.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transactional.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transactional.Action CREATE
public static final Transactional.Action UPDATE
public static final Transactional.Action DELETE
public static Transactional.Action[] values()
for (Transactional.Action c : Transactional.Action.values()) System.out.println(c);
public static Transactional.Action 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 null