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 SearchAndExpressionBuilderbuilder()builder factory method for SearchAndExpressionstatic SearchAndExpressionBuilderbuilder(SearchAndExpression template) create builder for SearchAndExpression instancecopyDeep()static SearchAndExpressiondeepCopy(SearchAndExpression template) factory method to create a deep copy of SearchAndExpression@NotNull @Valid List<SearchQuery>getAnd()static SearchAndExpressionof()factory methodstatic SearchAndExpressionof(SearchAndExpression template) factory method to create a shallow copy SearchAndExpressionvoidsetAnd(SearchQuery... and) set andvoidsetAnd(List<SearchQuery> and) set andstatic com.fasterxml.jackson.core.type.TypeReference<SearchAndExpression>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithSearchAndExpression(Function<SearchAndExpression, 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
-
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
-
copyDeep
SearchAndExpression copyDeep()- Specified by:
copyDeepin interfaceSearchCompoundExpression- Specified by:
copyDeepin interfaceSearchQuery
-
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
-