Class SearchKeywordImpl
java.lang.Object
com.commercetools.api.models.product.SearchKeywordImpl
- All Implemented Interfaces:
SearchKeyword
,io.vrap.rmf.base.client.ModelBase
public class SearchKeywordImpl
extends Object
implements SearchKeyword, io.vrap.rmf.base.client.ModelBase
SearchKeyword
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
If no tokenizer is defined, thetext
is used as a single token.getText()
Text to return in the result of a suggest query.int
hashCode()
void
setSuggestTokenizer
(SuggestTokenizer suggestTokenizer) If no tokenizer is defined, thetext
is used as a single token.void
Text to return in the result of a suggest query.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.product.SearchKeyword
withSearchKeyword
-
Constructor Details
-
SearchKeywordImpl
public SearchKeywordImpl()create empty instance
-
-
Method Details
-
getText
Text to return in the result of a suggest query.
- Specified by:
getText
in interfaceSearchKeyword
- Returns:
- text
-
getSuggestTokenizer
If no tokenizer is defined, the
text
is used as a single token.- Specified by:
getSuggestTokenizer
in interfaceSearchKeyword
- Returns:
- suggestTokenizer
-
setText
Description copied from interface:SearchKeyword
Text to return in the result of a suggest query.
- Specified by:
setText
in interfaceSearchKeyword
- Parameters:
text
- value to be set
-
setSuggestTokenizer
Description copied from interface:SearchKeyword
If no tokenizer is defined, the
text
is used as a single token.- Specified by:
setSuggestTokenizer
in interfaceSearchKeyword
- Parameters:
suggestTokenizer
- value to be set
-
equals
-
hashCode
public int hashCode()
-