public enum DatabaseVendor extends java.lang.Enum<DatabaseVendor>
Enum Constant and Description |
---|
DB2 |
FIREBIRD |
GENERIC |
MSSQL |
MYSQL |
ORACLE |
POSTGRES |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static DatabaseVendor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseVendor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseVendor MYSQL
public static final DatabaseVendor POSTGRES
public static final DatabaseVendor MSSQL
public static final DatabaseVendor GENERIC
public static final DatabaseVendor ORACLE
public static final DatabaseVendor DB2
public static final DatabaseVendor FIREBIRD
public static DatabaseVendor[] values()
for (DatabaseVendor c : DatabaseVendor.values()) System.out.println(c);
public static DatabaseVendor 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 nullpublic java.lang.String toString()
toString
in class java.lang.Enum<DatabaseVendor>