| Constructor and Description |
|---|
SortOrderImpl(String fieldname,
boolean ase)
Creates a SortOrder by field given in the field name and the order in which the results will be sorted
|
SortOrderImpl(String fieldname,
boolean ase,
Locale locale)
Creates a SortOrder by field given in the field name and the order in which the results will be sorted
using the Locale specified
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAse()
Gets whether sort according to ascending or descending order
|
String |
getFieldName()
Gets the name of the field that the SortOrder would be for
|
Locale |
getLocale()
Gets Locale that the sorting would be using
|
public SortOrderImpl(String fieldname, boolean ase)
fieldname - the name of the field that will be used for sortingase - the order that will be used for sortingpublic SortOrderImpl(String fieldname, boolean ase, Locale locale)
fieldname - the name of the field that will be used for sortingase - the order that will be used for sortinglocale - the Locale in which the field is used for sorting purposepublic String getFieldName()
getFieldName in interface SortOrderpublic boolean getAse()