Class ProductFeatureComponentModel

All Implemented Interfaces:
Serializable

public class ProductFeatureComponentModel extends SimpleCMSComponentModel
Generated model class for type ProductFeatureComponent first defined at extension acceleratorcms.

Represents product feature component that displays some commercial information about the product.

See Also:
  • Field Details

    • _TYPECODE

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

      public static final String TITLE
      Generated constant - Attribute key of ProductFeatureComponent.title attribute defined at extension acceleratorcms.
      See Also:
    • DESCRIPTION

      public static final String DESCRIPTION
      Generated constant - Attribute key of ProductFeatureComponent.description attribute defined at extension acceleratorcms.
      See Also:
    • MEDIA

      public static final String MEDIA
      Generated constant - Attribute key of ProductFeatureComponent.media attribute defined at extension acceleratorcms.
      See Also:
    • PRODUCT

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

    • ProductFeatureComponentModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public ProductFeatureComponentModel(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
    • ProductFeatureComponentModel

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

    • getDescription

      @Accessor(qualifier="description", type=GETTER) public String getDescription()
      Generated method - Getter of the ProductFeatureComponent.description attribute defined at extension acceleratorcms.
      Returns:
      the description - Localized description of the component.
    • getDescription

      @Accessor(qualifier="description", type=GETTER) public String getDescription(Locale loc)
      Generated method - Getter of the ProductFeatureComponent.description attribute defined at extension acceleratorcms.
      Parameters:
      loc - the value localization key
      Returns:
      the description - Localized description of the component.
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getMedia

      @Accessor(qualifier="media", type=GETTER) public MediaModel getMedia()
      Generated method - Getter of the ProductFeatureComponent.media attribute defined at extension acceleratorcms.
      Returns:
      the media - Localized media that is displayed in the component.
    • getMedia

      @Accessor(qualifier="media", type=GETTER) public MediaModel getMedia(Locale loc)
      Generated method - Getter of the ProductFeatureComponent.media attribute defined at extension acceleratorcms.
      Parameters:
      loc - the value localization key
      Returns:
      the media - Localized media that is displayed in the component.
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getProduct

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

      @Accessor(qualifier="title", type=GETTER) public String getTitle()
      Generated method - Getter of the ProductFeatureComponent.title attribute defined at extension acceleratorcms.
      Returns:
      the title - Localized title of the component.
    • getTitle

      @Accessor(qualifier="title", type=GETTER) public String getTitle(Locale loc)
      Generated method - Getter of the ProductFeatureComponent.title attribute defined at extension acceleratorcms.
      Parameters:
      loc - the value localization key
      Returns:
      the title - Localized title of the component.
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setDescription

      @Accessor(qualifier="description", type=SETTER) public void setDescription(String value)
      Generated method - Setter of ProductFeatureComponent.description attribute defined at extension acceleratorcms.
      Parameters:
      value - the description - Localized description of the component.
    • setDescription

      @Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc)
      Generated method - Setter of ProductFeatureComponent.description attribute defined at extension acceleratorcms.
      Parameters:
      value - the description - Localized description of the component.
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setMedia

      @Accessor(qualifier="media", type=SETTER) public void setMedia(MediaModel value)
      Generated method - Setter of ProductFeatureComponent.media attribute defined at extension acceleratorcms.
      Parameters:
      value - the media - Localized media that is displayed in the component.
    • setMedia

      @Accessor(qualifier="media", type=SETTER) public void setMedia(MediaModel value, Locale loc)
      Generated method - Setter of ProductFeatureComponent.media attribute defined at extension acceleratorcms.
      Parameters:
      value - the media - Localized media that is displayed in the component.
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setProduct

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

      @Accessor(qualifier="title", type=SETTER) public void setTitle(String value)
      Generated method - Setter of ProductFeatureComponent.title attribute defined at extension acceleratorcms.
      Parameters:
      value - the title - Localized title of the component.
    • setTitle

      @Accessor(qualifier="title", type=SETTER) public void setTitle(String value, Locale loc)
      Generated method - Setter of ProductFeatureComponent.title attribute defined at extension acceleratorcms.
      Parameters:
      value - the title - Localized title of the component.
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language