Class DerivedMediaModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
All Implemented Interfaces:
Serializable

public class DerivedMediaModel extends AbstractMediaModel
Generated model class for type DerivedMedia first defined at extension core.
See Also:
  • Field Details

    • _TYPECODE

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

      public static final String _MEDIA2DERIVEDMEDIAREL
      Generated relation code constant for relation Media2DerivedMediaRel defining source attribute media in extension core.
      See Also:
    • VERSION

      public static final String VERSION
      Generated constant - Attribute key of DerivedMedia.version attribute defined at extension core.
      See Also:
    • MEDIA

      public static final String MEDIA
      Generated constant - Attribute key of DerivedMedia.media attribute defined at extension core.
      See Also:
  • Constructor Details

    • DerivedMediaModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public DerivedMediaModel(MediaModel _media, String _version)
      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:
      _media - initial attribute declared by type DerivedMedia at extension core
      _version - initial attribute declared by type DerivedMedia at extension core
    • DerivedMediaModel

      @Deprecated(since="4.1.1", forRemoval=true) public DerivedMediaModel(MediaModel _media, ItemModel _owner, String _version)
      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:
      _media - initial attribute declared by type DerivedMedia at extension core
      _owner - initial attribute declared by type Item at extension core
      _version - initial attribute declared by type DerivedMedia at extension core
  • Method Details

    • getMedia

      @Accessor(qualifier="media", type=GETTER) public MediaModel getMedia()
      Generated method - Getter of the DerivedMedia.media attribute defined at extension core.
      Returns:
      the media
    • getVersion

      @Accessor(qualifier="version", type=GETTER) public String getVersion()
      Generated method - Getter of the DerivedMedia.version attribute defined at extension core.
      Returns:
      the version - Version of DerivedMedia (mostly name of format)
    • setMedia

      @Accessor(qualifier="media", type=SETTER) public void setMedia(MediaModel value)
      Generated method - Setter of DerivedMedia.media attribute defined at extension core.
      Parameters:
      value - the media
    • setVersion

      @Accessor(qualifier="version", type=SETTER) public void setVersion(String value)
      Generated method - Setter of DerivedMedia.version attribute defined at extension core.
      Parameters:
      value - the version - Version of DerivedMedia (mostly name of format)