Added cardinality to type checking

This commit is contained in:
macocianradu
2021-12-01 01:40:26 +01:00
parent ff25395b68
commit 9210c78beb
5 changed files with 120 additions and 70 deletions

View File

@@ -24,11 +24,11 @@ type ObservationPrimitive:
func EquityPriceObservation: <"Function specification for the observation of an equity price, based on the attributes of the 'EquityValuation' class.">
inputs:
equity int (1..1)
valuationDate int (1..1)
valuationDate ObservationPrimitive (1..1)
valuationTime int (0..1)
timeType TestType (0..1)
determinationMethod ObservationPrimitive (1..*)
output:
observation ObservationPrimitive (1..1)
observation ObservationPrimitive (0..1)
assign-output: if equity exists then valuationDate