public enum DBDef extends Enum<DBDef>
| 列挙型定数と説明 |
|---|
DB2 |
Derby |
Firebird |
H2 |
MSAccess |
MySQL |
Oracle |
PostgreSQL |
SQLite |
SQLServer |
Sybase |
Unknown |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected void |
assertUnlocked()
Assert this is not locked.
|
String |
code() |
static DBDef |
codeOf(String code) |
DBWay |
dbway() |
boolean |
isLocked()
Is this singleton world locked?
|
void |
lock()
Lock this singleton world, e.g. not to set the DB-way.
|
void |
switchDBWay(DBWay dbway)
Switch from the old DB-way to the specified DB-way for the DB.
|
void |
unlock()
Unlock this singleton world, e.g. to set the DB-way.
|
static DBDef |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static DBDef[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final DBDef MySQL
public static final DBDef PostgreSQL
public static final DBDef Oracle
public static final DBDef DB2
public static final DBDef SQLServer
public static final DBDef H2
public static final DBDef Derby
public static final DBDef SQLite
public static final DBDef MSAccess
public static final DBDef Firebird
public static final DBDef Sybase
public static final DBDef Unknown
public static DBDef[] values()
for(DBDef c: DBDef.values()) System.out.println(c);
public static DBDef valueOf(String name)
name - 返される列挙型定数の名前。IllegalArgumentException - この列挙型に、指定した名前の定数がない場合NullPointerException - 引数がnullの場合public static DBDef codeOf(String code)
code - The code of the DB. (NullAllowed: If the code is null, it returns null)public String code()
public DBWay dbway()
public void switchDBWay(DBWay dbway)
dbway - The new DB-way of the DB. (NotNull)public void lock()
public void unlock()
public boolean isLocked()
protected void assertUnlocked()
Copyright © 2014–2015 The DBFlute Project. All rights reserved.