public static enum Query.QueryProfile extends Enum<Query.QueryProfile>
| Enum Constant and Description |
|---|
READ_ACCESS
Read access
|
WRITE_ACCESS
Write access
|
| Modifier and Type | Method and Description |
|---|---|
I18nizableText |
getDescription()
Query profile description getter.
|
I18nizableText |
getTitle()
Query profile title getter.
|
String |
toString() |
static Query.QueryProfile |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Query.QueryProfile[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Query.QueryProfile READ_ACCESS
public static final Query.QueryProfile WRITE_ACCESS
public static Query.QueryProfile[] values()
for (Query.QueryProfile c : Query.QueryProfile.values()) System.out.println(c);
public static Query.QueryProfile 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 toString()
toString in class Enum<Query.QueryProfile>public I18nizableText getTitle()
public I18nizableText getDescription()