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