UML 2.6 RTF Avatar
  1. OMG Issue

UMLR — OCL Syntax in expressions

  • Key: UMLR-98
  • Legacy Issue Number: 9886
  • Status: open  
  • Source: Adaptive ( Mr. Pete Rivett)
  • Summary:

    When OCL is used in body of OpaqueExpressions it's unclear what syntax should be used - in particular whether keywords like "context:", "inv:", "pre:" should be used or not. Section 7.3.35 should, for OCL, reference the correct concrete syntax element in the OCL spec. Additional material for this issue:

    At the moment in 7.3.35 there is just a 'style guideline' for how OCL constraints/expressions should be expressed using an OpaqueExpression
    For interoperability there should be a stronger statement that OCL constraints must have language = "OCL".
    Also it should be made clearer that such OpaqueExpressions should have type=Boolean

  • Reported: UML 2.5 — Thu, 6 Jul 2006 04:00 GMT
  • Updated: Fri, 6 Mar 2015 20:57 GMT