Enum Constant and Description |
---|
MYSQL |
Modifier and Type | Method and Description |
---|---|
static TypeEnum |
getEnumByValue(java.lang.String value)
Get the Enumeration by String (name)
|
java.lang.String |
getName() |
static TypeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeEnum MYSQL
public static TypeEnum[] values()
for (TypeEnum c : TypeEnum.values()) System.out.println(c);
public static TypeEnum 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 getName()
public static TypeEnum getEnumByValue(java.lang.String value)
value
- Name to look for