public static enum DatabaseUtil.DatabaseType extends java.lang.Enum<DatabaseUtil.DatabaseType>
| Modifier and Type | Method and Description |
|---|---|
static DatabaseUtil.DatabaseType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseUtil.DatabaseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseUtil.DatabaseType MYSQL
public static final DatabaseUtil.DatabaseType POSTGRES
public static final DatabaseUtil.DatabaseType ORACLE
public static final DatabaseUtil.DatabaseType MSSQL
public static final DatabaseUtil.DatabaseType HSQL
public static DatabaseUtil.DatabaseType[] values()
for (DatabaseUtil.DatabaseType c : DatabaseUtil.DatabaseType.values()) System.out.println(c);
public static DatabaseUtil.DatabaseType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null