Class JasperMediaModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CompiledJasperMediaModel

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

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

      public static final String ICON
      Generated constant - Attribute key of JasperMedia.icon attribute defined at extension cockpit.
      See Also:
  • Constructor Details

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

    • getIcon

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

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

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

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

      @Accessor(qualifier="title", type=GETTER) public String getTitle(Locale loc)
      Generated method - Getter of the JasperMedia.title attribute defined at extension cockpit.
      Parameters:
      loc - the value localization key
      Returns:
      the title
      Throws:
      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(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(String value, Locale loc)
      Generated method - Setter of JasperMedia.reportDescription attribute defined at extension cockpit.
      Parameters:
      value - the reportDescription
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setTitle

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