Class AttachmentSizeAttributeMapper
java.lang.Object
de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper<CatalogUnawareMediaModel,AttachmentRefOrValue>
de.hybris.platform.tuawebservicesresources.mappers.attachment.AttachmentSizeAttributeMapper
public class AttachmentSizeAttributeMapper
extends TuaAttributeMapper<CatalogUnawareMediaModel,AttachmentRefOrValue>
This attribute Mapper class maps data for size attribute between
CatalogUnawareMediaModel and
AttachmentRefOrValue- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionAttachmentSizeAttributeMapper(String sourceAttributeName, String targetAttributeName) -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulateSourceAttributeFromTarget(AttachmentRefOrValue target, CatalogUnawareMediaModel source, ma.glasnost.orika.MappingContext context) Populates the source attribute value obtained by processing the target object.voidpopulateTargetAttributeFromSource(CatalogUnawareMediaModel source, AttachmentRefOrValue target, ma.glasnost.orika.MappingContext context) Populates the target attribute value obtained by processing the source object.Methods inherited from class de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper
getSourceAttributeName, getTargetAttributeName
-
Constructor Details
-
AttachmentSizeAttributeMapper
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(CatalogUnawareMediaModel source, AttachmentRefOrValue target, ma.glasnost.orika.MappingContext context) Description copied from class:TuaAttributeMapperPopulates the target attribute value obtained by processing the source object.- Specified by:
populateTargetAttributeFromSourcein classTuaAttributeMapper<CatalogUnawareMediaModel,AttachmentRefOrValue> - Parameters:
source- source objecttarget- target object
-
populateSourceAttributeFromTarget
public void populateSourceAttributeFromTarget(AttachmentRefOrValue target, CatalogUnawareMediaModel source, ma.glasnost.orika.MappingContext context) Description copied from class:TuaAttributeMapperPopulates the source attribute value obtained by processing the target object.- Overrides:
populateSourceAttributeFromTargetin classTuaAttributeMapper<CatalogUnawareMediaModel,AttachmentRefOrValue> - Parameters:
target- target objectsource- source object
-