All Known Subinterfaces:
BooleanAttribute, BooleanSetAttribute, DateAttribute, DateSetAttribute, DateTimeAttribute, DateTimeSetAttribute, EnumAttribute, EnumSetAttribute, LocalizableEnumAttribute, LocalizableEnumSetAttribute, LocalizableTextAttribute, LocalizableTextSetAttribute, MoneyAttribute, MoneySetAttribute, NumberAttribute, NumberSetAttribute, ReferenceAttribute, ReferenceSetAttribute, TextAttribute, TextSetAttribute, TimeAttribute, TimeSetAttribute
All Known Implementing Classes:
AttributeImpl, BooleanAttributeImpl, BooleanSetAttributeImpl, DateAttributeImpl, DateSetAttributeImpl, DateTimeAttributeImpl, DateTimeSetAttributeImpl, EnumAttributeImpl, EnumSetAttributeImpl, LocalizableEnumAttributeImpl, LocalizableEnumSetAttributeImpl, LocalizableTextAttributeImpl, LocalizableTextSetAttributeImpl, MoneyAttributeImpl, MoneySetAttributeImpl, NumberAttributeImpl, NumberSetAttributeImpl, ReferenceAttributeImpl, ReferenceSetAttributeImpl, TextAttributeImpl, TextSetAttributeImpl, TimeAttributeImpl, TimeSetAttributeImpl

public interface Attribute

This type represents the value of an attribute of a product variant. The name and type property must match the name and type property of an attribute definition of the product type.


Example to create a subtype instance using the builder pattern

     Attribute attribute = Attribute.booleanBuilder()
             value(true)
             .build()