Class VariantValueCategoryModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.category.model.CategoryModel
de.hybris.platform.variants.model.VariantValueCategoryModel
All Implemented Interfaces:
Serializable

public class VariantValueCategoryModel extends CategoryModel
Generated model class for type VariantValueCategory first defined at extension basecommerce.

Value category for variant types (it defines the dimensions).

See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • SEQUENCE

      public static final String SEQUENCE
      Generated constant - Attribute key of VariantValueCategory.sequence attribute defined at extension basecommerce.
      See Also:
    • COLORCODE

      public static final String COLORCODE
      Generated constant - Attribute key of VariantValueCategory.colorCode attribute defined at extension tuadatacommonsservices.
      See Also:
  • Constructor Details

    • VariantValueCategoryModel

      public VariantValueCategoryModel()
      Generated constructor - Default constructor for generic creation.
    • VariantValueCategoryModel

      public VariantValueCategoryModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • VariantValueCategoryModel

      @Deprecated(since="4.1.1", forRemoval=true) public VariantValueCategoryModel(CatalogVersionModel _catalogVersion, String _code)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _catalogVersion - initial attribute declared by type Category at extension catalog
      _code - initial attribute declared by type Category at extension catalog
    • VariantValueCategoryModel

      @Deprecated(since="4.1.1", forRemoval=true) public VariantValueCategoryModel(CatalogVersionModel _catalogVersion, String _code, ItemModel _owner)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _catalogVersion - initial attribute declared by type Category at extension catalog
      _code - initial attribute declared by type Category at extension catalog
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getColorCode

      @Accessor(qualifier="colorCode", type=GETTER) public String getColorCode()
      Generated method - Getter of the VariantValueCategory.colorCode attribute defined at extension tuadatacommonsservices.
      Returns:
      the colorCode - The hex code of the color, used for color variants.
    • getSequence

      @Accessor(qualifier="sequence", type=GETTER) public Integer getSequence()
      Generated method - Getter of the VariantValueCategory.sequence attribute defined at extension basecommerce.
      Returns:
      the sequence
    • setColorCode

      @Accessor(qualifier="colorCode", type=SETTER) public void setColorCode(String value)
      Generated method - Setter of VariantValueCategory.colorCode attribute defined at extension tuadatacommonsservices.
      Parameters:
      value - the colorCode - The hex code of the color, used for color variants.
    • setSequence

      @Accessor(qualifier="sequence", type=SETTER) public void setSequence(Integer value)
      Generated method - Setter of VariantValueCategory.sequence attribute defined at extension basecommerce.
      Parameters:
      value - the sequence