Package com.appslandia.plum.base
Class SortBag
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,SortBy>
-
- com.appslandia.plum.base.SortBag
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,SortBy>
public class SortBag extends HashMap<String,SortBy>
- Author:
- Loc Ha
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static StringREQUEST_ATTRIBUTE_ID
-
Constructor Summary
Constructors Constructor Description SortBag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSortBy()booleanisSortAsc()booleanisSortDesc()SortBagput(String... sortBys)SortBagput(String sortBy, boolean sortAsc)voidsetCurrent(String sortBy, Boolean sortAsc, String defSortBy)-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-
-
-
Field Detail
-
REQUEST_ATTRIBUTE_ID
public static final String REQUEST_ATTRIBUTE_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSortBy
public String getSortBy()
-
isSortAsc
public boolean isSortAsc()
-
isSortDesc
public boolean isSortDesc()
-
-