org.rimudb
Enum TransactionIsolation

java.lang.Object
  extended by java.lang.Enum<TransactionIsolation>
      extended by org.rimudb.TransactionIsolation
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TransactionIsolation>

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

Author:
Simon Ritchie

Enum Constant Summary
TRANSACTION_NONE
           
TRANSACTION_NOT_SPECIFIED
           
TRANSACTION_READ_COMMITTED
           
TRANSACTION_READ_UNCOMMITTED
           
TRANSACTION_REPEATABLE_READ
           
TRANSACTION_SERIALIZABLE
           
 
Method Summary
static TransactionIsolation getEnumFromXML(java.lang.String xmlValue)
           
 int getJdbcValue()
           
 java.lang.String getXMLValue()
           
static TransactionIsolation valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TransactionIsolation[] 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

TRANSACTION_NOT_SPECIFIED

public static final TransactionIsolation TRANSACTION_NOT_SPECIFIED

TRANSACTION_NONE

public static final TransactionIsolation TRANSACTION_NONE

TRANSACTION_READ_UNCOMMITTED

public static final TransactionIsolation TRANSACTION_READ_UNCOMMITTED

TRANSACTION_READ_COMMITTED

public static final TransactionIsolation TRANSACTION_READ_COMMITTED

TRANSACTION_REPEATABLE_READ

public static final TransactionIsolation TRANSACTION_REPEATABLE_READ

TRANSACTION_SERIALIZABLE

public static final TransactionIsolation TRANSACTION_SERIALIZABLE
Method Detail

values

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

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

valueOf

public static TransactionIsolation 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

getXMLValue

public java.lang.String getXMLValue()

getJdbcValue

public int getJdbcValue()

getEnumFromXML

public static TransactionIsolation getEnumFromXML(java.lang.String xmlValue)


Copyright © 2008-2011 Simon Ritchie. All Rights Reserved.