org.geotools.filter
Class SortByImpl
Object
SortByImpl
- All Implemented Interfaces:
- SortBy
public class SortByImpl
- extends Object
- implements SortBy
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SortByImpl
public SortByImpl(PropertyName propertyName,
SortOrder sortOrder)
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?
- It would be consist with our use in GeoTools
- It would not seem to agree with the short hand notation
used by WFS1.1 (ie. "year A, month A, day A" )
- 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.