|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<NoteSortOrder> com.evernote.edam.type.NoteSortOrder
public enum NoteSortOrder
This enumeration defines the possible sort ordering for notes when they are returned from a search result.
Enum Constant Summary | |
---|---|
CREATED
|
|
RELEVANCE
|
|
TITLE
|
|
UPDATE_SEQUENCE_NUMBER
|
|
UPDATED
|
Method Summary | |
---|---|
static NoteSortOrder |
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 NoteSortOrder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static NoteSortOrder[] |
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 NoteSortOrder CREATED
public static final NoteSortOrder UPDATED
public static final NoteSortOrder RELEVANCE
public static final NoteSortOrder UPDATE_SEQUENCE_NUMBER
public static final NoteSortOrder TITLE
Method Detail |
---|
public static NoteSortOrder[] values()
for (NoteSortOrder c : NoteSortOrder.values()) System.out.println(c);
public static NoteSortOrder valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic int getValue()
getValue
in interface com.evernote.thrift.TEnum
public static NoteSortOrder findByValue(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |