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