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 SearchTimeRangeValueBuilderbuilder()builder factory method for SearchTimeRangeValuestatic SearchTimeRangeValueBuilderbuilder(SearchTimeRangeValue template) create builder for SearchTimeRangeValue instancecopyDeep()static SearchTimeRangeValuedeepCopy(SearchTimeRangeValue template) factory method to create a deep copy of SearchTimeRangeValuegetGt()getGte()getLt()getLte()static SearchTimeRangeValueof()factory methodstatic SearchTimeRangeValueof(SearchTimeRangeValue template) factory method to create a shallow copy SearchTimeRangeValuevoidset gtvoidset gtevoidset ltvoidset ltestatic com.fasterxml.jackson.core.type.TypeReference<SearchTimeRangeValue>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithSearchTimeRangeValue(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
-
copyDeep
SearchTimeRangeValue copyDeep()- Specified by:
copyDeepin interfaceSearchQueryExpressionValue
-
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
-