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:
Serializable
Generated model class for type MediaFormatMapping first defined at extension core.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationMediaContext2MediaFormatMappingReldefining source attributemediaContextin extensioncore.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofMediaFormatMapping.mediaContextattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofMediaFormatMapping.sourceattribute defined at extensioncore.static final StringGenerated 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, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated 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(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theMediaFormatMapping.mediaContextattribute defined at extensioncore.Generated method - Getter of theMediaFormatMapping.sourceattribute defined at extensioncore.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, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_MEDIACONTEXT2MEDIAFORMATMAPPINGREL
Generated relation code constant for relationMediaContext2MediaFormatMappingReldefining source attributemediaContextin extensioncore.- See Also:
-
SOURCE
Generated constant - Attribute key ofMediaFormatMapping.sourceattribute defined at extensioncore.- See Also:
-
TARGET
Generated constant - Attribute key ofMediaFormatMapping.targetattribute defined at extensioncore.- See Also:
-
MEDIACONTEXT
Generated constant - Attribute key ofMediaFormatMapping.mediaContextattribute defined at extensioncore.- See Also:
-
-
Constructor Details
-
MediaFormatMappingModel
public MediaFormatMappingModel()Generated constructor - Default constructor for generic creation. -
MediaFormatMappingModel
public MediaFormatMappingModel(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
-
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 Details
-
getMediaContext
Generated method - Getter of theMediaFormatMapping.mediaContextattribute defined at extensioncore.- Returns:
- the mediaContext
-
getSource
Generated method - Getter of theMediaFormatMapping.sourceattribute defined at extensioncore.- Returns:
- the source - Source format
-
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
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
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
-