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 SearchDateRangeValueBuilder
builder()
builder factory method for SearchDateRangeValuestatic SearchDateRangeValueBuilder
builder
(SearchDateRangeValue template) create builder for SearchDateRangeValue instancestatic SearchDateRangeValue
deepCopy
(SearchDateRangeValue template) factory method to create a deep copy of SearchDateRangeValuegetGt()
getGte()
getLt()
getLte()
static SearchDateRangeValue
of()
factory methodstatic SearchDateRangeValue
of
(SearchDateRangeValue template) factory method to create a shallow copy SearchDateRangeValuevoid
set gtvoid
set gtevoid
set ltvoid
set ltestatic com.fasterxml.jackson.core.type.TypeReference<SearchDateRangeValue>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withSearchDateRangeValue
(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
-
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
-