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