Class ProductDetailComponentModel

All Implemented Interfaces:
Serializable

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

    • _TYPECODE

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

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

      public static final String PRODUCT
      Generated constant - Attribute key of ProductDetailComponent.product attribute defined at extension cms2lib.
      See Also:
  • Constructor Details

    • ProductDetailComponentModel

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

      public ProductDetailComponentModel(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
    • ProductDetailComponentModel

      @Deprecated(since="4.1.1", forRemoval=true) public ProductDetailComponentModel(CatalogVersionModel _catalogVersion, 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, 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 Details

    • 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 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