-
Key: UML22-37
-
Legacy Issue Number: 7248
-
Status: closed
-
Source: PostFinance ( Karl Guggisberg)
-
Summary:
Connector - inconsistencies in Constraint [2] Constraint [2] says: "[2] If a delegation connector is defined between a used Interface or Port and an internal Part Classifier, then that Classifier must have an “implements” relationship to the Interface type of that Port." There are two problems with this constraint: 1. A connector cannot be defined between a used Interface and an internal Part, because Interface is not a ConnectableElement. 2. What is "the Interface type of that Port" ? The Classifier given by port.type? This Classifier can be but does not have to be an Interface. Or one of the Interfaces given by port.required? Which one?
-
Reported: UML 2.0 — Thu, 15 Apr 2004 04:00 GMT
-
Disposition: Resolved — UML 2.2
-
Disposition Summary:
This constraint and the following two are currently incomprehensible (see 7249 and 7250). According to Internal Structures, "What makes connectable elements compatible is a semantic variation point." I see no particular reason to change this for components, and given that connectors are n-ary, it would be hard to do so. So I propose simply to delete the constraints. Profiles are free to restrict connectors to binary and to impose signature compatibility, based on type or contract compatibility, if they wish to.
-
Updated: Fri, 6 Mar 2015 20:58 GMT