public enum RoleQueriesSQL extends Enum<RoleQueriesSQL> implements NativeSQLQueries
| Enum Constant and Description |
|---|
ROLE_FIND_BY_SHORT_NAME |
ROLE_GET_USERS |
| Modifier and Type | Method and Description |
|---|---|
String |
getQuery()
Return SQL query as a plain string
|
static RoleQueriesSQL |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoleQueriesSQL[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoleQueriesSQL ROLE_FIND_BY_SHORT_NAME
public static final RoleQueriesSQL ROLE_GET_USERS
public static RoleQueriesSQL[] values()
for (RoleQueriesSQL c : RoleQueriesSQL.values()) System.out.println(c);
public static RoleQueriesSQL 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 String getQuery()
NativeSQLQueriesgetQuery in interface NativeSQLQueries