|
|||||||||
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 java.lang.String |
ASC
Ascending sort order. |
static java.lang.String |
DESC
Desccending sort order. |
Constructor Summary | |
---|---|
Sort()
|
Method Summary | |
---|---|
java.lang.String |
getDirection()
Retrieves the sorting direction, which can be either ascending or descending. |
java.lang.String |
getProperty()
Retrieves the property on which to sort. |
void |
setDirection(java.lang.String aDirection)
Sets the sorting direction, which can be either ascending or descending. |
void |
setProperty(java.lang.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 java.lang.String ASC
public static final java.lang.String DESC
Constructor Detail |
---|
public Sort()
Method Detail |
---|
public void setProperty(java.lang.String aPropName)
aPropName
- The property name.public java.lang.String getProperty()
public void setDirection(java.lang.String aDirection)
aDirection
- The sorting direction.
Its values can be Sort.ASC
(ascending) or Sort.DESC
(descending).public java.lang.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 |