Interface SearchNumberRangeValue
- All Superinterfaces:
SearchQueryExpressionValue
SearchNumberRangeValue
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchNumberRangeValue searchNumberRangeValue = SearchNumberRangeValue.builder()
.field("{field}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for SearchNumberRangeValuebuilder
(SearchNumberRangeValue template) create builder for SearchNumberRangeValue instancestatic SearchNumberRangeValue
deepCopy
(SearchNumberRangeValue template) factory method to create a deep copy of SearchNumberRangeValuegetGt()
getGte()
getLt()
getLte()
static SearchNumberRangeValue
of()
factory methodstatic SearchNumberRangeValue
of
(SearchNumberRangeValue template) factory method to create a shallow copy SearchNumberRangeValuevoid
set gtvoid
set gtevoid
set ltvoid
set ltestatic com.fasterxml.jackson.core.type.TypeReference<SearchNumberRangeValue>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.search.SearchQueryExpressionValue
getBoost, getField, getFieldType, setBoost, setField, setFieldType, withSearchQueryExpressionValue
-
Method Details
-
getGte
Double getGte()- Returns:
- gte
-
getGt
Double getGt()- Returns:
- gt
-
getLte
Double getLte()- Returns:
- lte
-
getLt
Double getLt()- Returns:
- lt
-
setGte
set gte- Parameters:
gte
- value to be set
-
setGt
set gt- Parameters:
gt
- value to be set
-
setLte
set lte- Parameters:
lte
- value to be set
-
setLt
set lt- Parameters:
lt
- value to be set
-
of
factory method- Returns:
- instance of SearchNumberRangeValue
-
of
factory method to create a shallow copy SearchNumberRangeValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of SearchNumberRangeValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SearchNumberRangeValue- Returns:
- builder
-
builder
create builder for SearchNumberRangeValue instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withSearchNumberRangeValue
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
-