org.outerj.daisy.repository.query
Class FacetConf
java.lang.Object
org.outerj.daisy.repository.query.FacetConf
public class FacetConf
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FacetConf
public FacetConf(boolean isFacet)
FacetConf
public FacetConf(int maxValues,
boolean sortOnValue,
boolean sortAscending)
FacetConf
public FacetConf()
isFacet
public boolean isFacet()
setIsFacet
public void setIsFacet(boolean isFacet)
getMaxValues
public int getMaxValues()
- The maximum number of distinct values to be returned, -1 for all.
setMaxValues
public void setMaxValues(int maxValues)
getSortOnValue
public boolean getSortOnValue()
- If true, the distinct values for this facet should be sorted on value,
otherwise on count.
setSortOnValue
public void setSortOnValue(boolean sortOnValue)
getSortAscending
public boolean getSortAscending()
- If true, sorting happens ascending, otherwise descending.
setSortAscending
public void setSortAscending(boolean sortAscending)
Copyright © -2012 . All Rights Reserved.