Class MediaFormatterModel

    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String _FORMAT2MEDFORREL
        Generated relation code constant for relation Format2MedForRel defining source attribute formats in extension commons.
        See Also:
        Constant Field Values
      • INPUTMIMETYPE

        public static final java.lang.String INPUTMIMETYPE
        Generated constant - Attribute key of MediaFormatter.inputMimeType attribute defined at extension commons.
        See Also:
        Constant Field Values
      • FORMATS

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

      • MediaFormatterModel

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

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

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

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

      • getFormats

        @Accessor(qualifier="formats",
                  type=GETTER)
        public java.util.Collection<FormatModel> getFormats()
        Generated method - Getter of the MediaFormatter.formats attribute defined at extension commons. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the formats
      • getInputMimeType

        @Accessor(qualifier="inputMimeType",
                  type=GETTER)
        public java.lang.String getInputMimeType()
        Generated method - Getter of the MediaFormatter.inputMimeType attribute defined at extension commons.
        Returns:
        the inputMimeType - The mime type of the input.
      • setFormats

        @Accessor(qualifier="formats",
                  type=SETTER)
        public void setFormats​(java.util.Collection<FormatModel> value)
        Generated method - Setter of MediaFormatter.formats attribute defined at extension commons.
        Parameters:
        value - the formats
      • setInputMimeType

        @Accessor(qualifier="inputMimeType",
                  type=SETTER)
        public void setInputMimeType​(java.lang.String value)
        Generated method - Setter of MediaFormatter.inputMimeType attribute defined at extension commons.
        Parameters:
        value - the inputMimeType - The mime type of the input.