com.adobe.idp.dsc.filter
Class Sort

java.lang.Object
  extended by com.adobe.idp.dsc.filter.Sort
All Implemented Interfaces:
java.io.Serializable

public class Sort
extends java.lang.Object
implements java.io.Serializable

This class represents the sort order for a given property.

See Also:
Serialized Form

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

ASC

public static final java.lang.String ASC
Ascending sort order.

See Also:
Constant Field Values

DESC

public static final java.lang.String DESC
Desccending sort order.

See Also:
Constant Field Values
Constructor Detail

Sort

public Sort()
Method Detail

setProperty

public void setProperty(java.lang.String aPropName)
Sets the property on which to sort.

Parameters:
aPropName - The property name.

getProperty

public java.lang.String getProperty()
Retrieves the property on which to sort.

Returns:
The property name.

setDirection

public void setDirection(java.lang.String aDirection)
Sets the sorting direction, which can be either ascending or descending.

Parameters:
aDirection - The sorting direction. Its values can be Sort.ASC (ascending) or Sort.DESC (descending).

getDirection

public java.lang.String getDirection()
Retrieves the sorting direction, which can be either ascending or descending.

Returns:
The sorting direction. Its values can be Sort.ASC (ascending) or Sort.DESC (descending).


[an error occurred while processing this directive] [an error occurred while processing this directive]