Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358051 - ConnectorOperations validation rules should test for interface compatibility rather than identity
Summary: ConnectorOperations validation rules should test for interface compatibility ...
Status: RESOLVED WONTFIX
Alias: None
Product: MDT.UML2
Classification: Modeling
Component: Core (show other bugs)
Version: 3.2.0   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: UML2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-19 02:16 EDT by Alexander Nyßen CLA
Modified: 2012-06-14 15:40 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Nyßen CLA 2011-09-19 02:16:39 EDT
The validation rules implemented within ConnectorOperations do check for identity of interfaces instead of signature compatibility. This is too strict, according to UML2 superstructure, Section 8.3.2, Paragraph Constraints, the following holds:

[3]	If a delegation connector is defined between a source Interface or Port and a target Interface or Port, then the target Interface must support a signature compatible subset of Operations of the source Interface or Port.

[4]	In a complete model, if a source Port has delegation connectors to a set of delegated target Ports, then the union of the Interfaces of these target Ports must be signature compatible with the Interface that types the source Port.

Thus, the methods within ConnectorOperations should be reimplemented to test for signature compatibility of operations instead.
Comment 1 Kenn Hussey CLA 2011-09-24 10:35:26 EDT
These constraints no longer exist in UML 2.4 (to be supported by UML2 4.0)...
Comment 2 Kenn Hussey CLA 2012-06-14 15:40:48 EDT
Now that the Indigo service releases are done and UML2 4.0, which supports UML 2.4.1 (where these constraints no longer exist), is about to be released, it's not likely we'll go back and fix this issue.