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