-
Key: UML14-927
-
Legacy Issue Number: 2018
-
Status: closed
-
Source: Anonymous
-
Summary:
Summary: Infix operators like "+" and "<" etc. are defined for built-in OCL types.
It is not explained whether you can
use these for user defined types. The proposal is to allow infix notation
for all of the
operators defined in OCL for used-defined types as well. If someone
defines the operation
"+(p : Person)"
on type Person, this can be used in OCL by
somePerson + anotherPerson.
instead of just by
somePerson.+(anotherPerson)
The OCL specification is not clear whether this is allowed or not. -
Reported: UML 1.1 — Wed, 30 Sep 1998 04:00 GMT
-
Disposition: Resolved — UML 1.2
-
Disposition Summary:
Clarified in UML 1.3.
-
Updated: Fri, 6 Mar 2015 21:36 GMT