public enum CdbDBType extends Enum<CdbDBType>
Enum Constant and Description |
---|
CDB_OPERATIONAL
create a read/write session towards the operational db
|
CDB_PRE_COMMIT_RUNNING
create a read session toward the running database as it was before the
current transaction was committed.
|
CDB_RUNNING
create a session towards the running db
|
CDB_STARTUP
create a session towards the startup db
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static CdbDBType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CdbDBType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CdbDBType CDB_OPERATIONAL
public static final CdbDBType CDB_PRE_COMMIT_RUNNING
public static final CdbDBType CDB_RUNNING
public static final CdbDBType CDB_STARTUP
public int getValue()
public static CdbDBType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static CdbDBType[] values()
for (CdbDBType c : CdbDBType.values()) System.out.println(c);