java.lang.Object
com.broadleafcommerce.search.api.domain.typeahead.Suggestion

public class Suggestion extends Object
Returned in a TypeAheadResult, this contains suggestion values returned by the search engine.
  • Constructor Details

    • Suggestion

      public Suggestion()
    • Suggestion

      public Suggestion(String term)
  • Method Details

    • getTerm

      public String getTerm()
      The suggested term.
      Returns:
      the suggested term
    • setTerm

      public void setTerm(String term)
      The suggested term.
      Parameters:
      term - the suggested term
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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