Class PartyRoleAccountAttributeMapper
java.lang.Object
de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper<TuaPartyRoleModel,PartyRole>
de.hybris.platform.tuawebservicesresources.mappers.partyrole.PartyRoleAccountAttributeMapper
public class PartyRoleAccountAttributeMapper
extends TuaAttributeMapper<TuaPartyRoleModel,PartyRole>
This attribute Mapper class maps data for account attribute between
TuaPartyRoleModel and PartyRole- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionPartyRoleAccountAttributeMapper(String sourceAttributeName, String targetAttributeName, ma.glasnost.orika.MapperFacade mapperFacade, TuaEntityResourceNormalizer<AccountRef, TuaAccountModel> tuaAccountEntityResourceNormalizer) -
Method Summary
Modifier and TypeMethodDescriptionprotected ma.glasnost.orika.MapperFacadeprotected TuaEntityResourceNormalizer<AccountRef,TuaAccountModel> voidpopulateSourceAttributeFromTarget(PartyRole target, TuaPartyRoleModel source, ma.glasnost.orika.MappingContext context) Populates the source attribute value obtained by processing the target object.voidpopulateTargetAttributeFromSource(TuaPartyRoleModel source, PartyRole 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
-
PartyRoleAccountAttributeMapper
public PartyRoleAccountAttributeMapper(String sourceAttributeName, String targetAttributeName, ma.glasnost.orika.MapperFacade mapperFacade, TuaEntityResourceNormalizer<AccountRef, TuaAccountModel> tuaAccountEntityResourceNormalizer)
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(TuaPartyRoleModel source, PartyRole 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<TuaPartyRoleModel,PartyRole> - Parameters:
source- source objecttarget- target object
-
populateSourceAttributeFromTarget
public void populateSourceAttributeFromTarget(PartyRole target, TuaPartyRoleModel source, ma.glasnost.orika.MappingContext context) Description copied from class:TuaAttributeMapperPopulates the source attribute value obtained by processing the target object.- Overrides:
populateSourceAttributeFromTargetin classTuaAttributeMapper<TuaPartyRoleModel,PartyRole> - Parameters:
target- target objectsource- source object
-
getMapperFacade
protected ma.glasnost.orika.MapperFacade getMapperFacade() -
getTuaAccountEntityResourceNormalizer
protected TuaEntityResourceNormalizer<AccountRef,TuaAccountModel> getTuaAccountEntityResourceNormalizer()
-