Class RelatedPartyHrefAttributeMapper
java.lang.Object
de.hybris.platform.tuawebservicesresources.mappers.TuaAttributeMapper<TuaPartyRoleAssociationModel,RelatedParty>
de.hybris.platform.tuawebservicesresources.mappers.relatedpartyfrompartyroleassociation.RelatedPartyHrefAttributeMapper
public class RelatedPartyHrefAttributeMapper
extends TuaAttributeMapper<TuaPartyRoleAssociationModel,RelatedParty>
This attribute Mapper class maps data for href attribute between
TuaPartyRoleAssociationModel 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(TuaPartyRoleAssociationModel partyRoleAssociation) Returns the party from the party role association.voidpopulateTargetAttributeFromSource(TuaPartyRoleAssociationModel 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(TuaPartyRoleAssociationModel 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<TuaPartyRoleAssociationModel,RelatedParty> - Parameters:
source- source objecttarget- target object
-
getParty
Returns the party from the party role association.- Parameters:
partyRoleAssociation- The party role association- Returns:
- The
TuaPartyModel
-
getMapperFacade
protected ma.glasnost.orika.MapperFacade getMapperFacade()
-