org.apache.beehive.controls.system.jdbc
Enum JdbcControl.ScrollType

Object
  extended by Enum<JdbcControl.ScrollType>
      extended by JdbcControl.ScrollType
All Implemented Interfaces:
Serializable, Comparable<JdbcControl.ScrollType>
Enclosing interface:
JdbcControl

public static enum JdbcControl.ScrollType
extends Enum<JdbcControl.ScrollType>

Enumeration of supported types of scrolling ResultSets


Enum Constant Summary
DRIVER_DEFAULT
           
FORWARD_ONLY
           
FORWARD_ONLY_UPDATABLE
           
SCROLL_INSENSITIVE
           
SCROLL_INSENSITIVE_UPDATABLE
           
SCROLL_SENSITIVE
           
SCROLL_SENSITIVE_UPDATABLE
           
 
Method Summary
 int getConcurrencyType()
           
 int getType()
           
 String toString()
           
static JdbcControl.ScrollType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JdbcControl.ScrollType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DRIVER_DEFAULT

public static final JdbcControl.ScrollType DRIVER_DEFAULT

FORWARD_ONLY

public static final JdbcControl.ScrollType FORWARD_ONLY

SCROLL_INSENSITIVE

public static final JdbcControl.ScrollType SCROLL_INSENSITIVE

SCROLL_SENSITIVE

public static final JdbcControl.ScrollType SCROLL_SENSITIVE

FORWARD_ONLY_UPDATABLE

public static final JdbcControl.ScrollType FORWARD_ONLY_UPDATABLE

SCROLL_INSENSITIVE_UPDATABLE

public static final JdbcControl.ScrollType SCROLL_INSENSITIVE_UPDATABLE

SCROLL_SENSITIVE_UPDATABLE

public static final JdbcControl.ScrollType SCROLL_SENSITIVE_UPDATABLE
Method Detail

values

public static final JdbcControl.ScrollType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(JdbcControl.ScrollType c : JdbcControl.ScrollType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static JdbcControl.ScrollType 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 name

getType

public int getType()

getConcurrencyType

public int getConcurrencyType()

toString

public String toString()
Overrides:
toString in class Enum<JdbcControl.ScrollType>