Class BasketConstituentMappingProcessor

java.lang.Object
com.regnosys.rosetta.common.translation.MappingProcessor
cdm.base.staticdata.asset.common.processor.BasketConstituentMappingProcessor
All Implemented Interfaces:
com.regnosys.rosetta.common.translation.MappingDelegate

public class BasketConstituentMappingProcessor extends com.regnosys.rosetta.common.translation.MappingProcessor
FpML mapper. Removes mappings that have been incorrectly mapped into dividendPayoutRatio.basketConstituent.
  • Constructor Summary

    Constructors
    Constructor
    Description
    BasketConstituentMappingProcessor(com.rosetta.model.lib.path.RosettaPath modelPath, 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)
    If this is mapped under dividendPayoutRatio.basketConstituent, then we need to check if there's any incorrectly mapped data that we need to remove.

    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

    • BasketConstituentMappingProcessor

      public BasketConstituentMappingProcessor(com.rosetta.model.lib.path.RosettaPath modelPath, 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)
      If this is mapped under dividendPayoutRatio.basketConstituent, then we need to check if there's any incorrectly mapped data that we need to remove.
      Specified by:
      map in interface com.regnosys.rosetta.common.translation.MappingDelegate
      Overrides:
      map in class com.regnosys.rosetta.common.translation.MappingProcessor