Class FacetRange
- java.lang.Object
-
- com.broadleafcommerce.search.api.domain.FacetRange
-
- All Implemented Interfaces:
Serializable
public class FacetRange extends Object implements 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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description FacetRange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
Integer
getDisplayOrder()
Order in which to display this range on a list of facet ranges.String
getLabel()
The label for this facet range, suitable for display.String
getMaxValue()
The highest value included in this facet range.String
getMinValue()
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
setLabel(String label)
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.String
toString()
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLabel
public String getLabel()
The label for this facet range, suitable for display.- Returns:
- label for this facet range, suitable for display
-
getDisplayOrder
public Integer 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
public String getMinValue()
The lowest value included in this facet range.- Returns:
- range's lowest value
-
getMaxValue
public String getMaxValue()
The highest value included in this facet range.- Returns:
- range's highest value
-
setLabel
public void setLabel(String label)
The label for this facet range, suitable for display.- Parameters:
label
- label for this facet range, suitable for display
-
setDisplayOrder
public void setDisplayOrder(Integer displayOrder)
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
public void setMinValue(String minValue)
The lowest value included in this facet range.- Parameters:
minValue
- range's lowest value
-
setMaxValue
public void setMaxValue(String maxValue)
The highest value included in this facet range.- Parameters:
maxValue
- range's highest value
-
canEqual
protected boolean canEqual(Object other)
-
-