Package org.primefaces.model
Class SortMeta
- java.lang.Object
-
- org.primefaces.model.SortMeta
-
- All Implemented Interfaces:
Serializable,Comparable<SortMeta>
public class SortMeta extends Object implements Serializable, Comparable<SortMeta>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSortMeta.Builder
-
Field Summary
Fields Modifier and Type Field Description static IntegerMAX_PRIORITYstatic IntegerMIN_PRIORITY
-
Constructor Summary
Constructors Constructor Description SortMeta()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SortMeta.Builderbuilder()intcompareTo(SortMeta o)booleanequals(Object o)StringgetColumnKey()ObjectgetComponent()StringgetField()javax.el.MethodExpressiongetFunction()intgetNullSortOrder()SortOrdergetOrder()intgetPriority()javax.el.ValueExpressiongetSortBy()inthashCode()booleanisActive()booleanisCaseSensitiveSort()static SortMetaof(javax.faces.context.FacesContext context, String var, UIColumn column)static SortMetaof(javax.faces.context.FacesContext context, String var, HeaderRow headerRow)voidsetFunction(javax.el.MethodExpression function)voidsetOrder(SortOrder order)voidsetPriority(int priority)voidsetSortBy(javax.el.ValueExpression sortBy)StringtoString()
-
-
-
Method Detail
-
of
public static SortMeta of(javax.faces.context.FacesContext context, String var, UIColumn column)
-
of
public static SortMeta of(javax.faces.context.FacesContext context, String var, HeaderRow headerRow)
-
compareTo
public int compareTo(SortMeta o)
- Specified by:
compareToin interfaceComparable<SortMeta>
-
getField
public String getField()
-
getOrder
public SortOrder getOrder()
-
getFunction
public javax.el.MethodExpression getFunction()
-
setFunction
public void setFunction(javax.el.MethodExpression function)
-
getSortBy
public javax.el.ValueExpression getSortBy()
-
setSortBy
public void setSortBy(javax.el.ValueExpression sortBy)
-
isActive
public boolean isActive()
-
setOrder
public void setOrder(SortOrder order)
-
getPriority
public int getPriority()
-
setPriority
public void setPriority(int priority)
-
getComponent
public Object getComponent()
-
getColumnKey
public String getColumnKey()
-
getNullSortOrder
public int getNullSortOrder()
-
isCaseSensitiveSort
public boolean isCaseSensitiveSort()
-
builder
public static SortMeta.Builder builder()
-
-