Class PartyCreditRatingAttributeMapper
java.lang.Object
de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper<TuaPartyModel,Party>
de.hybris.platform.tuawebservicesresources.mappers.party.PartyCreditRatingAttributeMapper
This attribute Mapper class maps data for credit rating attribute between
TuaPartyModel and Party- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionPartyCreditRatingAttributeMapper(String sourceAttributeName, String targetAttributeName, ma.glasnost.orika.MapperFacade mapperFacade, TuaEntityResourceNormalizer<PartyCreditProfile, TuaPartyCreditProfileModel> tuaPartyCreditProfileEntityResourceNormalizer) -
Method Summary
Modifier and TypeMethodDescriptionprotected ma.glasnost.orika.MapperFacadevoidpopulateSourceAttributeFromTarget(Party source, TuaPartyModel target, ma.glasnost.orika.MappingContext context) Populates the source attribute value obtained by processing the target object.voidpopulateTargetAttributeFromSource(TuaPartyModel source, Party 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
-
PartyCreditRatingAttributeMapper
public PartyCreditRatingAttributeMapper(String sourceAttributeName, String targetAttributeName, ma.glasnost.orika.MapperFacade mapperFacade, TuaEntityResourceNormalizer<PartyCreditProfile, TuaPartyCreditProfileModel> tuaPartyCreditProfileEntityResourceNormalizer)
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(TuaPartyModel source, Party 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<TuaPartyModel,Party> - Parameters:
source- source objecttarget- target object
-
populateSourceAttributeFromTarget
public void populateSourceAttributeFromTarget(Party source, TuaPartyModel target, ma.glasnost.orika.MappingContext context) Description copied from class:TuaAttributeMapperPopulates the source attribute value obtained by processing the target object.- Overrides:
populateSourceAttributeFromTargetin classTuaAttributeMapper<TuaPartyModel,Party> - Parameters:
source- target objecttarget- source object
-
getMapperFacade
protected ma.glasnost.orika.MapperFacade getMapperFacade() -
getTuaPartyCreditProfileEntityResourceNormalizer
protected TuaEntityResourceNormalizer<PartyCreditProfile,TuaPartyCreditProfileModel> getTuaPartyCreditProfileEntityResourceNormalizer()
-