public enum OperationEnum extends Enum<OperationEnum>
Java class for OperationEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="OperationEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="create"/> <enumeration value="update"/> <enumeration value="revert"/> <enumeration value="delete"/> <enumeration value="void"/> <enumeration value="send"/> </restriction> </simpleType>
Enum Constant and Description |
---|
CREATE |
DELETE |
REVERT |
SEND |
UPDATE |
VOID |
Modifier and Type | Method and Description |
---|---|
static OperationEnum |
fromValue(String v) |
String |
value() |
static OperationEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationEnum CREATE
public static final OperationEnum UPDATE
public static final OperationEnum REVERT
public static final OperationEnum DELETE
public static final OperationEnum VOID
public static final OperationEnum SEND
public static OperationEnum[] values()
for (OperationEnum c : OperationEnum.values()) System.out.println(c);
public static OperationEnum 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 String value()
public static OperationEnum fromValue(String v)
Copyright © 2017. All rights reserved.