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 instancecopyDeep()static SearchExistsExpressiondeepCopy(SearchExistsExpression template) factory method to create a deep copy of SearchExistsExpression@NotNull @Valid SearchExistsValuestatic SearchExistsExpressionof()factory methodstatic SearchExistsExpressionof(SearchExistsExpression template) factory method to create a shallow copy SearchExistsExpressionvoidsetExists(SearchExistsValue exists) set existsstatic com.fasterxml.jackson.core.type.TypeReference<SearchExistsExpression>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.search.SearchQuery
withSearchQueryMethods 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
-
copyDeep
SearchExistsExpression copyDeep()- Specified by:
copyDeepin interfaceSearchQuery- Specified by:
copyDeepin interfaceSearchQueryExpression
-
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
-