public enum EndTransactionRequestStates extends Enum<EndTransactionRequestStates> implements States
Enum Constant and Description |
---|
COMMIT_STATE
The commit flag
|
END_STATE
The END_STATE
|
IDENTFIER_STATE
The identifier state
|
LAST_STATE
Last state
|
SEQUENCE_STATE
The initial SEQUENCE
|
START_STATE
start state
|
Modifier and Type | Method and Description |
---|---|
String |
getGrammarName()
Get the grammar name
|
EndTransactionRequestStates |
getStartState() |
String |
getState(int state)
Get the string representing the state
|
boolean |
isEndState() |
static EndTransactionRequestStates |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EndTransactionRequestStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EndTransactionRequestStates END_STATE
public static final EndTransactionRequestStates START_STATE
public static final EndTransactionRequestStates SEQUENCE_STATE
public static final EndTransactionRequestStates COMMIT_STATE
public static final EndTransactionRequestStates IDENTFIER_STATE
public static final EndTransactionRequestStates LAST_STATE
public static EndTransactionRequestStates[] values()
for (EndTransactionRequestStates c : EndTransactionRequestStates.values()) System.out.println(c);
public static EndTransactionRequestStates 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 getGrammarName()
public String getState(int state)
state
- The state numberpublic boolean isEndState()
isEndState
in interface States
public EndTransactionRequestStates getStartState()
getStartState
in interface States
Copyright © 2003–2023 The Apache Software Foundation. All rights reserved.