Package com.mayam.wf.config.shared
Class SortOrderPreset
java.lang.Object
com.mayam.wf.config.shared.SortOrderPreset
- All Implemented Interfaces:
Copyable
,HasIdentity
,Serializable
A named sort order preset implemented as a list of pairs of attributes
and sorting direction, with the first pair having the highest
priority.
- Author:
- Markus MÃ¥rtensson
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.mayam.wf.attributes.shared.Copyable
Copyable.Utilities
Nested classes/interfaces inherited from interface com.mayam.wf.config.shared.HasIdentity
HasIdentity.Utilities
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(Attribute attribute, FilterCriteria.SortOrder.Direction direction) add
(Attribute attribute, FilterCriteria.SortOrder.Direction direction, FilterCriteria.SortOrder.NullBehavior nullBehavior) copy()
Performs a deep copy of the object.boolean
getId()
getLabel()
int
hashCode()
void
void
setLabel
(TranslatedString label)
-
Constructor Details
-
SortOrderPreset
public SortOrderPreset()
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceHasIdentity
-
setId
-
getLabel
-
defaultDisplayText
- Specified by:
defaultDisplayText
in interfaceHasIdentity
-
getEntries
-
equals
-
hashCode
public int hashCode() -
copy
Description copied from interface:Copyable
Performs a deep copy of the object.
-