public static enum Crud.EditMode extends Enum<Crud.EditMode>
Crud.edit(Object, EditMode)
Enum Constant and Description |
---|
EXISTING_ITEM
The item presented for editing should be treated as an existing item.
|
NEW_ITEM
The item presented for editing should be treated as a new item.
|
Modifier and Type | Method and Description |
---|---|
static Crud.EditMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Crud.EditMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Crud.EditMode NEW_ITEM
public static final Crud.EditMode EXISTING_ITEM
public static Crud.EditMode[] values()
for (Crud.EditMode c : Crud.EditMode.values()) System.out.println(c);
public static Crud.EditMode 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 © 2020. All rights reserved.