Class AccountPartyReferenceMappingProcessor
java.lang.Object
com.regnosys.rosetta.common.translation.MappingProcessor
cdm.base.staticdata.party.processor.AccountPartyReferenceMappingProcessor
- All Implemented Interfaces:
com.regnosys.rosetta.common.translation.MappingDelegate
public class AccountPartyReferenceMappingProcessor
extends com.regnosys.rosetta.common.translation.MappingProcessor
FpML mapping processor.
In FpML, account references are positioned in PayerReceiver and BuyerSeller, both inside the Product.
In CDM, the Product is agnostic to parties and accounts so the account mappings from removed from the Product, and the accounts are
associated to the party by mapping attribute Contract.accounts.partyReference.
-
Constructor Summary
ConstructorsConstructorDescriptionAccountPartyReferenceMappingProcessor(com.rosetta.model.lib.path.RosettaPath modelPath, List<com.regnosys.rosetta.common.translation.Path> synonymPaths, com.regnosys.rosetta.common.translation.MappingContext mappingContext) -
Method Summary
Modifier and TypeMethodDescriptionvoidmap(com.regnosys.rosetta.common.translation.Path synonymPath, com.rosetta.model.lib.RosettaModelObjectBuilder builder, com.rosetta.model.lib.RosettaModelObjectBuilder parent) Methods inherited from class com.regnosys.rosetta.common.translation.MappingProcessor
addInvokedTask, getContext, getMappings, getModelPath, getSynonymPaths, getSynonymToEnumMap, getValueAndUpdateMappings, map, map, mapBasic, mapBasic, mapBasic, setValueAndUpdateMappings, setValueAndUpdateMappings
-
Constructor Details
-
AccountPartyReferenceMappingProcessor
public AccountPartyReferenceMappingProcessor(com.rosetta.model.lib.path.RosettaPath modelPath, List<com.regnosys.rosetta.common.translation.Path> synonymPaths, com.regnosys.rosetta.common.translation.MappingContext mappingContext)
-
-
Method Details
-
map
public void map(com.regnosys.rosetta.common.translation.Path synonymPath, com.rosetta.model.lib.RosettaModelObjectBuilder builder, com.rosetta.model.lib.RosettaModelObjectBuilder parent) - Overrides:
mapin classcom.regnosys.rosetta.common.translation.MappingProcessor
-