Class SimpleBannerComponentModel

All Implemented Interfaces:
Serializable

public class SimpleBannerComponentModel extends AbstractBannerComponentModel
Generated model class for type SimpleBannerComponent first defined at extension acceleratorcms.

It is just a simple concrete implementation of the AbstractBannerComponent.

See Also:
  • Field Details

    • _TYPECODE

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

      public static final String _SIMPLEBANNERCOMPONENTSFORCONTENTPAGE
      Generated relation code constant for relation SimpleBannerComponentsForContentPage defining source attribute contentPage in extension acceleratorcms.
      See Also:
    • _SIMPLEBANNERCOMPONENTSFORPRODUCT

      public static final String _SIMPLEBANNERCOMPONENTSFORPRODUCT
      Generated relation code constant for relation SimpleBannerComponentsForProduct defining source attribute product in extension acceleratorcms.
      See Also:
    • _SIMPLEBANNERCOMPONENTSFORCATEGORY

      public static final String _SIMPLEBANNERCOMPONENTSFORCATEGORY
      Generated relation code constant for relation SimpleBannerComponentsForCategory defining source attribute category in extension acceleratorcms.
      See Also:
    • CONTENTPAGEPOS

      public static final String CONTENTPAGEPOS
      Generated constant - Attribute key of SimpleBannerComponent.contentPagePOS attribute defined at extension acceleratorcms.
      See Also:
    • CONTENTPAGE

      public static final String CONTENTPAGE
      Generated constant - Attribute key of SimpleBannerComponent.contentPage attribute defined at extension acceleratorcms.
      See Also:
    • PRODUCTPOS

      public static final String PRODUCTPOS
      Generated constant - Attribute key of SimpleBannerComponent.productPOS attribute defined at extension acceleratorcms.
      See Also:
    • PRODUCT

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

      public static final String CATEGORYPOS
      Generated constant - Attribute key of SimpleBannerComponent.categoryPOS attribute defined at extension acceleratorcms.
      See Also:
    • CATEGORY

      public static final String CATEGORY
      Generated constant - Attribute key of SimpleBannerComponent.category attribute defined at extension acceleratorcms.
      See Also:
  • Constructor Details

    • SimpleBannerComponentModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public SimpleBannerComponentModel(CatalogVersionModel _catalogVersion, boolean _external, 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
      _external - initial attribute declared by type AbstractBannerComponent at extension cms2lib
      _uid - initial attribute declared by type CMSItem at extension cms2
    • SimpleBannerComponentModel

      @Deprecated(since="4.1.1", forRemoval=true) public SimpleBannerComponentModel(CatalogVersionModel _catalogVersion, boolean _external, 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
      _external - initial attribute declared by type AbstractBannerComponent at extension cms2lib
      _owner - initial attribute declared by type Item at extension core
      _uid - initial attribute declared by type CMSItem at extension cms2
  • Method Details

    • getCategory

      @Accessor(qualifier="category", type=GETTER) public CategoryModel getCategory()
      Generated method - Getter of the SimpleBannerComponent.category attribute defined at extension acceleratorcms.
      Returns:
      the category
    • getContentPage

      @Accessor(qualifier="contentPage", type=GETTER) public ContentPageModel getContentPage()
      Generated method - Getter of the SimpleBannerComponent.contentPage attribute defined at extension acceleratorcms.
      Returns:
      the contentPage
    • getProduct

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

      @Accessor(qualifier="category", type=SETTER) public void setCategory(CategoryModel value)
      Generated method - Setter of SimpleBannerComponent.category attribute defined at extension acceleratorcms.
      Parameters:
      value - the category
    • setContentPage

      @Accessor(qualifier="contentPage", type=SETTER) public void setContentPage(ContentPageModel value)
      Generated method - Setter of SimpleBannerComponent.contentPage attribute defined at extension acceleratorcms.
      Parameters:
      value - the contentPage
    • setProduct

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