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 long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description FacetResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
Facet
getFacet()
The facet which was determined in the search.List<FacetValue>
getValues()
The values returned from search for this facet.int
hashCode()
void
setFacet(Facet facet)
The facet which was determined in the search.void
setValues(List<FacetValue> values)
The values returned from search for this facet.String
toString()
-
-
-
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)
-
-