Package de.cxp.ocs.model.result
Class IntervalFacetEntry
java.lang.Object
de.cxp.ocs.model.result.FacetEntry
de.cxp.ocs.model.result.IntervalFacetEntry
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.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIntervalFacetEntry
(Number lowerBound, Number upperBound, long docCount, String link, boolean isSelected) IntervalFacetEntry
(String label, Number lowerBound, Number upperBound, long docCount, String link, boolean isSelected) -
Method Summary
-
Field Details
-
type
- See Also:
-
-
Constructor Details
-
IntervalFacetEntry
-
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
-