Interface SearchAndExpression
- All Superinterfaces:
SearchCompoundExpression
,SearchQuery
SearchAndExpression
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchAndExpression searchAndExpression = SearchAndExpression.builder()
.plusAnd(andBuilder -> andBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic SearchAndExpressionBuilder
builder()
builder factory method for SearchAndExpressionstatic SearchAndExpressionBuilder
builder
(SearchAndExpression template) create builder for SearchAndExpression instancestatic SearchAndExpression
deepCopy
(SearchAndExpression template) factory method to create a deep copy of SearchAndExpression@NotNull @Valid List<SearchQuery>
getAnd()
static SearchAndExpression
of()
factory methodstatic SearchAndExpression
of
(SearchAndExpression template) factory method to create a shallow copy SearchAndExpressionvoid
setAnd
(SearchQuery... and) set andvoid
setAnd
(List<SearchQuery> and) set andstatic com.fasterxml.jackson.core.type.TypeReference<SearchAndExpression>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withSearchAndExpression
(Function<SearchAndExpression, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.search.SearchCompoundExpression
withSearchCompoundExpression
Methods inherited from interface com.commercetools.api.models.search.SearchQuery
withSearchQuery
-
Method Details
-
getAnd
- Returns:
- and
-
setAnd
set and- Parameters:
and
- values to be set
-
setAnd
set and- Parameters:
and
- values to be set
-
of
factory method- Returns:
- instance of SearchAndExpression
-
of
factory method to create a shallow copy SearchAndExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of SearchAndExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SearchAndExpression- Returns:
- builder
-
builder
create builder for SearchAndExpression instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withSearchAndExpression
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
-