-
Key: OCL25-184
-
Legacy Issue Number: 7542
-
Status: open
-
Source: OpenModeling ( Jos Warmer)
-
Summary:
34. – [1] The result value of an if expression is the result of the thenExpression
– if the condition is true, else it is the result of the elseExpression.
context IfExpEval inv:
resultValue = if condition then thenExpression.resultValue else
elseExpression.resultValue
endif
==> ’condition’ should be ’condition.resultValue->oclAsType(Boolean) = true’ -
Reported: OCL 2.0b2 — Thu, 10 Jun 2004 04:00 GMT
-
Updated: Thu, 8 Oct 2015 14:12 GMT
OCL25 — result value of an if expression
- Key: OCL25-184
- OMG Task Force: Object Constraint Language 2.5 RTF