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