Interface SearchLongRangeValue
- All Superinterfaces:
SearchQueryExpressionValue
SearchLongRangeValue
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchLongRangeValue searchLongRangeValue = SearchLongRangeValue.builder()
.field("{field}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic SearchLongRangeValueBuilder
builder()
builder factory method for SearchLongRangeValuestatic SearchLongRangeValueBuilder
builder
(SearchLongRangeValue template) create builder for SearchLongRangeValue instancestatic SearchLongRangeValue
deepCopy
(SearchLongRangeValue template) factory method to create a deep copy of SearchLongRangeValuegetGt()
getGte()
getLt()
getLte()
static SearchLongRangeValue
of()
factory methodstatic SearchLongRangeValue
of
(SearchLongRangeValue template) factory method to create a shallow copy SearchLongRangeValuevoid
set gtvoid
set gtevoid
set ltvoid
set ltestatic com.fasterxml.jackson.core.type.TypeReference<SearchLongRangeValue>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withSearchLongRangeValue
(Function<SearchLongRangeValue, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.search.SearchQueryExpressionValue
getBoost, getField, getFieldType, setBoost, setField, setFieldType, withSearchQueryExpressionValue
-
Method Details
-
getGte
Long getGte()- Returns:
- gte
-
getGt
Long getGt()- Returns:
- gt
-
getLte
Long getLte()- Returns:
- lte
-
getLt
Long 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 SearchLongRangeValue
-
of
factory method to create a shallow copy SearchLongRangeValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of SearchLongRangeValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SearchLongRangeValue- Returns:
- builder
-
builder
create builder for SearchLongRangeValue instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withSearchLongRangeValue
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
-