Interface SearchNotExpression
- All Superinterfaces:
SearchCompoundExpression
,SearchQuery
SearchNotExpression
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchNotExpression searchNotExpression = SearchNotExpression.builder()
.plusNot(notBuilder -> notBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic SearchNotExpressionBuilder
builder()
builder factory method for SearchNotExpressionstatic SearchNotExpressionBuilder
builder
(SearchNotExpression template) create builder for SearchNotExpression instancestatic SearchNotExpression
deepCopy
(SearchNotExpression template) factory method to create a deep copy of SearchNotExpression@NotNull @Valid List<SearchQuery>
getNot()
static SearchNotExpression
of()
factory methodstatic SearchNotExpression
of
(SearchNotExpression template) factory method to create a shallow copy SearchNotExpressionvoid
setNot
(SearchQuery... not) set notvoid
setNot
(List<SearchQuery> not) set notstatic com.fasterxml.jackson.core.type.TypeReference<SearchNotExpression>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withSearchNotExpression
(Function<SearchNotExpression, 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
-
getNot
- Returns:
- not
-
setNot
set not- Parameters:
not
- values to be set
-
setNot
set not- Parameters:
not
- values to be set
-
of
factory method- Returns:
- instance of SearchNotExpression
-
of
factory method to create a shallow copy SearchNotExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of SearchNotExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SearchNotExpression- Returns:
- builder
-
builder
create builder for SearchNotExpression instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withSearchNotExpression
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
-