Interface SearchPrefixExpression
- All Superinterfaces:
SearchQuery,SearchQueryExpression
SearchPrefixExpression
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchPrefixExpression searchPrefixExpression = SearchPrefixExpression.builder()
.prefix(prefixBuilder -> prefixBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for SearchPrefixExpressionbuilder(SearchPrefixExpression template) create builder for SearchPrefixExpression instancecopyDeep()static SearchPrefixExpressiondeepCopy(SearchPrefixExpression template) factory method to create a deep copy of SearchPrefixExpression@NotNull @Valid SearchAnyValuestatic SearchPrefixExpressionof()factory methodstatic SearchPrefixExpressionof(SearchPrefixExpression template) factory method to create a shallow copy SearchPrefixExpressionvoidsetPrefix(SearchAnyValue prefix) set prefixstatic com.fasterxml.jackson.core.type.TypeReference<SearchPrefixExpression>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.search.SearchQuery
withSearchQueryMethods inherited from interface com.commercetools.api.models.search.SearchQueryExpression
withSearchQueryExpression
-
Method Details
-
getPrefix
- Returns:
- prefix
-
setPrefix
set prefix- Parameters:
prefix- value to be set
-
of
factory method- Returns:
- instance of SearchPrefixExpression
-
of
factory method to create a shallow copy SearchPrefixExpression- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
SearchPrefixExpression copyDeep()- Specified by:
copyDeepin interfaceSearchQuery- Specified by:
copyDeepin interfaceSearchQueryExpression
-
deepCopy
factory method to create a deep copy of SearchPrefixExpression- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SearchPrefixExpression- Returns:
- builder
-
builder
create builder for SearchPrefixExpression instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withSearchPrefixExpression
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
-