Interface AttributeTimeType
- All Superinterfaces:
AttributeType
Attribute type for Time type values.
Example to create an instance using the builder pattern
AttributeTimeType attributeTimeType = AttributeTimeType.builder()
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeTimeTypeBuilderbuilder()builder factory method for AttributeTimeTypestatic AttributeTimeTypeBuilderbuilder(AttributeTimeType template) create builder for AttributeTimeType instancecopyDeep()static AttributeTimeTypedeepCopy(AttributeTimeType template) factory method to create a deep copy of AttributeTimeTypestatic AttributeTimeTypeof()factory methodstatic AttributeTimeTypeof(AttributeTimeType template) factory method to create a shallow copy AttributeTimeTypestatic com.fasterxml.jackson.core.type.TypeReference<AttributeTimeType>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithAttributeTimeType(Function<AttributeTimeType, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.product_type.AttributeType
getName, withAttributeType
-
Field Details
-
TIME
discriminator value for AttributeTimeType- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of AttributeTimeType
-
of
factory method to create a shallow copy AttributeTimeType- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
AttributeTimeType copyDeep()- Specified by:
copyDeepin interfaceAttributeType
-
deepCopy
factory method to create a deep copy of AttributeTimeType- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AttributeTimeType- Returns:
- builder
-
builder
create builder for AttributeTimeType instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withAttributeTimeType
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
-