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