|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SortOption.SortDirection> com.esri.gpt.framework.request.SortOption.SortDirection
public static enum SortOption.SortDirection
An enumeration describing a the sort direction.
Enum Constant Summary | |
---|---|
asc
Ascending order (default value). |
|
desc
Descending order. |
Method Summary | |
---|---|
static SortOption.SortDirection |
checkValue(String direction)
Checks the value of a String to determine the corresponding enum. |
static SortOption.SortDirection |
defaultValue()
Returns the default value for the enum. |
static SortOption.SortDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SortOption.SortDirection[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, 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 SortOption.SortDirection asc
public static final SortOption.SortDirection desc
Method Detail |
---|
public static SortOption.SortDirection[] values()
for (SortOption.SortDirection c : SortOption.SortDirection.values()) System.out.println(c);
public static SortOption.SortDirection 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 static SortOption.SortDirection checkValue(String direction)
direction
- the string to check
public static SortOption.SortDirection defaultValue()
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |