Class ProductTermAmountAttributeMapper
java.lang.Object
de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper<TuaProductTermModel,ProductTerm>
de.hybris.platform.tuawebservicesresources.mappers.productterm.ProductTermAmountAttributeMapper
public class ProductTermAmountAttributeMapper
extends TuaAttributeMapper<TuaProductTermModel,ProductTerm>
This attribute Mapper class maps data for amount attribute between
ProductTerm and
TuaProductTermModel- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionProductTermAmountAttributeMapper(String sourceAttributeName, String targetAttributeName) -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulateSourceAttributeFromTarget(ProductTerm target, TuaProductTermModel source, ma.glasnost.orika.MappingContext context) Populates the source attribute value obtained by processing the target object.voidpopulateTargetAttributeFromSource(TuaProductTermModel source, ProductTerm 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
-
ProductTermAmountAttributeMapper
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(TuaProductTermModel source, ProductTerm 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<TuaProductTermModel,ProductTerm> - Parameters:
source- source objecttarget- target object
-
populateSourceAttributeFromTarget
public void populateSourceAttributeFromTarget(ProductTerm target, TuaProductTermModel source, ma.glasnost.orika.MappingContext context) Description copied from class:TuaAttributeMapperPopulates the source attribute value obtained by processing the target object.- Overrides:
populateSourceAttributeFromTargetin classTuaAttributeMapper<TuaProductTermModel,ProductTerm> - Parameters:
target- target objectsource- source object
-