|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.idp.dsc.filter.Sort
public class Sort
This class represents the sort order for a given property.
Field Summary | |
---|---|
static String |
ASC
Ascending sort order. |
static String |
DESC
Desccending sort order. |
Constructor Summary | |
---|---|
Sort()
|
Method Summary | |
---|---|
String |
getDirection()
Retrieves the sorting direction, which can be either ascending or descending. |
String |
getProperty()
Retrieves the property on which to sort. |
void |
setDirection(String aDirection)
Sets the sorting direction, which can be either ascending or descending. |
void |
setProperty(String aPropName)
Sets the property on which to sort. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ASC
public static final String DESC
Constructor Detail |
---|
public Sort()
Method Detail |
---|
public void setProperty(String aPropName)
aPropName
- The property name.public String getProperty()
public void setDirection(String aDirection)
aDirection
- The sorting direction.
Its values can be Sort.ASC
(ascending) or Sort.DESC
(descending).public String getDirection()
Sort.ASC
(ascending) or Sort.DESC
(descending).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |