public enum BasicSortBy extends java.lang.Enum<BasicSortBy> implements SortBy
Enum Constant and Description |
---|
CUSTOMER_RATING |
NAME_ASC |
NAME_DESC |
PRICE_ASC |
PRICE_DESC |
RELEVANCE |
Modifier and Type | Method and Description |
---|---|
static BasicSortBy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BasicSortBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
setQuerySortField
public static final BasicSortBy NAME_ASC
public static final BasicSortBy NAME_DESC
public static final BasicSortBy RELEVANCE
public static final BasicSortBy PRICE_ASC
public static final BasicSortBy PRICE_DESC
public static final BasicSortBy CUSTOMER_RATING
public static BasicSortBy[] values()
for (BasicSortBy c : BasicSortBy.values()) System.out.println(c);
public static BasicSortBy 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 namejava.lang.NullPointerException
- if the argument is null