public static enum SqlResourceRolePrivileges.Privilege extends Enum<SqlResourceRolePrivileges.Privilege>
Enum Constant and Description |
---|
DELETE |
INSERT |
SELECT |
UPDATE |
WILDCARD |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Request.Type requestType) |
static SqlResourceRolePrivileges.Privilege |
fromString(String name) |
String |
toString() |
static SqlResourceRolePrivileges.Privilege |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlResourceRolePrivileges.Privilege[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlResourceRolePrivileges.Privilege DELETE
public static final SqlResourceRolePrivileges.Privilege INSERT
public static final SqlResourceRolePrivileges.Privilege SELECT
public static final SqlResourceRolePrivileges.Privilege UPDATE
public static final SqlResourceRolePrivileges.Privilege WILDCARD
public static SqlResourceRolePrivileges.Privilege[] values()
for (SqlResourceRolePrivileges.Privilege c : SqlResourceRolePrivileges.Privilege.values()) System.out.println(c);
public static SqlResourceRolePrivileges.Privilege 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 SqlResourceRolePrivileges.Privilege fromString(String name)
public boolean equals(Request.Type requestType)
public String toString()
toString
in class Enum<SqlResourceRolePrivileges.Privilege>
Copyright © 2011-2018 restSQL Project Contributors