Class JasperMediaModel

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    CompiledJasperMediaModel

    public class JasperMediaModel
    extends MediaModel
    Generated model class for type JasperMedia first defined at extension cockpit.
    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 JasperMedia.title attribute defined at extension cockpit.
        See Also:
        Constant Field Values
      • REPORTDESCRIPTION

        public static final java.lang.String REPORTDESCRIPTION
        Generated constant - Attribute key of JasperMedia.reportDescription attribute defined at extension cockpit.
        See Also:
        Constant Field Values
      • ICON

        public static final java.lang.String ICON
        Generated constant - Attribute key of JasperMedia.icon attribute defined at extension cockpit.
        See Also:
        Constant Field Values
    • Constructor Detail

      • JasperMediaModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public JasperMediaModel​(CatalogVersionModel _catalogVersion,
                                java.lang.String _code)
        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 JasperMedia at extension cockpit
        _code - initial attribute declared by type Media at extension core
      • JasperMediaModel

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

      • getReportDescription

        @Accessor(qualifier="reportDescription",
                  type=GETTER)
        public java.lang.String getReportDescription()
        Generated method - Getter of the JasperMedia.reportDescription attribute defined at extension cockpit.
        Returns:
        the reportDescription
      • getReportDescription

        @Accessor(qualifier="reportDescription",
                  type=GETTER)
        public java.lang.String getReportDescription​(java.util.Locale loc)
        Generated method - Getter of the JasperMedia.reportDescription attribute defined at extension cockpit.
        Parameters:
        loc - the value localization key
        Returns:
        the reportDescription
        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 JasperMedia.title attribute defined at extension cockpit.
        Returns:
        the title
      • getTitle

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

        @Accessor(qualifier="icon",
                  type=SETTER)
        public void setIcon​(MediaModel value)
        Generated method - Setter of JasperMedia.icon attribute defined at extension cockpit.
        Parameters:
        value - the icon
      • setReportDescription

        @Accessor(qualifier="reportDescription",
                  type=SETTER)
        public void setReportDescription​(java.lang.String value)
        Generated method - Setter of JasperMedia.reportDescription attribute defined at extension cockpit.
        Parameters:
        value - the reportDescription
      • setReportDescription

        @Accessor(qualifier="reportDescription",
                  type=SETTER)
        public void setReportDescription​(java.lang.String value,
                                         java.util.Locale loc)
        Generated method - Setter of JasperMedia.reportDescription attribute defined at extension cockpit.
        Parameters:
        value - the reportDescription
        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 JasperMedia.title attribute defined at extension cockpit.
        Parameters:
        value - the title
      • setTitle

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