-
Key: UMLR-224
-
Legacy Issue Number: 15236
-
Status: open
-
Source: Airbus Group ( Mr. Yves Bernard)
-
Summary:
According to the semantics sub-clause of the ยง7.3.10, it seems that the intent is that there is a relationship between the context and the owner of the constraint:
“In general there are many possible kinds of owners for a Constraint. The only restriction is that the owning element must have access to the constrainedElements.
The owner of the Constraint will determine when the constraint specification is evaluated. For example, this allows an Operation to specify if a Constraint represents a precondition or a postcondition”
I not sure it is possible to define a constraint without a context. I believe a constraint always has a context even if it is an implicit one.
Maybe a convenient solution would be to make the context non-derived but mandatory ([1..1]) with a default value set to the constraint’s owner.
-
Reported: UML 2.5 — Tue, 16 Mar 2010 04:00 GMT
-
Updated: Fri, 6 Mar 2015 20:57 GMT
UMLR — not sure it is possible to define a constraint without a context
- Key: UMLR-224
- OMG Task Force: UML 2.6 RTF