|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.endeca.infront.navigation.model.SortSpec
public class SortSpec
A way of sorting a list of search/navigation results.
Constructor Summary | |
---|---|
SortSpec()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getKey()
The name of the sort attribute or interface. |
String |
getSortOptionValue()
retrieved key is followed by a suffix of "|1", indicating descending order, or "|0", indicating ascending order (the default) |
int |
hashCode()
|
boolean |
isDescending()
The sort direction. |
void |
setDescending(boolean descending)
|
void |
setKey(String key)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SortSpec()
Method Detail |
---|
public String getKey()
public void setKey(String key)
key
- the name of the sort attribute or interface, cannot be nullpublic boolean isDescending()
public void setDescending(boolean descending)
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getSortOptionValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |