Interface SearchDateRangeExpression
- All Superinterfaces:
SearchQuery
,SearchQueryExpression
SearchDateRangeExpression
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchDateRangeExpression searchDateRangeExpression = SearchDateRangeExpression.builder()
.range(rangeBuilder -> rangeBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for SearchDateRangeExpressionbuilder
(SearchDateRangeExpression template) create builder for SearchDateRangeExpression instancestatic SearchDateRangeExpression
deepCopy
(SearchDateRangeExpression template) factory method to create a deep copy of SearchDateRangeExpression@NotNull @Valid SearchDateRangeValue
getRange()
static SearchDateRangeExpression
of()
factory methodstatic SearchDateRangeExpression
of
(SearchDateRangeExpression template) factory method to create a shallow copy SearchDateRangeExpressionvoid
setRange
(SearchDateRangeValue range) set rangestatic com.fasterxml.jackson.core.type.TypeReference<SearchDateRangeExpression>
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
-
getRange
- Returns:
- range
-
setRange
set range- Parameters:
range
- value to be set
-
of
factory method- Returns:
- instance of SearchDateRangeExpression
-
of
factory method to create a shallow copy SearchDateRangeExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of SearchDateRangeExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SearchDateRangeExpression- Returns:
- builder
-
builder
create builder for SearchDateRangeExpression instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withSearchDateRangeExpression
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
-