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