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 SearchNotExpressionBuilderbuilder()builder factory method for SearchNotExpressionstatic SearchNotExpressionBuilderbuilder(SearchNotExpression template) create builder for SearchNotExpression instancecopyDeep()static SearchNotExpressiondeepCopy(SearchNotExpression template) factory method to create a deep copy of SearchNotExpression@NotNull @Valid List<SearchQuery>getNot()static SearchNotExpressionof()factory methodstatic SearchNotExpressionof(SearchNotExpression template) factory method to create a shallow copy SearchNotExpressionvoidsetNot(SearchQuery... not) set notvoidsetNot(List<SearchQuery> not) set notstatic com.fasterxml.jackson.core.type.TypeReference<SearchNotExpression>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithSearchNotExpression(Function<SearchNotExpression, 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
-
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
-
copyDeep
SearchNotExpression copyDeep()- Specified by:
copyDeepin interfaceSearchCompoundExpression- Specified by:
copyDeepin interfaceSearchQuery
-
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
-