Class PriceAlterationPriceAttributeMapper
java.lang.Object
de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper<TuaPriceAlterationModel,PriceAlteration>
de.hybris.platform.tuawebservicesresources.mappers.pricealteration.PriceAlterationPriceAttributeMapper
public class PriceAlterationPriceAttributeMapper
extends TuaAttributeMapper<TuaPriceAlterationModel,PriceAlteration>
This attribute Mapper class maps data for price attribute between
TuaPriceAlterationModel and
PriceAlteration- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionPriceAlterationPriceAttributeMapper(String sourceAttributeName, String targetAttributeName, ma.glasnost.orika.MapperFacade mapperFacade) -
Method Summary
Modifier and TypeMethodDescriptionprotected ma.glasnost.orika.MapperFacadevoidpopulateSourceAttributeFromTarget(PriceAlteration target, TuaPriceAlterationModel source, ma.glasnost.orika.MappingContext context) Populates the source attribute value obtained by processing the target object.voidpopulateTargetAttributeFromSource(TuaPriceAlterationModel source, PriceAlteration 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
-
PriceAlterationPriceAttributeMapper
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(TuaPriceAlterationModel source, PriceAlteration 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<TuaPriceAlterationModel,PriceAlteration> - Parameters:
source- source objecttarget- target object
-
populateSourceAttributeFromTarget
public void populateSourceAttributeFromTarget(PriceAlteration target, TuaPriceAlterationModel source, ma.glasnost.orika.MappingContext context) Description copied from class:TuaAttributeMapperPopulates the source attribute value obtained by processing the target object.- Overrides:
populateSourceAttributeFromTargetin classTuaAttributeMapper<TuaPriceAlterationModel,PriceAlteration> - Parameters:
target- target objectsource- source object
-
getMapperFacade
protected ma.glasnost.orika.MapperFacade getMapperFacade()
-