jodd.jtx
Enum JtxIsolationLevel

java.lang.Object
  extended by java.lang.Enum<JtxIsolationLevel>
      extended by jodd.jtx.JtxIsolationLevel
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<JtxIsolationLevel>

public enum JtxIsolationLevel
extends java.lang.Enum<JtxIsolationLevel>

Transaction isolation mode.


Enum Constant Summary
ISOLATION_DEFAULT
           
ISOLATION_NONE
           
ISOLATION_READ_COMMITTED
           
ISOLATION_READ_UNCOMMITTED
           
ISOLATION_REPEATABLE_READ
           
ISOLATION_SERIALIZABLE
           
 
Method Summary
 java.lang.String toString()
           
 int value()
           
static JtxIsolationLevel valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static JtxIsolationLevel[] 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, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ISOLATION_DEFAULT

public static final JtxIsolationLevel ISOLATION_DEFAULT

ISOLATION_NONE

public static final JtxIsolationLevel ISOLATION_NONE

ISOLATION_READ_UNCOMMITTED

public static final JtxIsolationLevel ISOLATION_READ_UNCOMMITTED

ISOLATION_READ_COMMITTED

public static final JtxIsolationLevel ISOLATION_READ_COMMITTED

ISOLATION_REPEATABLE_READ

public static final JtxIsolationLevel ISOLATION_REPEATABLE_READ

ISOLATION_SERIALIZABLE

public static final JtxIsolationLevel ISOLATION_SERIALIZABLE
Method Detail

values

public static JtxIsolationLevel[] 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 (JtxIsolationLevel c : JtxIsolationLevel.values())
    System.out.println(c);

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

valueOf

public static JtxIsolationLevel valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public int value()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<JtxIsolationLevel>


Copyright ©2008 Jodd Team