|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<QueryFormat>
com.evernote.edam.type.QueryFormat
public enum QueryFormat
Every search query is specified as a sequence of characters. Currently, only the USER query format is supported.
| Enum Constant Summary | |
|---|---|
SEXP
|
|
USER
|
|
| Method Summary | |
|---|---|
static QueryFormat |
findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL. |
int |
getValue()
Get the integer value of this enum value, as defined in the Thrift IDL. |
static QueryFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static QueryFormat[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final QueryFormat USER
public static final QueryFormat SEXP
| Method Detail |
|---|
public static QueryFormat[] values()
for (QueryFormat c : QueryFormat.values()) System.out.println(c);
public static QueryFormat valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic int getValue()
getValue in interface TEnumpublic static QueryFormat findByValue(int value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||