Class IndividualDisabilityAttributeMapper
java.lang.Object
de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper<TuaIndividualModel,Individual>
de.hybris.platform.tuawebservicesresources.mappers.individual.IndividualDisabilityAttributeMapper
public class IndividualDisabilityAttributeMapper
extends TuaAttributeMapper<TuaIndividualModel,Individual>
This attribute Mapper class maps data for disability attribute between
TuaIndividualModel and Individual- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionIndividualDisabilityAttributeMapper(String sourceAttributeName, String targetAttributeName, ma.glasnost.orika.MapperFacade mapperFacade, TuaEntityResourceNormalizer<Disability, TuaDisabilityModel> tuaDisabilityEntityResourceNormalizer) -
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
-
IndividualDisabilityAttributeMapper
public IndividualDisabilityAttributeMapper(String sourceAttributeName, String targetAttributeName, ma.glasnost.orika.MapperFacade mapperFacade, TuaEntityResourceNormalizer<Disability, TuaDisabilityModel> tuaDisabilityEntityResourceNormalizer)
-
-
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() -
getTuaDisabilityEntityResourceNormalizer
protected TuaEntityResourceNormalizer<Disability,TuaDisabilityModel> getTuaDisabilityEntityResourceNormalizer()
-