Interface SearchDateTimeRangeExpression
- All Superinterfaces:
SearchQuery
,SearchQueryExpression
SearchDateTimeRangeExpression
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchDateTimeRangeExpression searchDateTimeRangeExpression = SearchDateTimeRangeExpression.builder()
.range(rangeBuilder -> rangeBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for SearchDateTimeRangeExpressionbuilder
(SearchDateTimeRangeExpression template) create builder for SearchDateTimeRangeExpression instancedeepCopy
(SearchDateTimeRangeExpression template) factory method to create a deep copy of SearchDateTimeRangeExpression@NotNull @Valid SearchDateTimeRangeValue
getRange()
of()
factory methodof
(SearchDateTimeRangeExpression template) factory method to create a shallow copy SearchDateTimeRangeExpressionvoid
setRange
(SearchDateTimeRangeValue range) set rangestatic com.fasterxml.jackson.core.type.TypeReference<SearchDateTimeRangeExpression>
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 SearchDateTimeRangeExpression
-
of
factory method to create a shallow copy SearchDateTimeRangeExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static SearchDateTimeRangeExpression deepCopy(@Nullable SearchDateTimeRangeExpression template) factory method to create a deep copy of SearchDateTimeRangeExpression- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SearchDateTimeRangeExpression- Returns:
- builder
-
builder
create builder for SearchDateTimeRangeExpression instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withSearchDateTimeRangeExpression
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
-