Commit bebe9912 authored by Mohammed Ibrahim's avatar Mohammed Ibrahim

syncing with workspace from studio [potentially affected 455 entities]

parent d16553ba
......@@ -8,12 +8,12 @@
"id" : "cdm_AveragingModel_TargetAveragingModel",
"propertyMappings" : [ {
"_type" : "purePropertyMapping",
"explodeProperty" : false,
"property" : {
"class" : "cdm::AveragingModel::TargetAveragingModel",
"property" : "currency1"
},
"source" : "cdm_AveragingModel_TargetAveragingModel",
"target" : "",
"transform" : {
"_type" : "lambda",
"body" : [ {
......@@ -36,12 +36,12 @@
}
}, {
"_type" : "purePropertyMapping",
"explodeProperty" : false,
"property" : {
"class" : "cdm::AveragingModel::TargetAveragingModel",
"property" : "calcMethod"
},
"source" : "cdm_AveragingModel_TargetAveragingModel",
"target" : "",
"transform" : {
"_type" : "lambda",
"body" : [ {
......@@ -56,12 +56,12 @@
}
}, {
"_type" : "purePropertyMapping",
"explodeProperty" : false,
"property" : {
"class" : "cdm::AveragingModel::TargetAveragingModel",
"property" : "date"
},
"source" : "cdm_AveragingModel_TargetAveragingModel",
"target" : "",
"transform" : {
"_type" : "lambda",
"body" : [ {
......@@ -88,12 +88,12 @@
}
}, {
"_type" : "purePropertyMapping",
"explodeProperty" : false,
"property" : {
"class" : "cdm::AveragingModel::TargetAveragingModel",
"property" : "infoSource"
},
"source" : "cdm_AveragingModel_TargetAveragingModel",
"target" : "",
"transform" : {
"_type" : "lambda",
"body" : [ {
......@@ -116,12 +116,12 @@
}
}, {
"_type" : "purePropertyMapping",
"explodeProperty" : false,
"property" : {
"class" : "cdm::AveragingModel::TargetAveragingModel",
"property" : "currency2"
},
"source" : "cdm_AveragingModel_TargetAveragingModel",
"target" : "",
"transform" : {
"_type" : "lambda",
"body" : [ {
......@@ -144,12 +144,12 @@
}
}, {
"_type" : "purePropertyMapping",
"explodeProperty" : false,
"property" : {
"class" : "cdm::AveragingModel::TargetAveragingModel",
"property" : "time"
},
"source" : "cdm_AveragingModel_TargetAveragingModel",
"target" : "",
"transform" : {
"_type" : "lambda",
"body" : [ {
......@@ -168,12 +168,12 @@
}
}, {
"_type" : "purePropertyMapping",
"explodeProperty" : false,
"property" : {
"class" : "cdm::AveragingModel::TargetAveragingModel",
"property" : "precision"
},
"source" : "cdm_AveragingModel_TargetAveragingModel",
"target" : "",
"transform" : {
"_type" : "lambda",
"body" : [ {
......@@ -192,12 +192,12 @@
}
}, {
"_type" : "purePropertyMapping",
"explodeProperty" : false,
"property" : {
"class" : "cdm::AveragingModel::TargetAveragingModel",
"property" : "weight"
},
"source" : "cdm_AveragingModel_TargetAveragingModel",
"target" : "",
"transform" : {
"_type" : "lambda",
"body" : [ {
......@@ -223,6 +223,7 @@
"srcClass" : "cdm::model::AveragingObservation"
} ],
"enumerationMappings" : [ ],
"includedMappings" : [ ],
"name" : "AveragingModelTesting",
"package" : "cdm::AveragingModel",
"tests" : [ {
......
This diff is collapsed.
This diff is collapsed.
{
"classifierPath" : "meta::pure::metamodel::diagram::Diagram",
"content" : {
"_type" : "diagram",
"classViews" : [ {
"class" : "cdm::model::ContractualProduct",
"id" : "a903ae00-c276-4557-85c4-bac3a506119c",
"position" : {
"x" : 408.6649748149673,
"y" : 509.23684210526324
},
"rectangle" : {
"height" : 72,
"width" : 294.0654296875
}
}, {
"class" : "cdm::model::EconomicTerms",
"id" : "7e78f93d-2bcd-45c3-935a-9e3d4b7cd61b",
"position" : {
"x" : 869.086027446546,
"y" : 226.44736842105283
},
"rectangle" : {
"height" : 142,
"width" : 331.34619140625
}
}, {
"class" : "cdm::model::EquityPayout",
"id" : "3a7db446-69b4-495e-a645-51378dc739ab",
"position" : {
"x" : 1344.4527673554,
"y" : 766.4840341254557
},
"rectangle" : {
"height" : 198,
"width" : 287.13134765625
}
}, {
"class" : "cdm::model::ForwardPayout",
"id" : "6b389f9c-49cc-4ab9-9879-c8d4fe0d68a7",
"position" : {
"x" : 1370.7861006887333,
"y" : 223.81736745878914
},
"rectangle" : {
"height" : 72,
"width" : 229.126953125
}
}, {
"class" : "cdm::model::Cashflow",
"id" : "0ba773be-dac1-43ad-9fb9-3818327f6e98",
"position" : {
"x" : 1327.7861006887333,
"y" : 308.81736745878914
},
"rectangle" : {
"height" : 198,
"width" : 320.13671875
}
}, {
"class" : "cdm::model::OptionPayout",
"id" : "0496ae17-578e-4467-8169-c6c62fc03425",
"position" : {
"x" : 1391.0410026495172,
"y" : 959.3075635372203
},
"rectangle" : {
"height" : 142,
"width" : 235.10693359375
}
}, {
"class" : "cdm::model::InterestRatePayout",
"id" : "4997b962-4266-4469-941b-0ac13d1ca7f1",
"position" : {
"x" : 1350.570414414223,
"y" : 1100.7781517725143
},
"rectangle" : {
"height" : 282,
"width" : 310.33984375
}
}, {
"class" : "cdm::model::Payout",
"id" : "bb0eff8a-53fc-4ed3-a0e6-b73e441d9066",
"position" : {
"x" : 871.40181692023,
"y" : 461.43626644736867
},
"rectangle" : {
"height" : 690.3222774820086,
"width" : 304.6195778861502
}
}, {
"class" : "cdm::model::CreditDefaultPayout",
"id" : "6b6780db-eccd-42a2-a073-f291d0c8d3dd",
"position" : {
"x" : 1322.8645320612825,
"y" : 634.4840341254557
},
"rectangle" : {
"height" : 128,
"width" : 368.712890625
}
}, {
"class" : "cdm::model::Contract",
"id" : "0354412d-e3da-46b4-9181-4eef4e16bfb8",
"position" : {
"x" : 368.6626794258374,
"y" : 201.73046251993617
},
"rectangle" : {
"height" : 240,
"width" : 369.03515625
}
}, {
"class" : "cdm::model::SecurityPayout",
"id" : "370de700-635e-4795-bf46-78eec8e09cde",
"position" : {
"x" : 1338.4527673554,
"y" : 527.4840341254557
},
"rectangle" : {
"height" : 114,
"width" : 286.578125
}
}, {
"class" : "cdm::model::EventEffect",
"id" : "bec868cf-df73-49b1-b360-c452b51275fd",
"position" : {
"x" : -70.44736842105254,
"y" : 303.8421052631578
},
"rectangle" : {
"height" : 108,
"width" : 278.5751953125
}
} ],
"generalizationViews" : [ ],
"name" : "Simple",
"package" : "cdm",
"propertyViews" : [ {
"line" : {
"points" : [ {
"x" : 179.82818502735165,
"y" : 395.38030395643256
}, {
"x" : 389.48479199053816,
"y" : 395.7949770026847
} ]
},
"property" : {
"class" : "cdm::model::EventEffect",
"property" : "effectedContract"
},
"sourceView" : "bec868cf-df73-49b1-b360-c452b51275fd",
"targetView" : "0354412d-e3da-46b4-9181-4eef4e16bfb8"
}, {
"line" : {
"points" : [ {
"x" : 198.16601955215066,
"y" : 331.1262993797735
}, {
"x" : 264.4597639747201,
"y" : 330.9592513248536
}, {
"x" : 265.06901437344425,
"y" : 253.89067078258898
}, {
"x" : 397.48479199053816,
"y" : 253.79497700268467
} ]
},
"property" : {
"class" : "cdm::model::EventEffect",
"property" : "contract"
},
"sourceView" : "bec868cf-df73-49b1-b360-c452b51275fd",
"targetView" : "0354412d-e3da-46b4-9181-4eef4e16bfb8"
}, {
"line" : {
"points" : [ {
"x" : 695.8484283541745,
"y" : 573.9767951845029
}, {
"x" : 817.7962871007169,
"y" : 573.8906707825889
}, {
"x" : 817.7962871007169,
"y" : 299.7088526007708
}, {
"x" : 1034.759123149671,
"y" : 297.44736842105283
} ]
},
"property" : {
"class" : "cdm::model::ContractualProduct",
"property" : "economicTerms"
},
"sourceView" : "a903ae00-c276-4557-85c4-bac3a506119c",
"targetView" : "7e78f93d-2bcd-45c3-935a-9e3d4b7cd61b"
}, {
"line" : {
"points" : [ {
"x" : 881.8230377291745,
"y" : 341.97679518450286
}, {
"x" : 839.6144689188988,
"y" : 341.890670782589
}, {
"x" : 839.6144689188988,
"y" : 801.5270344189526
}, {
"x" : 1023.7116058633051,
"y" : 806.5974051883729
} ]
},
"property" : {
"class" : "cdm::model::EconomicTerms",
"property" : "payout"
},
"sourceView" : "7e78f93d-2bcd-45c3-935a-9e3d4b7cd61b",
"targetView" : "bb0eff8a-53fc-4ed3-a0e6-b73e441d9066"
}, {
"line" : {
"points" : [ {
"x" : 1136.8484283541745,
"y" : 1067.9767951845029
}, {
"x" : 1222.147712915995,
"y" : 1068.4260705468216
}, {
"x" : 1222.0387113431414,
"y" : 1233.3452162371345
}, {
"x" : 1505.740336289223,
"y" : 1234.7781517725143
} ]
},
"property" : {
"class" : "cdm::model::Payout",
"property" : "interestRatePayout"
},
"sourceView" : "bb0eff8a-53fc-4ed3-a0e6-b73e441d9066",
"targetView" : "4997b962-4266-4469-941b-0ac13d1ca7f1"
}, {
"line" : {
"points" : [ {
"x" : 1164.7053780098079,
"y" : 692.0118829038009
}, {
"x" : 1507.2209773737825,
"y" : 691.4840341254557
} ]
},
"property" : {
"class" : "cdm::model::Payout",
"property" : "creditDefaultPayout"
},
"sourceView" : "bb0eff8a-53fc-4ed3-a0e6-b73e441d9066",
"targetView" : "6b6780db-eccd-42a2-a073-f291d0c8d3dd"
}, {
"line" : {
"points" : [ {
"x" : 1131.3720446764746,
"y" : 1025.3452162371345
}, {
"x" : 1508.5944694463922,
"y" : 1023.3075635372203
} ]
},
"property" : {
"class" : "cdm::model::Payout",
"property" : "optionPayout"
},
"sourceView" : "bb0eff8a-53fc-4ed3-a0e6-b73e441d9066",
"targetView" : "0496ae17-578e-4467-8169-c6c62fc03425"
}, {
"line" : {
"points" : [ {
"x" : 1155.8484283541745,
"y" : 488.97679518450286
}, {
"x" : 1212.756408568169,
"y" : 489.29563576421293
}, {
"x" : 1212.7053780098076,
"y" : 261.1633980553163
}, {
"x" : 1485.3495772512333,
"y" : 259.81736745878914
} ]
},
"property" : {
"class" : "cdm::model::Payout",
"property" : "forwardPayout"
},
"sourceView" : "bb0eff8a-53fc-4ed3-a0e6-b73e441d9066",
"targetView" : "6b389f9c-49cc-4ab9-9879-c8d4fe0d68a7"
}, {
"line" : {
"points" : [ {
"x" : 1147.8484283541745,
"y" : 634.9767951845029
}, {
"x" : 1282.6694520464298,
"y" : 634.3391140250825
}, {
"x" : 1282.0387113431414,
"y" : 580.0118829038009
}, {
"x" : 1481.7418298554,
"y" : 577.4840341254557
} ]
},
"property" : {
"class" : "cdm::model::Payout",
"property" : "securityPayout"
},
"sourceView" : "bb0eff8a-53fc-4ed3-a0e6-b73e441d9066",
"targetView" : "370de700-635e-4795-bf46-78eec8e09cde"
}, {
"line" : {
"points" : [ {
"x" : 1149.8484283541745,
"y" : 566.9767951845029
}, {
"x" : 1231.5390172638213,
"y" : 567.5565053294303
}, {
"x" : 1230.1599234643531,
"y" : 399.3452162371344
}, {
"x" : 1487.8544600637333,
"y" : 400.81736745878914
} ]
},
"property" : {
"class" : "cdm::model::Payout",
"property" : "cashflow"
},
"sourceView" : "bb0eff8a-53fc-4ed3-a0e6-b73e441d9066",
"targetView" : "0ba773be-dac1-43ad-9fb9-3818327f6e98"
} ]
}
}
\ No newline at end of file
{
"classifierPath" : "meta::pure::metamodel::function::ConcreteFunctionDefinition",
"content" : {
"_type" : "function",
"body" : [ {
"_type" : "func",
"function" : "letFunction",
"parameters" : [ {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ "calculationPeriod" ]
}, {
"_type" : "func",
"function" : "cdm::functions::CalculationPeriod",
"parameters" : [ {
"_type" : "func",
"function" : "toOne",
"parameters" : [ {
"_type" : "property",
"parameters" : [ {
"_type" : "var",
"name" : "interestRatePayout"
} ],
"property" : "calculationPeriodDates"
} ]
}, {
"_type" : "var",
"name" : "date"