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

Camel Case Names option results in semantically important base_Class property name changing to baseClass #106

Open eclipse-uml2-bot opened 1 week ago

eclipse-uml2-bot commented 1 week ago

| --- | --- | | Bugzilla Link | 570401 | | Status | NEW | | Importance | P3 normal | | Reported | Jan 15, 2021 20:20 EDT | | Modified | Jan 16, 2021 02:14 EDT | | Reporter | Deniz Eren |

Description

Issue found regarding EMF feature "EMF Generator Model" when setting "UML Import" Option "Camel Case Names" to "Process" configuration.

Issue if that UML property such as "baseClass" gets beautified to be "baseClass" with the "" character being removed when the "Camel Case Names" options is set to "Process" configuration.

This is an issue because the exact name "baseClass" has semantic importance to UML models. This beautification that removes the "" character also ultimately results in the failure of the Papyrus static profile as discussed in detail in this Papyrus forum:\ https://help.eclipse.org/2020-12/topic/org.eclipse.papyrus.uml.diagram.profile.doc/target/generated-eclipse-help/users/generatingStaticProfiles.html?cp=73_0_1_8_5

Please note that this is not only or specifically applicable to "base_Class" property; it also applies to other UML metamodel stereotype applications, for example "base_Abstraction", "base_Association", "base_Classifier", etc...

eclipse-uml2-bot commented 1 week ago

By Ed Willink on Jan 16, 2021 02:14

This is a problem in the beautification offered by the UML 'added value'. EMF is more consistent.