Package de.cxp.ocs.model.result
Class IntervalFacetEntry
- java.lang.Object
-
- de.cxp.ocs.model.result.FacetEntry
-
- de.cxp.ocs.model.result.IntervalFacetEntry
-
public class IntervalFacetEntry extends FacetEntry
Facet entry that describes a numerical interval. If only the lower value or only the upper value is set, this means it's an open ended interval, e.g. '< 100' for upper bound only.
-
-
Constructor Summary
Constructors Constructor Description IntervalFacetEntry(Number lowerBound, Number upperBound, long docCount, String link, boolean isSelected)
-
-
-
Field Detail
-
type
public final String type
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IntervalFacetEntry
public IntervalFacetEntry(Number lowerBound, Number upperBound, long docCount, String link, boolean isSelected)
- Parameters:
lowerBound- lower bound of interval represented by that facet entry. Can be null if upper bound exists.upperBound- upper bound of interval represented by that facet entry. Can be null if lower bound exists.docCount- the amount of documents covered by that intervallink- the link to toggle the filter state of the related resultisSelected- true if the related result is currently filtered by that interval
-
-