Enum Class CursorState

java.lang.Object
java.lang.Enum<CursorState>
altitude.integrationServer.types.CursorState
All Implemented Interfaces:
Serializable, Comparable<CursorState>, Constable

public enum CursorState extends Enum<CursorState>
Represents the states of a Cursor.
  • Enum Constant Details

    • NoValue

      public static final CursorState NoValue
      No value is assigned.
    • Opened

      public static final CursorState Opened
      The cursor is opened.
    • Closed

      public static final CursorState Closed
      The cursor is closed.
  • Method Details

    • values

      public static CursorState[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CursorState valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public int value()
    • fromValue

      public static CursorState fromValue(int v)