Interface LocalizableTextSetAttribute
- All Superinterfaces:
Attribute
This type represents an attribute whose value is a localized text.
Example to create an instance using the builder pattern
LocalizableTextSetAttribute localizableTextSetAttribute = LocalizableTextSetAttribute.builder()
.plusValue(valueBuilder -> valueBuilder)
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for LocalizableTextSetAttributebuilder
(LocalizableTextSetAttribute template) create builder for LocalizableTextSetAttribute instancestatic LocalizableTextSetAttribute
deepCopy
(LocalizableTextSetAttribute template) factory method to create a deep copy of LocalizableTextSetAttribute@NotNull @Valid List<LocalizedString>
getValue()
static LocalizableTextSetAttribute
of()
factory methodstatic LocalizableTextSetAttribute
of
(LocalizableTextSetAttribute template) factory method to create a shallow copy LocalizableTextSetAttributevoid
setValue
(LocalizedString... value) set valuevoid
setValue
(List<LocalizedString> value) set valuestatic com.fasterxml.jackson.core.type.TypeReference<LocalizableTextSetAttribute>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.importapi.models.productvariants.Attribute
getName, getType, setName, withAttribute
-
Field Details
-
LTEXT_SET
discriminator value for LocalizableTextSetAttribute- 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 LocalizableTextSetAttribute
-
of
factory method to create a shallow copy LocalizableTextSetAttribute- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static LocalizableTextSetAttribute deepCopy(@Nullable LocalizableTextSetAttribute template) factory method to create a deep copy of LocalizableTextSetAttribute- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for LocalizableTextSetAttribute- Returns:
- builder
-
builder
create builder for LocalizableTextSetAttribute instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withLocalizableTextSetAttribute
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
-