Interface SearchKeyword
public interface SearchKeyword
SearchKeyword
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchKeyword searchKeyword = SearchKeyword.builder()
.text("{text}")
.suggestTokenizer(suggestTokenizerBuilder -> suggestTokenizerBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic SearchKeywordBuilderbuilder()builder factory method for SearchKeywordstatic SearchKeywordBuilderbuilder(SearchKeyword template) create builder for SearchKeyword instancecopyDeep()static SearchKeyworddeepCopy(SearchKeyword template) factory method to create a deep copy of SearchKeyword@NotNull @Valid SuggestTokenizer@NotNull StringgetText()static SearchKeywordof()factory methodstatic SearchKeywordof(SearchKeyword template) factory method to create a shallow copy SearchKeywordvoidsetSuggestTokenizer(SuggestTokenizer suggestTokenizer) set suggestTokenizervoidset textstatic com.fasterxml.jackson.core.type.TypeReference<SearchKeyword>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithSearchKeyword(Function<SearchKeyword, T> helper) accessor map function
-
Method Details
-
getText
- Returns:
- text
-
getSuggestTokenizer
- Returns:
- suggestTokenizer
-
setText
set text- Parameters:
text- value to be set
-
setSuggestTokenizer
set suggestTokenizer- Parameters:
suggestTokenizer- value to be set
-
of
factory method- Returns:
- instance of SearchKeyword
-
of
factory method to create a shallow copy SearchKeyword- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
SearchKeyword copyDeep() -
deepCopy
factory method to create a deep copy of SearchKeyword- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SearchKeyword- Returns:
- builder
-
builder
create builder for SearchKeyword instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withSearchKeyword
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-