Class PartyRoleRelatedPartyAttributeMapper
java.lang.Object
de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper<TuaPartyRoleModel,PartyRole>
de.hybris.platform.tuawebservicesresources.mappers.partyrole.PartyRoleRelatedPartyAttributeMapper
public class PartyRoleRelatedPartyAttributeMapper
extends TuaAttributeMapper<TuaPartyRoleModel,PartyRole>
This attribute Mapper class maps data for related party attribute between
TuaPartyRoleModel and PartyRole- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionPartyRoleRelatedPartyAttributeMapper(String sourceAttributeName, String targetAttributeName, ma.glasnost.orika.MapperFacade mapperFacade, TuaEntityResourceNormalizer<RelatedParty, TuaPartyModel> tuaRelatedPartyEntityResourceNormalizer, TuaGenericService tuaGenericService) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<TuaBusinessInteractionRoleModel>getBusinessInteractionRoles(TuaPartyRoleModel partyRole) Returns the business interaction role list for the provided party role.protected ma.glasnost.orika.MapperFacadeprotected TuaGenericServiceprotected TuaEntityResourceNormalizer<RelatedParty,TuaPartyModel> 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
-
PartyRoleRelatedPartyAttributeMapper
public PartyRoleRelatedPartyAttributeMapper(String sourceAttributeName, String targetAttributeName, ma.glasnost.orika.MapperFacade mapperFacade, TuaEntityResourceNormalizer<RelatedParty, TuaPartyModel> tuaRelatedPartyEntityResourceNormalizer, TuaGenericService tuaGenericService)
-
-
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
-
getBusinessInteractionRoles
protected List<TuaBusinessInteractionRoleModel> getBusinessInteractionRoles(TuaPartyRoleModel partyRole) Returns the business interaction role list for the provided party role.- Parameters:
partyRole- The party role- Returns:
- List of
TuaBusinessInteractionRoleModel
-
getMapperFacade
protected ma.glasnost.orika.MapperFacade getMapperFacade() -
getTuaRelatedPartyEntityResourceNormalizer
protected TuaEntityResourceNormalizer<RelatedParty,TuaPartyModel> getTuaRelatedPartyEntityResourceNormalizer() -
getTuaGenericService
-