-
Key: OCL231-38
-
Legacy Issue Number: 1790
-
Status: closed
-
Source: Anonymous
-
Summary:
Summary: The current specification for OCL lacks many of the features we commonly
use when doing formal specification of class interfaces, e.g. the ability
to specify the frame condition, the ability to specify postconditions
case-wise, the ability to specify when exceptions are thrown, etc.To bring OCL closer to the state of the art, I would like to see these
considered as future extensions. -
Reported: UML 1.1 — Mon, 10 Aug 1998 04:00 GMT
-
Disposition: Resolved — OCL 2.3.1
-
Disposition Summary:
This issue was forked off from UML 1.x 15 years ago. It doesn't seem to have anything to do with OCL at all. But rather than throw the issue back to UML, let's address it anyway.
One could imagine a UML extension that introduced a Frame class and an Operation.ownedFrameCondition to host it. OCL expressions could then impose the semantics.
However a Frame would be specific to a particular implementation approach, and so it would seem more appropriate to use stereotypes to model the implementation characteristics. Perhaps one of the standard UML profiles already provides this capability.
Disposition: Closed, no change -
Updated: Sun, 8 Mar 2015 18:23 GMT