public enum KindOfStateMachine extends Enum<KindOfStateMachine>
Modifier and Type | Field and Description |
---|---|
static int |
DYNAMIC_VALUE |
static int |
PROTOCOL_VALUE |
static List<KindOfStateMachine> |
VALUES |
Modifier and Type | Method and Description |
---|---|
static KindOfStateMachine |
get(int value) |
static KindOfStateMachine |
get(String literal) |
static KindOfStateMachine |
getByName(String name) |
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString() |
static KindOfStateMachine |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KindOfStateMachine[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KindOfStateMachine DYNAMIC
public static final KindOfStateMachine PROTOCOL
public static final int DYNAMIC_VALUE
public static final int PROTOCOL_VALUE
public static final List<KindOfStateMachine> VALUES
public static KindOfStateMachine[] values()
for (KindOfStateMachine c : KindOfStateMachine.values()) System.out.println(c);
public static KindOfStateMachine 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 KindOfStateMachine get(String literal)
public static KindOfStateMachine getByName(String name)
public static KindOfStateMachine get(int value)
public int getValue()
public String getName()
public String getLiteral()
public String toString()
toString
in class Enum<KindOfStateMachine>