Enum VirtualListViewRequestStates
- java.lang.Object
-
- java.lang.Enum<VirtualListViewRequestStates>
-
- org.apache.directory.api.ldap.extras.controls.vlv_impl.VirtualListViewRequestStates
-
- All Implemented Interfaces:
Serializable
,Comparable<VirtualListViewRequestStates>
,States
public enum VirtualListViewRequestStates extends Enum<VirtualListViewRequestStates> implements States
This class store the VirtualListViewRequest grammar constants. It is also used for debugging purposes.- Author:
- Apache Directory Project
-
-
Enum Constant Summary
Enum Constants Enum Constant Description END_STATE
Final stateSTART_STATE
Initial stateVLV_AFTER_COUNT_STATE
afterCount INTEGER (0..maxInt) transitionVLV_ASSERTION_VALUE_STATE
greaterThanOrEqual [1] AssertionValue transitionVLV_BEFORE_COUNT_STATE
beforeCount INTEGER (0..maxInt) transitionVLV_CONTENT_COUNT_STATE
contentCount INTEGER (0 .. maxInt) transitionVLV_CONTEXT_ID_STATE
contextID OCTET STRING OPTIONAL transitionVLV_OFFSET_STATE
offset INTEGER (1 .. maxInt) transitionVLV_SEQUENCE_STATE
VirtualListViewRequest ::= SEQUENCE transitionVLV_TARGET_BY_OFFSET_STATE
byOffset [0] SEQUENCE transition
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getGrammarName()
Get the grammar nameEnum<?>
getStartState()
String
getState(int state)
Get the string representing the stateboolean
isEndState()
static VirtualListViewRequestStates
valueOf(String name)
Returns the enum constant of this type with the specified name.static VirtualListViewRequestStates[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START_STATE
public static final VirtualListViewRequestStates START_STATE
Initial state
-
VLV_SEQUENCE_STATE
public static final VirtualListViewRequestStates VLV_SEQUENCE_STATE
VirtualListViewRequest ::= SEQUENCE transition
-
VLV_BEFORE_COUNT_STATE
public static final VirtualListViewRequestStates VLV_BEFORE_COUNT_STATE
beforeCount INTEGER (0..maxInt) transition
-
VLV_AFTER_COUNT_STATE
public static final VirtualListViewRequestStates VLV_AFTER_COUNT_STATE
afterCount INTEGER (0..maxInt) transition
-
VLV_TARGET_BY_OFFSET_STATE
public static final VirtualListViewRequestStates VLV_TARGET_BY_OFFSET_STATE
byOffset [0] SEQUENCE transition
-
VLV_OFFSET_STATE
public static final VirtualListViewRequestStates VLV_OFFSET_STATE
offset INTEGER (1 .. maxInt) transition
-
VLV_CONTENT_COUNT_STATE
public static final VirtualListViewRequestStates VLV_CONTENT_COUNT_STATE
contentCount INTEGER (0 .. maxInt) transition
-
VLV_CONTEXT_ID_STATE
public static final VirtualListViewRequestStates VLV_CONTEXT_ID_STATE
contextID OCTET STRING OPTIONAL transition
-
VLV_ASSERTION_VALUE_STATE
public static final VirtualListViewRequestStates VLV_ASSERTION_VALUE_STATE
greaterThanOrEqual [1] AssertionValue transition
-
END_STATE
public static final VirtualListViewRequestStates END_STATE
Final state
-
-
Method Detail
-
values
public static VirtualListViewRequestStates[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VirtualListViewRequestStates c : VirtualListViewRequestStates.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VirtualListViewRequestStates valueOf(String name)
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
public String getGrammarName()
Get the grammar name- Returns:
- The grammar name
-
getState
public String getState(int state)
Get the string representing the state- Parameters:
state
- The state number- Returns:
- The String representing the state
-
isEndState
public boolean isEndState()
- Specified by:
isEndState
in interfaceStates
- Returns:
- True if this is the END_STATE
-
getStartState
public Enum<?> getStartState()
- Specified by:
getStartState
in interfaceStates
- Returns:
- The START_STATE of the enum
-
-