Enum Constant and Description |
---|
DB2 |
HYPERSONIC |
MARIADB |
MYSQL |
ORACLE |
POSTGRESQL |
SQLSERVER |
SYBASE |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
toString() |
static DBType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DBType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DBType DB2
public static final DBType HYPERSONIC
public static final DBType MARIADB
public static final DBType MYSQL
public static final DBType ORACLE
public static final DBType POSTGRESQL
public static final DBType SQLSERVER
public static final DBType SYBASE
public static DBType[] values()
for (DBType c : DBType.values()) System.out.println(c);
public static DBType 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 String getName()
public String toString()
toString
in class Enum<DBType>