Package org.geotools.filter
Class SortByImpl
- Object
-
- SortByImpl
-
-
Field Summary
-
Fields inherited from interface SortBy
NATURAL_ORDER, REVERSE_ORDER, UNSORTED
-
-
Constructor Summary
Constructors Constructor Description SortByImpl(PropertyName propertyName, SortOrder sortOrder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
PropertyName
getPropertyName()
Indicate property to sort by, specification is limited to PropertyName.SortOrder
getSortOrder()
The the sort order - one ofASCENDING
orDESCENDING
.int
hashCode()
void
setPropertyName(PropertyName propertyName)
void
setSortOrder(SortOrder sortOrder)
String
toString()
-
-
-
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?
- 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 interfaceSortBy
- 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 ofASCENDING
orDESCENDING
.- Specified by:
getSortOrder
in interfaceSortBy
-
setSortOrder
public void setSortOrder(SortOrder sortOrder)
-
-