public enum CrudOperation extends Enum<CrudOperation>
Modifier and Type | Method and Description |
---|---|
static CrudOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CrudOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CrudOperation CREATE
public static final CrudOperation RETRIEVE
public static final CrudOperation UPDATE
public static final CrudOperation DELETE
public static CrudOperation[] values()
for (CrudOperation c : CrudOperation.values()) System.out.println(c);
public static CrudOperation 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 © 2017. All rights reserved.