eclipse-uml2 / uml2

An EMF-based implementation of the UML 2.x metamodel for the Eclipse platform.
Eclipse Public License 2.0
5 stars 4 forks source link

UML2Ecore should add oppositeUpper/Lower/Ordered/Unique annotations #79

Open eclipse-uml2-bot opened 1 week ago

eclipse-uml2-bot commented 1 week ago

| --- | --- | | Bugzilla Link | 493786 | | Status | NEW | | Importance | P3 enhancement | | Reported | May 17, 2016 06:11 EDT | | Modified | May 17, 2016 11:17 EDT | | Reporter | Ed Willink |

Description

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.

eclipse-uml2-bot commented 1 week ago

By Ed Willink on May 17, 2016 06:25

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.

eclipse-uml2-bot commented 1 week ago

By Kenn Hussey on May 17, 2016 09:36

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...

eclipse-uml2-bot commented 1 week ago

By Ed Willink on May 17, 2016 11:17

Residue of Issue 12800 raised as http://issues.omg.org/browse/MOF26-35