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