org.geotools.filter
Class SortByImpl

Object
  extended by SortByImpl
All Implemented Interfaces:
SortBy

public class SortByImpl
extends Object
implements SortBy


Field Summary
 
Fields inherited from interface SortBy
NATURAL_ORDER, REVERSE_ORDER, UNSORTED
 
Constructor Summary
SortByImpl(PropertyName propertyName, SortOrder sortOrder)
           
 
Method Summary
 PropertyName getPropertyName()
          Indicate property to sort by, specification is limited to PropertyName.
 SortOrder getSortOrder()
          The the sort order - one of ASCENDING or DESCENDING.
 void setPropertyName(PropertyName propertyName)
           
 void setSortOrder(SortOrder sortOrder)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortByImpl

public SortByImpl(PropertyName propertyName,
                  SortOrder sortOrder)
Method Detail

getPropertyName

public PropertyName getPropertyName()
Description copied from interface: SortBy
Indicate property to sort by, specification is limited to PropertyName.

Not sure if this is allowed to be a xPath expression?

Specified by:
getPropertyName in interface SortBy
Returns:
Name of property to sort by.

setPropertyName

public void setPropertyName(PropertyName propertyName)

getSortOrder

public SortOrder getSortOrder()
Description copied from interface: SortBy
The the sort order - one of ASCENDING or DESCENDING.

Specified by:
getSortOrder in interface SortBy

setSortOrder

public void setSortOrder(SortOrder sortOrder)


Copyright © 1996-2014 Geotools. All Rights Reserved.