Class FraPriceQuantitySplitterMappingProcessor

java.lang.Object
com.regnosys.rosetta.common.translation.MappingProcessor
cdm.product.template.processor.FraPriceQuantitySplitterMappingProcessor
All Implemented Interfaces:
com.regnosys.rosetta.common.translation.MappingDelegate

public class FraPriceQuantitySplitterMappingProcessor extends com.regnosys.rosetta.common.translation.MappingProcessor
FpML FRAs are represented as fra xml element, but in the CDM FRAs are represented with a fixed and a floating leg. FpML synonyms map the input FpML onto a single PriceQuantity, then this mapper splits it into a fixed and floating PriceQuantity instances.
  • Constructor Summary

    Constructors
    Constructor
    Description
    FraPriceQuantitySplitterMappingProcessor(com.rosetta.model.lib.path.RosettaPath path, List<com.regnosys.rosetta.common.translation.Path> synonymPaths, com.regnosys.rosetta.common.translation.MappingContext context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    map(com.regnosys.rosetta.common.translation.Path synonymPath, List<? extends 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FraPriceQuantitySplitterMappingProcessor

      public FraPriceQuantitySplitterMappingProcessor(com.rosetta.model.lib.path.RosettaPath path, List<com.regnosys.rosetta.common.translation.Path> synonymPaths, com.regnosys.rosetta.common.translation.MappingContext context)
  • Method Details

    • map

      public void map(com.regnosys.rosetta.common.translation.Path synonymPath, List<? extends com.rosetta.model.lib.RosettaModelObjectBuilder> builder, com.rosetta.model.lib.RosettaModelObjectBuilder parent)
      Specified by:
      map in interface com.regnosys.rosetta.common.translation.MappingDelegate
      Overrides:
      map in class com.regnosys.rosetta.common.translation.MappingProcessor