Class VariantValueCategoryModel

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • SEQUENCE

        public static final java.lang.String SEQUENCE
        Generated constant - Attribute key of VariantValueCategory.sequence attribute defined at extension basecommerce.
        See Also:
        Constant Field Values
    • Constructor Detail

      • VariantValueCategoryModel

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

        public VariantValueCategoryModel​(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,
                                         java.lang.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,
                                         java.lang.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 Detail

      • getSequence

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

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