Interface AttributeTextType
- All Superinterfaces:
AttributeType
Attribute type for plain text values.
Example to create an instance using the builder pattern
AttributeTextType attributeTextType = AttributeTextType.builder()
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeTextTypeBuilder
builder()
builder factory method for AttributeTextTypestatic AttributeTextTypeBuilder
builder
(AttributeTextType template) create builder for AttributeTextType instancestatic AttributeTextType
deepCopy
(AttributeTextType template) factory method to create a deep copy of AttributeTextTypestatic AttributeTextType
of()
factory methodstatic AttributeTextType
of
(AttributeTextType template) factory method to create a shallow copy AttributeTextTypestatic com.fasterxml.jackson.core.type.TypeReference<AttributeTextType>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withAttributeTextType
(Function<AttributeTextType, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.product_type.AttributeType
getName, withAttributeType
-
Field Details
-
TEXT
discriminator value for AttributeTextType- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of AttributeTextType
-
of
factory method to create a shallow copy AttributeTextType- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of AttributeTextType- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AttributeTextType- Returns:
- builder
-
builder
create builder for AttributeTextType instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withAttributeTextType
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
-