Interface DateSetAttribute
- All Superinterfaces:
Attribute
This type represents an attribute whose value is a set of dates.
Example to create an instance using the builder pattern
DateSetAttribute dateSetAttribute = DateSetAttribute.builder()
.plusValue(valueBuilder -> valueBuilder)
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DateSetAttributeBuilder
builder()
builder factory method for DateSetAttributestatic DateSetAttributeBuilder
builder
(DateSetAttribute template) create builder for DateSetAttribute instancestatic DateSetAttribute
deepCopy
(DateSetAttribute template) factory method to create a deep copy of DateSetAttributegetValue()
static DateSetAttribute
of()
factory methodstatic DateSetAttribute
of
(DateSetAttribute template) factory method to create a shallow copy DateSetAttributevoid
set valuevoid
set valuestatic com.fasterxml.jackson.core.type.TypeReference<DateSetAttribute>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withDateSetAttribute
(Function<DateSetAttribute, T> helper) accessor map functionMethods inherited from interface com.commercetools.importapi.models.productvariants.Attribute
getName, getType, setName, withAttribute
-
Field Details
-
DATE_SET
discriminator value for DateSetAttribute- See Also:
-
-
Method Details
-
getValue
- Returns:
- value
-
setValue
set value- Parameters:
value
- values to be set
-
setValue
set value- Parameters:
value
- values to be set
-
of
factory method- Returns:
- instance of DateSetAttribute
-
of
factory method to create a shallow copy DateSetAttribute- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of DateSetAttribute- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for DateSetAttribute- Returns:
- builder
-
builder
create builder for DateSetAttribute instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withDateSetAttribute
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
-