Class FormatterModel

    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String OUTPUTMIMETYPE
        Generated constant - Attribute key of Formatter.outputMimeType attribute defined at extension commons.
        See Also:
        Constant Field Values
      • SCRIPT

        public static final java.lang.String SCRIPT
        Generated constant - Attribute key of Formatter.script attribute defined at extension commons.
        See Also:
        Constant Field Values
    • Constructor Detail

      • FormatterModel

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

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

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

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

      • getOutputMimeType

        @Accessor(qualifier="outputMimeType",
                  type=GETTER)
        public java.lang.String getOutputMimeType()
        Generated method - Getter of the Formatter.outputMimeType attribute defined at extension commons.
        Returns:
        the outputMimeType - The mime type of the output.
      • getScript

        @Accessor(qualifier="script",
                  type=GETTER)
        public java.lang.String getScript()
        Generated method - Getter of the Formatter.script attribute defined at extension commons.
        Returns:
        the script
      • setOutputMimeType

        @Accessor(qualifier="outputMimeType",
                  type=SETTER)
        public void setOutputMimeType​(java.lang.String value)
        Generated method - Setter of Formatter.outputMimeType attribute defined at extension commons.
        Parameters:
        value - the outputMimeType - The mime type of the output.
      • setScript

        @Accessor(qualifier="script",
                  type=SETTER)
        public void setScript​(java.lang.String value)
        Generated method - Setter of Formatter.script attribute defined at extension commons.
        Parameters:
        value - the script