Interface AttributeLocalizedEnumType
- All Superinterfaces:
AttributeType
AttributeLocalizedEnumType
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AttributeLocalizedEnumType attributeLocalizedEnumType = AttributeLocalizedEnumType.builder()
.plusValues(valuesBuilder -> valuesBuilder)
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for AttributeLocalizedEnumTypebuilder(AttributeLocalizedEnumType template) create builder for AttributeLocalizedEnumType instancecopyDeep()static AttributeLocalizedEnumTypedeepCopy(AttributeLocalizedEnumType template) factory method to create a deep copy of AttributeLocalizedEnumType@NotNull @Valid List<AttributeLocalizedEnumValue>static AttributeLocalizedEnumTypeof()factory methodstatic AttributeLocalizedEnumTypeof(AttributeLocalizedEnumType template) factory method to create a shallow copy AttributeLocalizedEnumTypevoidsetValues(AttributeLocalizedEnumValue... values) set valuesvoidsetValues(List<AttributeLocalizedEnumValue> values) set valuesstatic com.fasterxml.jackson.core.type.TypeReference<AttributeLocalizedEnumType>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.importapi.models.producttypes.AttributeType
getName, withAttributeType
-
Field Details
-
LENUM
discriminator value for AttributeLocalizedEnumType- See Also:
-
-
Method Details
-
getValues
- Returns:
- values
-
setValues
set values- Parameters:
values- values to be set
-
setValues
set values- Parameters:
values- values to be set
-
of
factory method- Returns:
- instance of AttributeLocalizedEnumType
-
of
factory method to create a shallow copy AttributeLocalizedEnumType- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
AttributeLocalizedEnumType copyDeep()- Specified by:
copyDeepin interfaceAttributeType
-
deepCopy
factory method to create a deep copy of AttributeLocalizedEnumType- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AttributeLocalizedEnumType- Returns:
- builder
-
builder
create builder for AttributeLocalizedEnumType instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withAttributeLocalizedEnumType
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
-