Enum EndTransactionResponseStates
java.lang.Object
java.lang.Enum<EndTransactionResponseStates>
org.apache.directory.api.ldap.extras.extended.ads_impl.endTransaction.EndTransactionResponseStates
- All Implemented Interfaces:
Serializable, Comparable<EndTransactionResponseStates>, org.apache.directory.api.asn1.ber.grammar.States
public enum EndTransactionResponseStates
extends Enum<EndTransactionResponseStates>
implements org.apache.directory.api.asn1.ber.grammar.States
This class store the EndTransactionResponse's grammar constants. It is also used
for debugging purposes.
- Author:
- Apache Directory Project
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTHe control's message ID stateThe control's stateThe END_STATEThe initial SEQUENCEThe failed message IDLast statestart stateThe update control SEQThe update controls SEQ -
Method Summary
Modifier and TypeMethodDescriptionGet the grammar namegetState(int state) Get the string representing the statebooleanstatic EndTransactionResponseStatesReturns the enum constant of this type with the specified name.static EndTransactionResponseStates[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
END_STATE
The END_STATE -
START_STATE
start state -
END_TRANSACTION_SEQUENCE_STATE
The initial SEQUENCE -
FAILED_MESSAGE_ID_STATE
The failed message ID -
UPDATE_CONTROLS_SEQ_STATE
The update controls SEQ -
UPDATE_CONTROL_SEQ_STATE
The update control SEQ -
CONTROL_MESSAGE_ID_STATE
THe control's message ID state -
CONTROLS_STATE
The control's state -
LAST_STATE
Last state
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getGrammarName
-
getState
Get the string representing the state- Parameters:
state- The state number- Returns:
- The String representing the state
-
isEndState
public boolean isEndState()- Specified by:
isEndStatein interfaceorg.apache.directory.api.asn1.ber.grammar.States
-
getStartState
- Specified by:
getStartStatein interfaceorg.apache.directory.api.asn1.ber.grammar.States
-