Class TypeAheadResponse
java.lang.Object
com.broadleafcommerce.search.api.domain.typeahead.TypeAheadResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetDebug()The raw query response for debugging purposes.The keywords associated with this response.A map of suggestions, with the key being the name of the origin of the suggestion.inthashCode()voidThe raw query response for debugging purposes.voidsetKeyWords(LinkedHashSet<SuggestionPhrase> keyWords) The keywords associated with this response.voidA map of suggestions, with the key being the name of the origin of the suggestion.toString()
-
Constructor Details
-
TypeAheadResponse
public TypeAheadResponse()
-
-
Method Details
-
getKeyWords
The keywords associated with this response. These are the text predictions shown to the user.- Returns:
- keywords associated with this response
-
getSuggestions
A map of suggestions, with the key being the name of the origin of the suggestion. For example, it may be manufacturer, name, title, etc.- Returns:
- map of suggestions
-
getDebug
The raw query response for debugging purposes.- Returns:
- raw query response
-
setKeyWords
The keywords associated with this response. These are the text predictions shown to the user.- Parameters:
keyWords- keywords associated with this response
-
setSuggestions
A map of suggestions, with the key being the name of the origin of the suggestion. For example, it may be manufacturer, name, title, etc.- Parameters:
suggestions- map of suggestions
-
setDebug
The raw query response for debugging purposes.- Parameters:
debug- raw query response
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-