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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the order for sorting resultsgetName()
Get the name of the sort fieldboolean
Return the normalize status for this sort field
-
Constructor Details
-
SortField
Create a sort field- Parameters:
name
- the name of field to sort onascending
-true
to sort in ascending order,false
otherwise
-
SortField
Create a sort field- Parameters:
name
- the name of field to sort onascending
-true
to sort in ascending order,false
otherwisenormalize
-true
to normalize string properties (remove accents and lower case)
-
-
Method Details
-
getName
Get the name of the sort field- Returns:
- the name of the sort field
-
getAscending
Get the order for sorting results- Returns:
true
to sort results in ascending order,false
otherwise
-
getNormalize
Return the normalize status for this sort field- Returns:
true
if string properties should be normalized (remove accents and lower case)
-