Interface SearchDateRangeValue
- All Superinterfaces:
SearchQueryExpressionValue
SearchDateRangeValue
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchDateRangeValue searchDateRangeValue = SearchDateRangeValue.builder()
.field("{field}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic SearchDateRangeValueBuilderbuilder()builder factory method for SearchDateRangeValuestatic SearchDateRangeValueBuilderbuilder(SearchDateRangeValue template) create builder for SearchDateRangeValue instancecopyDeep()static SearchDateRangeValuedeepCopy(SearchDateRangeValue template) factory method to create a deep copy of SearchDateRangeValuegetGt()getGte()getLt()getLte()static SearchDateRangeValueof()factory methodstatic SearchDateRangeValueof(SearchDateRangeValue template) factory method to create a shallow copy SearchDateRangeValuevoidset gtvoidset gtevoidset ltvoidset ltestatic com.fasterxml.jackson.core.type.TypeReference<SearchDateRangeValue>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithSearchDateRangeValue(Function<SearchDateRangeValue, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.search.SearchQueryExpressionValue
getBoost, getField, getFieldType, setBoost, setField, setFieldType, withSearchQueryExpressionValue
-
Method Details
-
getGte
LocalDate getGte()- Returns:
- gte
-
getGt
LocalDate getGt()- Returns:
- gt
-
getLte
LocalDate getLte()- Returns:
- lte
-
getLt
LocalDate 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 SearchDateRangeValue
-
of
factory method to create a shallow copy SearchDateRangeValue- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
SearchDateRangeValue copyDeep()- Specified by:
copyDeepin interfaceSearchQueryExpressionValue
-
deepCopy
factory method to create a deep copy of SearchDateRangeValue- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SearchDateRangeValue- Returns:
- builder
-
builder
create builder for SearchDateRangeValue instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withSearchDateRangeValue
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
-