Class AttributeDefinitionImpl

java.lang.Object
com.commercetools.api.models.product_type.AttributeDefinitionImpl
All Implemented Interfaces:
AttributeDefinition, io.vrap.rmf.base.client.ModelBase

public class AttributeDefinitionImpl extends Object implements AttributeDefinition, io.vrap.rmf.base.client.ModelBase

Describes a Product Attribute and allows you to define meta-information associated with the Attribute (like whether it should be searchable, or its constraints).

  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase

    io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
  • Constructor Summary

    Constructors
    Constructor
    Description
    create empty instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Specifies how Attributes are validated across all variants of a Product.
    Provides a visual representation directive for values of this Attribute (only relevant for AttributeTextType and AttributeLocalizableTextType).
    Provides additional Attribute information to aid content managers configure Product details.
    If true, the Attribute must have a value on a ProductVariant.
    If true, the Attribute's values are available for the Product Projections Search API for use in full-text search queries, filters, and facets.
    Human-readable label for the Attribute.
    User-defined name of the Attribute that is unique within the Project.
    Describes the Type of the Attribute.
    int
     
    void
    Specifies how Attributes are validated across all variants of a Product.
    void
    Provides a visual representation directive for values of this Attribute (only relevant for AttributeTextType and AttributeLocalizableTextType).
    void
    Provides additional Attribute information to aid content managers configure Product details.
    void
    setIsRequired(Boolean isRequired)
    If true, the Attribute must have a value on a ProductVariant.
    void
    setIsSearchable(Boolean isSearchable)
    If true, the Attribute's values are available for the Product Projections Search API for use in full-text search queries, filters, and facets.
    void
    Human-readable label for the Attribute.
    void
    User-defined name of the Attribute that is unique within the Project.
    void
    Describes the Type of the Attribute.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.commercetools.api.models.product_type.AttributeDefinition

    withAttributeDefinition

    Methods inherited from interface io.vrap.rmf.base.client.ModelBase

    reflectionString, reflectionString