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 instancestatic SearchPrefixExpression
deepCopy
(SearchPrefixExpression template) factory method to create a deep copy of SearchPrefixExpression@NotNull @Valid SearchAnyValue
static SearchPrefixExpression
of()
factory methodstatic SearchPrefixExpression
of
(SearchPrefixExpression template) factory method to create a shallow copy SearchPrefixExpressionvoid
setPrefix
(SearchAnyValue prefix) set prefixstatic com.fasterxml.jackson.core.type.TypeReference<SearchPrefixExpression>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.search.SearchQuery
withSearchQuery
Methods 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
-
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
-