Interface SearchExistsExpression
- All Superinterfaces:
SearchQuery
,SearchQueryExpression
SearchExistsExpression
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchExistsExpression searchExistsExpression = SearchExistsExpression.builder()
.exists(existsBuilder -> existsBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for SearchExistsExpressionbuilder
(SearchExistsExpression template) create builder for SearchExistsExpression instancestatic SearchExistsExpression
deepCopy
(SearchExistsExpression template) factory method to create a deep copy of SearchExistsExpression@NotNull @Valid SearchExistsValue
static SearchExistsExpression
of()
factory methodstatic SearchExistsExpression
of
(SearchExistsExpression template) factory method to create a shallow copy SearchExistsExpressionvoid
setExists
(SearchExistsValue exists) set existsstatic com.fasterxml.jackson.core.type.TypeReference<SearchExistsExpression>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.search.SearchQuery
withSearchQuery
Methods inherited from interface com.commercetools.api.models.search.SearchQueryExpression
withSearchQueryExpression
-
Method Details
-
getExists
- Returns:
- exists
-
setExists
set exists- Parameters:
exists
- value to be set
-
of
factory method- Returns:
- instance of SearchExistsExpression
-
of
factory method to create a shallow copy SearchExistsExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of SearchExistsExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SearchExistsExpression- Returns:
- builder
-
builder
create builder for SearchExistsExpression instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withSearchExistsExpression
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
-