Class MappingProcessorUtils
java.lang.Object
com.regnosys.rosetta.common.translation.MappingProcessorUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilterListMappings(List<Mapping> mappings, Path synonymPath) filterMappings(List<Mapping> mappings, Path synonymPath) filterMappings(List<Mapping> mappings, Path synonymPath, Path startsWithModelPath) filterMappings(List<Mapping> mappings, com.rosetta.model.lib.path.RosettaPath rosettaPath) getEmptyMappings(List<Mapping> mappings, Path synonymPath) getNonNullMappedValue(Path synonymPath, List<Mapping> mappings) getNonNullMappedValue(List<Mapping> filteredMappings) After filtering mappings (either by synonym or cdm path), there are sometimes multiple mapping objects but there should be only one non-null value.getNonNullMappedValue(List<Mapping> mappings, Path startsWith, String... endsWith) getNonNullMappedValueList(List<Mapping> filteredMappings) getNonNullMapping(List<Mapping> mappings, Path synonymPath) getNonNullMapping(List<Mapping> mappings, Path startsWith, String... endsWith) getNonNullMapping(List<Mapping> mappings, com.rosetta.model.lib.path.RosettaPath modelPathStartsWith, Path synonymPathStartsWith, String... synonymPathEndsWith) getNonNullMappingForModelPath(List<Mapping> mappings, Path modelPath) getValueAndUpdateMappings(Path synonymPath, List<Mapping> mappings, com.rosetta.model.lib.path.RosettaPath rosettaPath) getValueListAndUpdateMappings(Path synonymPath, List<Mapping> mappings, com.rosetta.model.lib.path.RosettaPath rosettaPath) static voidsetValueAndOptionallyUpdateMappings(Path synonymPath, Function<String, Boolean> func, List<Mapping> mappings, com.rosetta.model.lib.path.RosettaPath rosettaPath) static voidsetValueAndUpdateMappings(Path synonymPath, Consumer<String> setter, List<Mapping> mappings, com.rosetta.model.lib.path.RosettaPath rosettaPath) static voidsetValueListAndUpdateMappings(Path synonymPath, Consumer<String> setter, List<Mapping> mappings, com.rosetta.model.lib.path.RosettaPath rosettaPath) static voidupdateMappingFail(Mapping mapping, String error) static voidupdateMappings(Path synonymPath, List<Mapping> mappings, com.rosetta.model.lib.path.RosettaPath rosettaPath) static voidupdateMappingSuccess(Mapping mapping, Path rosettaPath) static voidupdateMappingSuccess(Mapping mapping, com.rosetta.model.lib.path.RosettaPath rosettaPath)
-
Constructor Details
-
MappingProcessorUtils
public MappingProcessorUtils()
-
-
Method Details
-
getValueAndUpdateMappings
-
getValueListAndUpdateMappings
-
setValueAndUpdateMappings
-
setValueListAndUpdateMappings
-
setValueAndOptionallyUpdateMappings
-
filterListMappings
-
filterMappings
-
filterMappings
-
filterMappings
-
getEmptyMappings
-
getNonNullMappedValue
After filtering mappings (either by synonym or cdm path), there are sometimes multiple mapping objects but there should be only one non-null value. -
getNonNullMappedValueList
-
getNonNullMappedValue
-
getNonNullMappedValue
-
getNonNullMapping
-
getNonNullMapping
-
getNonNullMapping
-
getNonNullMappingForModelPath
-
subPath
-
updateMappings
-
updateMappingSuccess
-
updateMappingSuccess
public static void updateMappingSuccess(Mapping mapping, com.rosetta.model.lib.path.RosettaPath rosettaPath) -
updateMappingFail
-