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