Class MediaFormatterModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FOPFormatterModel, XMLTransformFormatterModel

public class MediaFormatterModel extends FormatterModel
Generated model class for type MediaFormatter first defined at extension commons.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _FORMAT2MEDFORREL

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

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

      public static final String FORMATS
      Generated constant - Attribute key of MediaFormatter.formats attribute defined at extension commons.
      See Also:
  • Constructor Details

    • MediaFormatterModel

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

      public MediaFormatterModel(de.hybris.platform.servicelayer.model.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, String _code, String _inputMimeType, 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, String _code, String _inputMimeType, 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 Details

    • getFormats

      @Accessor(qualifier="formats", type=GETTER) public 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 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(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(String value)
      Generated method - Setter of MediaFormatter.inputMimeType attribute defined at extension commons.
      Parameters:
      value - the inputMimeType - The mime type of the input.