|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.fatwire.search.query.SortOrderImpl
public final class SortOrderImpl
The default implementation of the SortOrder
Constructor Summary | |
---|---|
SortOrderImpl(java.lang.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(java.lang.String fieldname,
boolean ase,
java.util.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 |
Method Summary | |
---|---|
boolean |
getAse()
Gets whether sort according to ascending or descending order |
java.lang.String |
getFieldName()
Gets the field name on which the SortOrder would be for |
java.util.Locale |
getLocale()
Gets Locale that the sorting would be using |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SortOrderImpl(java.lang.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(java.lang.String fieldname, boolean ase, java.util.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 purposeMethod Detail |
---|
public java.lang.String getFieldName()
getFieldName
in interface SortOrder
public boolean getAse()
getAse
in interface SortOrder
public java.util.Locale getLocale()
getLocale
in interface SortOrder
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |