Class FacetRange
java.lang.Object
com.broadleafcommerce.search.api.domain.FacetRange
- All Implemented Interfaces:
Serializable
Represents a selectable option of a search facet. This could be a range (e.g. price range) a
color, or any other attribute.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Order in which to display this range on a list of facet ranges.getLabel()
The label for this facet range, suitable for display.The highest value included in this facet range.The lowest value included in this facet range.int
hashCode()
void
setDisplayOrder
(Integer displayOrder) Order in which to display this range on a list of facet ranges.void
The label for this facet range, suitable for display.void
setMaxValue
(String maxValue) The highest value included in this facet range.void
setMinValue
(String minValue) The lowest value included in this facet range.toString()
-
Constructor Details
-
FacetRange
public FacetRange()
-
-
Method Details
-
getLabel
The label for this facet range, suitable for display.- Returns:
- label for this facet range, suitable for display
-
getDisplayOrder
Order in which to display this range on a list of facet ranges. A lower number indicates this item will occur earlier in the returned facet range list.- Returns:
- order in which this range should appear in a list
-
getMinValue
The lowest value included in this facet range.- Returns:
- range's lowest value
-
getMaxValue
The highest value included in this facet range.- Returns:
- range's highest value
-
setLabel
The label for this facet range, suitable for display.- Parameters:
label
- label for this facet range, suitable for display
-
setDisplayOrder
Order in which to display this range on a list of facet ranges. A lower number indicates this item will occur earlier in the returned facet range list.- Parameters:
displayOrder
- order in which this range should appear in a list
-
setMinValue
The lowest value included in this facet range.- Parameters:
minValue
- range's lowest value
-
setMaxValue
The highest value included in this facet range.- Parameters:
maxValue
- range's highest value
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-