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

    Constructors
    Constructor
    Description
    create empty instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    If no tokenizer is defined, the text is used as a single token.
    Text to return in the result of a suggest query.
    int
     
    void
    If no tokenizer is defined, the text 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, 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

      public String getText()

      Text to return in the result of a suggest query.

      Specified by:
      getText in interface SearchKeyword
      Returns:
      text
    • getSuggestTokenizer

      public SuggestTokenizer getSuggestTokenizer()

      If no tokenizer is defined, the text is used as a single token.

      Specified by:
      getSuggestTokenizer in interface SearchKeyword
      Returns:
      suggestTokenizer
    • setText

      public void setText(String text)
      Description copied from interface: SearchKeyword

      Text to return in the result of a suggest query.

      Specified by:
      setText in interface SearchKeyword
      Parameters:
      text - value to be set
    • setSuggestTokenizer

      public void setSuggestTokenizer(SuggestTokenizer suggestTokenizer)
      Description copied from interface: SearchKeyword

      If no tokenizer is defined, the text is used as a single token.

      Specified by:
      setSuggestTokenizer in interface SearchKeyword
      Parameters:
      suggestTokenizer - value to be set
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object