org.jboss.datasources.api
Enum TransactionIsolationType
java.lang.Object
java.lang.Enum<TransactionIsolationType>
org.jboss.datasources.api.TransactionIsolationType
- All Implemented Interfaces:
- Serializable, Comparable<TransactionIsolationType>
public enum TransactionIsolationType
- extends Enum<TransactionIsolationType>
This class implements the transaction-isolationType
xsd type
- Since:
- Generation date :2013-01-26T19:27:02.583+01:00
- Author:
- Ralf Battenfeld, Andrew Lee Rubinger
_TRANSACTION_READ_UNCOMMITTED
public static final TransactionIsolationType _TRANSACTION_READ_UNCOMMITTED
_TRANSACTION_READ_COMMITTED
public static final TransactionIsolationType _TRANSACTION_READ_COMMITTED
_TRANSACTION_REPEATABLE_READ
public static final TransactionIsolationType _TRANSACTION_REPEATABLE_READ
_TRANSACTION_SERIALIZABLE
public static final TransactionIsolationType _TRANSACTION_SERIALIZABLE
_TRANSACTION_NONE
public static final TransactionIsolationType _TRANSACTION_NONE
values
public static TransactionIsolationType[] 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 (TransactionIsolationType c : TransactionIsolationType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TransactionIsolationType 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
NullPointerException
- if the argument is null
toString
public String toString()
- Overrides:
toString
in class Enum<TransactionIsolationType>
getFromStringValue
public static TransactionIsolationType getFromStringValue(String value)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.