Class CategoryFeatureComponentModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class CategoryFeatureComponentModel
    extends SimpleCMSComponentModel
    Generated model class for type CategoryFeatureComponent first defined at extension acceleratorcms.

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

    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String TITLE
        Generated constant - Attribute key of CategoryFeatureComponent.title attribute defined at extension acceleratorcms.
        See Also:
        Constant Field Values
      • DESCRIPTION

        public static final java.lang.String DESCRIPTION
        Generated constant - Attribute key of CategoryFeatureComponent.description attribute defined at extension acceleratorcms.
        See Also:
        Constant Field Values
      • MEDIA

        public static final java.lang.String MEDIA
        Generated constant - Attribute key of CategoryFeatureComponent.media attribute defined at extension acceleratorcms.
        See Also:
        Constant Field Values
      • CATEGORY

        public static final java.lang.String CATEGORY
        Generated constant - Attribute key of CategoryFeatureComponent.category attribute defined at extension acceleratorcms.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CategoryFeatureComponentModel

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

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

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

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

      • getCategory

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

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

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

        @Accessor(qualifier="media",
                  type=GETTER)
        public MediaModel getMedia()
        Generated method - Getter of the CategoryFeatureComponent.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​(java.util.Locale loc)
        Generated method - Getter of the CategoryFeatureComponent.media attribute defined at extension acceleratorcms.
        Parameters:
        loc - the value localization key
        Returns:
        the media - Localized media that is displayed in the component.
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • getTitle

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

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

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

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

        @Accessor(qualifier="description",
                  type=SETTER)
        public void setDescription​(java.lang.String value,
                                   java.util.Locale loc)
        Generated method - Setter of CategoryFeatureComponent.description attribute defined at extension acceleratorcms.
        Parameters:
        value - the description - Localized description of the component.
        loc - the value localization key
        Throws:
        java.lang.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 CategoryFeatureComponent.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,
                             java.util.Locale loc)
        Generated method - Setter of CategoryFeatureComponent.media attribute defined at extension acceleratorcms.
        Parameters:
        value - the media - Localized media that is displayed in the component.
        loc - the value localization key
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • setTitle

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

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