Interface AttributeDateTimeType
- All Superinterfaces:
AttributeType
Attribute type for DateTime type values.
Example to create an instance using the builder pattern
AttributeDateTimeType attributeDateTimeType = AttributeDateTimeType.builder()
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeDateTimeTypeBuilderbuilder()builder factory method for AttributeDateTimeTypestatic AttributeDateTimeTypeBuilderbuilder(AttributeDateTimeType template) create builder for AttributeDateTimeType instancecopyDeep()static AttributeDateTimeTypedeepCopy(AttributeDateTimeType template) factory method to create a deep copy of AttributeDateTimeTypestatic AttributeDateTimeTypeof()factory methodstatic AttributeDateTimeTypeof(AttributeDateTimeType template) factory method to create a shallow copy AttributeDateTimeTypestatic com.fasterxml.jackson.core.type.TypeReference<AttributeDateTimeType>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.product_type.AttributeType
getName, withAttributeType
-
Field Details
-
DATETIME
discriminator value for AttributeDateTimeType- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of AttributeDateTimeType
-
of
factory method to create a shallow copy AttributeDateTimeType- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
AttributeDateTimeType copyDeep()- Specified by:
copyDeepin interfaceAttributeType
-
deepCopy
factory method to create a deep copy of AttributeDateTimeType- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AttributeDateTimeType- Returns:
- builder
-
builder
create builder for AttributeDateTimeType instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withAttributeDateTimeType
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
-