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

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

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

Enumeration of supported fetch directions.


Enum Constant Summary
CLOSE_CURSORS
           
DRIVER_DEFAULT
           
HOLD_CURSORS
           
 
Method Summary
 int getHoldability()
           
 String toString()
           
static JdbcControl.HoldabilityType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JdbcControl.HoldabilityType[] 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.HoldabilityType DRIVER_DEFAULT

HOLD_CURSORS

public static final JdbcControl.HoldabilityType HOLD_CURSORS

CLOSE_CURSORS

public static final JdbcControl.HoldabilityType CLOSE_CURSORS
Method Detail

values

public static final JdbcControl.HoldabilityType[] 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.HoldabilityType c : JdbcControl.HoldabilityType.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.HoldabilityType 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

getHoldability

public int getHoldability()

toString

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