Class MediaFormatMappingModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.core.model.media.MediaFormatMappingModel
-
- All Implemented Interfaces:
java.io.Serializable
public class MediaFormatMappingModel extends ItemModel
Generated model class for type MediaFormatMapping first defined at extension core.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_MEDIACONTEXT2MEDIAFORMATMAPPINGRELGenerated relation code constant for relationMediaContext2MediaFormatMappingReldefining source attributemediaContextin extensioncore.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringMEDIACONTEXTGenerated constant - Attribute key ofMediaFormatMapping.mediaContextattribute defined at extensioncore.static java.lang.StringSOURCEGenerated constant - Attribute key ofMediaFormatMapping.sourceattribute defined at extensioncore.static java.lang.StringTARGETGenerated constant - Attribute key ofMediaFormatMapping.targetattribute defined at extensioncore.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description MediaFormatMappingModel()Generated constructor - Default constructor for generic creation.MediaFormatMappingModel(MediaContextModel _mediaContext, ItemModel _owner, MediaFormatModel _source, MediaFormatModel _target)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersMediaFormatMappingModel(MediaContextModel _mediaContext, MediaFormatModel _source, MediaFormatModel _target)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersMediaFormatMappingModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MediaContextModelgetMediaContext()Generated method - Getter of theMediaFormatMapping.mediaContextattribute defined at extensioncore.MediaFormatModelgetSource()Generated method - Getter of theMediaFormatMapping.sourceattribute defined at extensioncore.MediaFormatModelgetTarget()Generated method - Getter of theMediaFormatMapping.targetattribute defined at extensioncore.voidsetMediaContext(MediaContextModel value)Generated method - Setter ofMediaFormatMapping.mediaContextattribute defined at extensioncore.voidsetSource(MediaFormatModel value)Generated method - Initial setter ofMediaFormatMapping.sourceattribute defined at extensioncore.voidsetTarget(MediaFormatModel value)Generated method - Initial setter ofMediaFormatMapping.targetattribute defined at extensioncore.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_MEDIACONTEXT2MEDIAFORMATMAPPINGREL
public static final java.lang.String _MEDIACONTEXT2MEDIAFORMATMAPPINGREL
Generated relation code constant for relationMediaContext2MediaFormatMappingReldefining source attributemediaContextin extensioncore.- See Also:
- Constant Field Values
-
SOURCE
public static final java.lang.String SOURCE
Generated constant - Attribute key ofMediaFormatMapping.sourceattribute defined at extensioncore.- See Also:
- Constant Field Values
-
TARGET
public static final java.lang.String TARGET
Generated constant - Attribute key ofMediaFormatMapping.targetattribute defined at extensioncore.- See Also:
- Constant Field Values
-
MEDIACONTEXT
public static final java.lang.String MEDIACONTEXT
Generated constant - Attribute key ofMediaFormatMapping.mediaContextattribute defined at extensioncore.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MediaFormatMappingModel
public MediaFormatMappingModel()
Generated constructor - Default constructor for generic creation.
-
MediaFormatMappingModel
public MediaFormatMappingModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
MediaFormatMappingModel
@Deprecated(since="4.1.1", forRemoval=true) public MediaFormatMappingModel(MediaContextModel _mediaContext, MediaFormatModel _source, MediaFormatModel _target)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_mediaContext- initial attribute declared by typeMediaFormatMappingat extensioncore_source- initial attribute declared by typeMediaFormatMappingat extensioncore_target- initial attribute declared by typeMediaFormatMappingat extensioncore
-
MediaFormatMappingModel
@Deprecated(since="4.1.1", forRemoval=true) public MediaFormatMappingModel(MediaContextModel _mediaContext, ItemModel _owner, MediaFormatModel _source, MediaFormatModel _target)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_mediaContext- initial attribute declared by typeMediaFormatMappingat extensioncore_owner- initial attribute declared by typeItemat extensioncore_source- initial attribute declared by typeMediaFormatMappingat extensioncore_target- initial attribute declared by typeMediaFormatMappingat extensioncore
-
-
Method Detail
-
getMediaContext
@Accessor(qualifier="mediaContext", type=GETTER) public MediaContextModel getMediaContext()
Generated method - Getter of theMediaFormatMapping.mediaContextattribute defined at extensioncore.- Returns:
- the mediaContext
-
getSource
@Accessor(qualifier="source", type=GETTER) public MediaFormatModel getSource()
Generated method - Getter of theMediaFormatMapping.sourceattribute defined at extensioncore.- Returns:
- the source - Source format
-
getTarget
@Accessor(qualifier="target", type=GETTER) public MediaFormatModel getTarget()
Generated method - Getter of theMediaFormatMapping.targetattribute defined at extensioncore.- Returns:
- the target - Target format
-
setMediaContext
@Accessor(qualifier="mediaContext", type=SETTER) public void setMediaContext(MediaContextModel value)
Generated method - Setter ofMediaFormatMapping.mediaContextattribute defined at extensioncore.- Parameters:
value- the mediaContext
-
setSource
@Accessor(qualifier="source", type=SETTER) public void setSource(MediaFormatModel value)
Generated method - Initial setter ofMediaFormatMapping.sourceattribute defined at extensioncore. Can only be used at creation of model - before first save.- Parameters:
value- the source - Source format
-
setTarget
@Accessor(qualifier="target", type=SETTER) public void setTarget(MediaFormatModel value)
Generated method - Initial setter ofMediaFormatMapping.targetattribute defined at extensioncore. Can only be used at creation of model - before first save.- Parameters:
value- the target - Target format
-
-