|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CursorStateEnum>
org.apache.directory.api.ldap.model.cursor.CursorStateEnum
public enum CursorStateEnum
An enumeration to represent the various states of a Cursor.
| Enum Constant Summary | |
|---|---|
AFTER_INNER
the Cursor is positioned just after an element but not on any element |
|
AFTER_LAST
the Cursor is positioned just after the last element |
|
BEFORE_FIRST
the Cursor is positioned just before the first element |
|
BEFORE_INNER
the Cursor is positioned just before an element but not on any element |
|
CLOSED
the Cursor is closed and not operations can be performed on it |
|
JUST_OPENED
the Cursor has been created and so has not been positioned yet |
|
ON_FIRST
the Cursor is positioned on the first element |
|
ON_INNER
the Cursor is positioned on an element |
|
ON_LAST
the Cursor is positioned on the last element |
|
| Method Summary | |
|---|---|
static CursorStateEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CursorStateEnum[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CursorStateEnum JUST_OPENED
public static final CursorStateEnum BEFORE_FIRST
public static final CursorStateEnum AFTER_LAST
public static final CursorStateEnum BEFORE_INNER
public static final CursorStateEnum AFTER_INNER
public static final CursorStateEnum ON_FIRST
public static final CursorStateEnum ON_LAST
public static final CursorStateEnum ON_INNER
public static final CursorStateEnum CLOSED
| Method Detail |
|---|
public static CursorStateEnum[] values()
for (CursorStateEnum c : CursorStateEnum.values()) System.out.println(c);
public static CursorStateEnum valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||