Class RelatedPartyHrefAttributeMapper
java.lang.Object
de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper<TuaBusinessInteractionRoleModel,RelatedParty>
de.hybris.platform.tuawebservicesresources.mappers.relatedpartyfrombusinessinteractionrole.RelatedPartyHrefAttributeMapper
public class RelatedPartyHrefAttributeMapper
extends TuaAttributeMapper<TuaBusinessInteractionRoleModel,RelatedParty>
This attribute Mapper class maps data for href attribute between
TuaBusinessInteractionRoleModel and RelatedParty- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionRelatedPartyHrefAttributeMapper(String sourceAttributeName, String targetAttributeName, ma.glasnost.orika.MapperFacade mapperFacade) -
Method Summary
Modifier and TypeMethodDescriptionprotected ma.glasnost.orika.MapperFacadeprotected TuaPartyModelgetParty(TuaBusinessInteractionRoleModel businessInteractionRole) Returns the party from the business interaction role.voidpopulateTargetAttributeFromSource(TuaBusinessInteractionRoleModel source, RelatedParty 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, populateSourceAttributeFromTarget
-
Constructor Details
-
RelatedPartyHrefAttributeMapper
-
-
Method Details
-
populateTargetAttributeFromSource
public void populateTargetAttributeFromSource(TuaBusinessInteractionRoleModel source, RelatedParty 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<TuaBusinessInteractionRoleModel,RelatedParty> - Parameters:
source- source objecttarget- target object
-
getParty
Returns the party from the business interaction role.- Parameters:
businessInteractionRole- The business interaction role- Returns:
- The
TuaPartyModel
-
getMapperFacade
protected ma.glasnost.orika.MapperFacade getMapperFacade()
-