Class ProductDetailComponentModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class ProductDetailComponentModel
    extends SimpleCMSComponentModel
    Generated model class for type ProductDetailComponent first defined at extension cms2lib.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String PRODUCTCODE
        Generated constant - Attribute key of ProductDetailComponent.productCode attribute defined at extension cms2lib.
        See Also:
        Constant Field Values
      • PRODUCT

        public static final java.lang.String PRODUCT
        Generated constant - Attribute key of ProductDetailComponent.product attribute defined at extension cms2lib.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ProductDetailComponentModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public ProductDetailComponentModel​(CatalogVersionModel _catalogVersion,
                                           java.lang.String _uid)
        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 CMSItem at extension cms2
        _uid - initial attribute declared by type CMSItem at extension cms2
      • ProductDetailComponentModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public ProductDetailComponentModel​(CatalogVersionModel _catalogVersion,
                                           ItemModel _owner,
                                           java.lang.String _uid)
        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 CMSItem at extension cms2
        _owner - initial attribute declared by type Item at extension core
        _uid - initial attribute declared by type CMSItem at extension cms2
    • Method Detail

      • getProduct

        @Accessor(qualifier="product",
                  type=GETTER)
        public ProductModel getProduct()
        Generated method - Getter of the ProductDetailComponent.product attribute defined at extension cms2lib.
        Returns:
        the product
      • getProductCode

        @Accessor(qualifier="productCode",
                  type=GETTER)
        public java.lang.String getProductCode()
        Generated method - Getter of the ProductDetailComponent.productCode attribute defined at extension cms2lib.
        Returns:
        the productCode
      • setProduct

        @Accessor(qualifier="product",
                  type=SETTER)
        public void setProduct​(ProductModel value)
        Generated method - Setter of ProductDetailComponent.product attribute defined at extension cms2lib.
        Parameters:
        value - the product