Class ApparelProductModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class ApparelProductModel
    extends ProductModel
    Generated model class for type ApparelProduct first defined at extension yacceleratorcore.

    Base apparel product extension that contains additional attributes.

    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String GENDERS
        Generated constant - Attribute key of ApparelProduct.genders attribute defined at extension yacceleratorcore.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ApparelProductModel

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

        public ApparelProductModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • ApparelProductModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public ApparelProductModel​(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 Product at extension catalog
        _code - initial attribute declared by type Product at extension core
      • ApparelProductModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public ApparelProductModel​(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 Product at extension catalog
        _code - initial attribute declared by type Product at extension core
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getGenders

        @Accessor(qualifier="genders",
                  type=GETTER)
        public java.util.List<Gender> getGenders()
        Generated method - Getter of the ApparelProduct.genders attribute defined at extension yacceleratorcore. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the genders - List of genders that the ApparelProduct is designed for
      • setGenders

        @Accessor(qualifier="genders",
                  type=SETTER)
        public void setGenders​(java.util.List<Gender> value)
        Generated method - Setter of ApparelProduct.genders attribute defined at extension yacceleratorcore.
        Parameters:
        value - the genders - List of genders that the ApparelProduct is designed for