Class IndividualOtherNameAttributeMapper
java.lang.Object
de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper<TuaIndividualModel,Individual>
de.hybris.platform.tuawebservicesresources.mappers.individual.IndividualOtherNameAttributeMapper
public class IndividualOtherNameAttributeMapper
extends TuaAttributeMapper<TuaIndividualModel,Individual>
This attribute Mapper class maps data for other name attribute between
TuaIndividualModel and Individual- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionIndividualOtherNameAttributeMapper(String sourceAttributeName, String targetAttributeName, ma.glasnost.orika.MapperFacade mapperFacade, TuaEntityResourceNormalizer<OtherNameIndividual, TuaOtherNameModel> tuaOtherNameEntityResourceNormalizer) -
Method Summary
Modifier and TypeMethodDescriptionprotected ma.glasnost.orika.MapperFacadevoidpopulateSourceAttributeFromTarget(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
-
IndividualOtherNameAttributeMapper
public IndividualOtherNameAttributeMapper(String sourceAttributeName, String targetAttributeName, ma.glasnost.orika.MapperFacade mapperFacade, TuaEntityResourceNormalizer<OtherNameIndividual, TuaOtherNameModel> tuaOtherNameEntityResourceNormalizer)
-
-
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
-
getMapperFacade
protected ma.glasnost.orika.MapperFacade getMapperFacade() -
getTuaOtherNameEntityResourceNormalizer
protected TuaEntityResourceNormalizer<OtherNameIndividual,TuaOtherNameModel> getTuaOtherNameEntityResourceNormalizer()
-