Commit f02fe9e0 authored by Mohammed Ibrahim's avatar Mohammed Ibrahim

syncing with workspace from studio [potentially affected 43 entities]

parent e0da1e3a
{
"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"
} ]
} ]
}, {
"_type" : "func",
"function" : "letFunction",
"parameters" : [ {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ "endDateIsInLeapYear" ]
}, {
"_type" : "func",
"function" : "cdm::functions::natives::isLeap",
"parameters" : [ {
"_type" : "func",
"function" : "year",
"parameters" : [ {
"_type" : "property",
"parameters" : [ {
"_type" : "var",
"name" : "calculationPeriod"
} ],
"property" : "endDate"
} ]
} ]
} ]
}, {
"_type" : "func",
"function" : "letFunction",
"parameters" : [ {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ "daysInPeriod" ]
}, {
"_type" : "property",
"parameters" : [ {
"_type" : "var",
"name" : "calculationPeriod"
} ],
"property" : "daysInPeriod"
} ]
}, {
"_type" : "func",
"function" : "letFunction",
"parameters" : [ {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ "daysInYear" ]
}, {
"_type" : "func",
"function" : "if",
"parameters" : [ {
"_type" : "var",
"name" : "endDateIsInLeapYear"
}, {
"_type" : "lambda",
"body" : [ {
"_type" : "integer",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ 366 ]
} ],
"parameters" : [ ]
}, {
"_type" : "lambda",
"body" : [ {
"_type" : "integer",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ 365 ]
} ],
"parameters" : [ ]
} ]
} ]
}, {
"_type" : "func",
"function" : "letFunction",
"parameters" : [ {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ "result" ]
}, {
"_type" : "func",
"function" : "divide",
"parameters" : [ {
"_type" : "var",
"name" : "daysInPeriod"
}, {
"_type" : "var",
"name" : "daysInYear"
} ]
} ]
}, {
"_type" : "var",
"name" : "result"
} ],
"name" : "ACT_365L",
"package" : "cdm::functions",
"parameters" : [ {
"_type" : "var",
"class" : "cdm::model::InterestRatePayout",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"name" : "interestRatePayout"
}, {
"_type" : "var",
"class" : "Date",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"name" : "date"
} ],
"returnMultiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"returnType" : "Float",
"taggedValues" : [ {
"tag" : {
"profile" : "meta::pure::profiles::doc",
"value" : "doc"
},
"value" : "The actual number of days in the Calculation Period or Compounding Period in respect of which payment is being made divided by 365 (or, if the later Period End Date of the Calculation Period or Compounding Period falls in a leap year, divided by 366)"
} ]
}
}
\ 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" : [ "settlementDate" ]
}, {
"_type" : "func",
"function" : "cdm::functions::ConvertToAdjustableOrRelativeDate",
"parameters" : [ {
"_type" : "property",
"parameters" : [ {
"_type" : "var",
"name" : "cashflow"
} ],
"property" : "cashflowDate"
} ]
} ]
}, {
"_type" : "func",
"function" : "new",
"parameters" : [ {
"_type" : "class",
"fullPath" : "cdm::model::SettlementTerms"
}, {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ ]
}, {
"_type" : "collection",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ {
"_type" : "keyExpression",
"add" : false,
"expression" : {
"_type" : "property",
"parameters" : [ {
"_type" : "var",
"name" : "cashflow"
} ],
"property" : "payerReceiver"
},
"key" : {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ "payerReceiver" ]
}
}, {
"_type" : "keyExpression",
"add" : false,
"expression" : {
"_type" : "property",
"parameters" : [ {
"_type" : "property",
"parameters" : [ {
"_type" : "var",
"name" : "cashflow"
} ],
"property" : "payoutQuantity"
} ],
"property" : "assetIdentifier"
},
"key" : {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ "assetIdentifier" ]
}
}, {
"_type" : "keyExpression",
"add" : false,
"expression" : {
"_type" : "property",
"parameters" : [ {
"_type" : "enum",
"fullPath" : "cdm::model::SettlementTypeEnum"
} ],
"property" : "Cash"
},
"key" : {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ "settlementType" ]
}
}, {
"_type" : "keyExpression",
"add" : false,
"expression" : {
"_type" : "var",
"name" : "settlementDate"
},
"key" : {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ "settlementDate" ]
}
} ]
} ]
} ],
"name" : "CashflowSettlementTerms",
"package" : "cdm::functions",
"parameters" : [ {
"_type" : "var",
"class" : "cdm::model::Cashflow",
"multiplicity" : {
"lowerBound" : 0,
"upperBound" : 1
},
"name" : "cashflow"
} ],
"returnMultiplicity" : {
"lowerBound" : 0,
"upperBound" : 1
},
"returnType" : "cdm::model::SettlementTerms"
}
}
\ No newline at end of file
This diff is collapsed.
{
"classifierPath" : "meta::pure::metamodel::function::ConcreteFunctionDefinition",
"content" : {
"_type" : "function",
"body" : [ {
"_type" : "func",
"function" : "new",
"parameters" : [ {
"_type" : "class",
"fullPath" : "cdm::model::WorkflowStep"
}, {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ ]
}, {
"_type" : "collection",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ {
"_type" : "keyExpression",
"add" : false,
"expression" : {
"_type" : "var",
"name" : "messageInformation"
},
"key" : {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ "messageInformation" ]
}
}, {
"_type" : "keyExpression",
"add" : false,
"expression" : {
"_type" : "var",
"name" : "timestamp"
},
"key" : {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ "timestamp" ]
}
}, {
"_type" : "keyExpression",
"add" : false,
"expression" : {
"_type" : "var",
"name" : "eventIdentifier"
},
"key" : {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ "eventIdentifier" ]
}
}, {
"_type" : "keyExpression",
"add" : false,
"expression" : {
"_type" : "var",
"name" : "party"
},
"key" : {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ "party" ]
}
}, {
"_type" : "keyExpression",
"add" : false,
"expression" : {
"_type" : "var",
"name" : "account"
},
"key" : {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ "account" ]
}
}, {
"_type" : "keyExpression",
"add" : false,
"expression" : {
"_type" : "var",
"name" : "previousWorkflowStep"
},
"key" : {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ "previousWorkflowStep" ]
}
}, {
"_type" : "keyExpression",
"add" : false,
"expression" : {
"_type" : "var",
"name" : "businessEvent"
},
"key" : {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ "businessEvent" ]
}
} ]
} ]
} ],
"name" : "Create_AcceptedWorkflowStep",
"package" : "cdm::functions",
"parameters" : [ {
"_type" : "var",
"class" : "cdm::model::MessageInformation",
"multiplicity" : {
"lowerBound" : 0,
"upperBound" : 1
},
"name" : "messageInformation"
}, {
"_type" : "var",
"class" : "cdm::model::EventTimestamp",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"name" : "timestamp"
}, {
"_type" : "var",
"class" : "cdm::model::Identifier",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"name" : "eventIdentifier"
}, {
"_type" : "var",
"class" : "cdm::model::Party",
"multiplicity" : {
"lowerBound" : 0
},
"name" : "party"
}, {
"_type" : "var",
"class" : "cdm::model::Account",
"multiplicity" : {
"lowerBound" : 0
},
"name" : "account"
}, {
"_type" : "var",
"class" : "cdm::model::WorkflowStep",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"name" : "previousWorkflowStep"
}, {
"_type" : "var",
"class" : "cdm::model::BusinessEvent",
"multiplicity" : {
"lowerBound" : 0,
"upperBound" : 1
},
"name" : "businessEvent"
} ],
"returnMultiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"returnType" : "cdm::model::WorkflowStep",
"taggedValues" : [ {
"tag" : {
"profile" : "meta::pure::profiles::doc",
"value" : "doc"
},
"value" : "Represents the acceptance of a proposed instruction that results in a workflow step containing a business event, message details, identifiers, event timestamps, parties and accounts. The previous workflow step input must exist to provide workflow lineage. The instruction from the previous workflow step should be used with a [creation BusinessEvent] function to create the input business event passed into this function e.g. AllocationInstruction from the previous step is used with Create_Allocation to produce the business event which should used as an input to this step "
} ]
}
}
\ No newline at end of file
{
"classifierPath" : "meta::pure::metamodel::function::ConcreteFunctionDefinition",
"content" : {
"_type" : "function",
"body" : [ {
"_type" : "func",
"function" : "new",
"parameters" : [ {
"_type" : "class",
"fullPath" : "cdm::model::WorkflowStep"
}, {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ ]
}, {
"_type" : "collection",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ {
"_type" : "keyExpression",
"add" : false,
"expression" : {
"_type" : "var",
"name" : "messageInformation"
},
"key" : {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ "messageInformation" ]
}
}, {
"_type" : "keyExpression",
"add" : false,
"expression" : {
"_type" : "var",
"name" : "timestamp"
},
"key" : {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ "timestamp" ]
}
}, {
"_type" : "keyExpression",
"add" : false,
"expression" : {
"_type" : "var",
"name" : "eventIdentifier"
},
"key" : {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ "eventIdentifier" ]
}
}, {
"_type" : "keyExpression",
"add" : false,
"expression" : {
"_type" : "var",
"name" : "party"
},
"key" : {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ "party" ]
}
}, {
"_type" : "keyExpression",
"add" : false,
"expression" : {
"_type" : "var",
"name" : "account"
},
"key" : {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ "account" ]
}
}, {
"_type" : "keyExpression",
"add" : false,
"expression" : {
"_type" : "var",
"name" : "previousWorkflowStep"
},
"key" : {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ "previousWorkflowStep" ]
}
}, {
"_type" : "keyExpression",
"add" : false,
"expression" : {
"_type" : "var",
"name" : "proposedInstruction"
},
"key" : {
"_type" : "string",
"multiplicity" : {
"lowerBound" : 1,
"upperBound" : 1
},
"values" : [ "proposedInstruction" ]
}
} ]
} ]
} ],
"name" : "Create_ProposedWorkflowStep",
"package" : "cdm::functions",
"parameters" : [ {
"_type" : "var",
"class" : "cdm::model::MessageInformation",