Interface SearchOrExpression
- All Superinterfaces:
SearchCompoundExpression,SearchQuery
SearchOrExpression
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchOrExpression searchOrExpression = SearchOrExpression.builder()
.plusOr(orBuilder -> orBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic SearchOrExpressionBuilderbuilder()builder factory method for SearchOrExpressionstatic SearchOrExpressionBuilderbuilder(SearchOrExpression template) create builder for SearchOrExpression instancecopyDeep()static SearchOrExpressiondeepCopy(SearchOrExpression template) factory method to create a deep copy of SearchOrExpression@NotNull @Valid List<SearchQuery>getOr()static SearchOrExpressionof()factory methodstatic SearchOrExpressionof(SearchOrExpression template) factory method to create a shallow copy SearchOrExpressionvoidsetOr(SearchQuery... or) set orvoidsetOr(List<SearchQuery> or) set orstatic com.fasterxml.jackson.core.type.TypeReference<SearchOrExpression>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithSearchOrExpression(Function<SearchOrExpression, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.search.SearchCompoundExpression
withSearchCompoundExpressionMethods inherited from interface com.commercetools.api.models.search.SearchQuery
withSearchQuery
-
Method Details
-
getOr
- Returns:
- or
-
setOr
set or- Parameters:
or- values to be set
-
setOr
set or- Parameters:
or- values to be set
-
of
factory method- Returns:
- instance of SearchOrExpression
-
of
factory method to create a shallow copy SearchOrExpression- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
SearchOrExpression copyDeep()- Specified by:
copyDeepin interfaceSearchCompoundExpression- Specified by:
copyDeepin interfaceSearchQuery
-
deepCopy
factory method to create a deep copy of SearchOrExpression- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SearchOrExpression- Returns:
- builder
-
builder
create builder for SearchOrExpression instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withSearchOrExpression
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
-