Package org.sqlite
Enum SQLiteConfig.TransactionMode
- java.lang.Object
-
- java.lang.Enum<SQLiteConfig.TransactionMode>
-
- org.sqlite.SQLiteConfig.TransactionMode
-
- All Implemented Interfaces:
Serializable
,Comparable<SQLiteConfig.TransactionMode>
- Enclosing class:
- SQLiteConfig
public static enum SQLiteConfig.TransactionMode extends Enum<SQLiteConfig.TransactionMode>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SQLiteConfig.TransactionMode
getMode(String mode)
String
getValue()
static SQLiteConfig.TransactionMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static SQLiteConfig.TransactionMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFERRED
public static final SQLiteConfig.TransactionMode DEFERRED
-
IMMEDIATE
public static final SQLiteConfig.TransactionMode IMMEDIATE
-
EXCLUSIVE
public static final SQLiteConfig.TransactionMode EXCLUSIVE
-
-
Method Detail
-
values
public static SQLiteConfig.TransactionMode[] 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 (SQLiteConfig.TransactionMode c : SQLiteConfig.TransactionMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SQLiteConfig.TransactionMode 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 nameNullPointerException
- if the argument is null
-
getValue
public String getValue()
-
getMode
public static SQLiteConfig.TransactionMode getMode(String mode)
-
-