Bug 493786 - UML2Ecore should add oppositeUpper/Lower/Ordered/Unique annotations
Summary: UML2Ecore should add oppositeUpper/Lower/Ordered/Unique annotations
Status: NEW
Alias: None
Product: MDT.UML2
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows NT
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: UML2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-17 06:11 EDT by Ed Willink CLA
Modified: 2016-05-17 11:17 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2016-05-17 06:11:37 EDT
Just spotted some inconsistent EAnnotation source spellings in my QVT tests, so revisiting to see what was 'agreed'.

Bug 420338 is confusing. The oppositeRoleName support was added, but the other opposites were not, despite Bug 420338#c12 which could be read as if they had.

Therefore raising a new bug for the residue of Bug 420338 and the patch from comment 10.
Comment 1 Ed Willink CLA 2016-05-17 06:25:02 EDT
The loss of unnavigable upper/ordered in UML2Ecore could be serious for anyone using UML2Ecore as part of their advanced rigorous modeling. OCL opposite navigation is an example of advanced rigorous modeling that can malfunction.

However surely most sensible advanced rigorous modellers will consume the UML rather than the Ecore? The new pivot-based OCL consumes the UML.

No user has seen a problem here.
Comment 2 Kenn Hussey CLA 2016-05-17 09:36:19 EDT
Bug 420338 was about adding oppositeRoleName annotations. If I recall correctly, we stopped short of adding the additional annotations for upper, lower, ordered, and unique values because they had yet to be defined/ratified by the CMOF XMI specification (per my question in Bug 420338#c11). Looking at http://www.omg.org/spec/MOF/2.5/PDF/, I still see no mention of the additional tags...
Comment 3 Ed Willink CLA 2016-05-17 11:17:31 EDT
Residue of Issue 12800 raised as http://issues.omg.org/browse/MOF26-35