Package org.ametys.odf.enumeration
Class OdfReferenceTableHelper.SortField
java.lang.Object
org.ametys.odf.enumeration.OdfReferenceTableHelper.SortField
- Enclosing class:
- OdfReferenceTableHelper
This class represents a sort field for reference table.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanGet the order for sorting resultsgetName()Get the name of the sort fieldbooleanReturn the normalize status for this sort field
- 
Constructor Details- 
SortFieldCreate a sort field- Parameters:
- name- the name of field to sort on
- ascending-- trueto sort in ascending order,- falseotherwise
 
- 
SortFieldCreate a sort field- Parameters:
- name- the name of field to sort on
- ascending-- trueto sort in ascending order,- falseotherwise
- normalize-- trueto normalize string properties (remove accents and lower case)
 
 
- 
- 
Method Details- 
getNameGet the name of the sort field- Returns:
- the name of the sort field
 
- 
getAscendingGet the order for sorting results- Returns:
- trueto sort results in ascending order,- falseotherwise
 
- 
getNormalizeReturn the normalize status for this sort field- Returns:
- trueif string properties should be normalized (remove accents and lower case)
 
 
-