org.outerj.daisy.repository.query
Class FacetConf

java.lang.Object
  extended byorg.outerj.daisy.repository.query.FacetConf

public class FacetConf
extends java.lang.Object


Constructor Summary
FacetConf()
           
FacetConf(boolean isFacet)
           
FacetConf(int maxValues, boolean sortOnValue, boolean sortAscending)
           
 
Method Summary
 int getMaxValues()
          The maximum number of distinct values to be returned, -1 for all.
 boolean getSortAscending()
          If true, sorting happens ascending, otherwise descending.
 boolean getSortOnValue()
          If true, the distinct values for this facet should be sorted on value, otherwise on count.
 boolean isFacet()
           
 void setIsFacet(boolean isFacet)
           
 void setMaxValues(int maxValues)
           
 void setSortAscending(boolean sortAscending)
           
 void setSortOnValue(boolean sortOnValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacetConf

public FacetConf(boolean isFacet)

FacetConf

public FacetConf(int maxValues,
                 boolean sortOnValue,
                 boolean sortAscending)

FacetConf

public FacetConf()
Method Detail

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 © -2005 . All Rights Reserved.