Class FormatterModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ItemFormatterModel, MediaFormatterModel

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

    • _TYPECODE

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

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

      public static final String SCRIPT
      Generated constant - Attribute key of Formatter.script attribute defined at extension commons.
      See Also:
  • Constructor Details

    • FormatterModel

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

      public FormatterModel(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
    • FormatterModel

      @Deprecated(since="4.1.1", forRemoval=true) public FormatterModel(CatalogVersionModel _catalogVersion, String _code, 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, String _code, 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 Details

    • getOutputMimeType

      @Accessor(qualifier="outputMimeType", type=GETTER) public 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 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(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(String value)
      Generated method - Setter of Formatter.script attribute defined at extension commons.
      Parameters:
      value - the script