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:
  • Constructor Details

    • FacetResponse

      public FacetResponse()
  • Method Details

    • 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
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object