model-UA / uml-to-opcua

Eclipse Public License 2.0
6 stars 1 forks source link

Checking UML::PrimitiveType #5

Open thomasfruehwirth opened 3 years ago

thomasfruehwirth commented 3 years ago

When the transformation is started using a "QVT Operational Transformation" run configuration, the qualifiedName and other attributes of an UML::PrimitiveType can be accessed. However, this is not possible when starting the transformation programatically, and requires some not-very-elegant type checking in this switch statement: https://github.com/model-UA/uml-to-opcua/blob/36aa8ccba6a4be5a27d3a52741bff823d6d1568d/QvtoTransformationRules/transforms/ClassDiagram/Classes.qvto#L46-L62

thomasfruehwirth commented 3 years ago

Maybe a related issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=262140