Class FacetResponse
- java.lang.Object
-
- com.broadleafcommerce.search.api.domain.FacetResponse
-
- All Implemented Interfaces:
Serializable
public class FacetResponse extends Object implements Serializable
Represents a search facet and its results from a search response.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description FacetResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)FacetgetFacet()The facet which was determined in the search.List<FacetValue>getValues()The values returned from search for this facet.inthashCode()voidsetFacet(Facet facet)The facet which was determined in the search.voidsetValues(List<FacetValue> values)The values returned from search for this facet.StringtoString()
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFacet
public Facet getFacet()
The facet which was determined in the search.- Returns:
- The facet used in search
-
getValues
public List<FacetValue> getValues()
The values returned from search for this facet.- Returns:
- The values for this facet
-
setFacet
public void setFacet(Facet facet)
The facet which was determined in the search.- Parameters:
facet- The facet used in search
-
setValues
public void setValues(List<FacetValue> values)
The values returned from search for this facet.- Parameters:
values- The values for this facet
-
canEqual
protected boolean canEqual(Object other)
-
-