Interface AttributeLocalizedEnumType
- All Superinterfaces:
AttributeType
- All Known Implementing Classes:
AttributeLocalizedEnumTypeImpl
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
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for AttributeLocalizedEnumTypebuilder
(AttributeLocalizedEnumType template) create builder for AttributeLocalizedEnumType instancestatic AttributeLocalizedEnumType
deepCopy
(AttributeLocalizedEnumType template) factory method to create a deep copy of AttributeLocalizedEnumType@NotNull @Valid List<AttributeLocalizedEnumValue>
static AttributeLocalizedEnumType
of()
factory methodstatic AttributeLocalizedEnumType
of
(AttributeLocalizedEnumType template) factory method to create a shallow copy AttributeLocalizedEnumTypevoid
setValues
(AttributeLocalizedEnumValue... values) set valuesvoid
setValues
(List<AttributeLocalizedEnumValue> values) set valuesstatic com.fasterxml.jackson.core.type.TypeReference<AttributeLocalizedEnumType>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor 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
-
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
-