QVT transformation applied to UML (XMI) models exported from Rhapsody

有些话、适合烂在心里 提交于 2019-12-08 12:45:44

问题


I guess this is quite a strange question about models transformation. I am starting from a UML 2.2 model defined with Rhapsody (IBM/Telelogic) and exported in XMI by means of the Rhapsody XMI toolkit. I have succesfully opened it with Topcased (The Eclipse based UML/Sysml modeling environment). I have therefore applied a QVT transformation to it, aimed at creating a new UML model with a specific subset of entities. Unfortunately i have not found the right way to retrieve entities description (i.e. class and methods description) i wrote in Rhapsody. I have noticed these are present in the XMI file as RhapsodyProfile:RhpModelElement tags and descriptionHTML or descriptionRTF attributes. However in the QVT transformation they are neither referrable as stereotypes nor as annotations. It is very important to me not to loose this information. Is there any of you who faced the same issue?

Thank you in advance


回答1:


OK I guess I could answer my question. I have actually not found the way to do that but you can work around it by using tag in Rhapsody. They are exported as Stereotypes applied to the tagged element. You can thus manage them in QVT.

Bye

Andrea




回答2:


Probably these comments are not exported in a "standard" XMI format so Topcased ignores them when loading the model.



来源:https://stackoverflow.com/questions/5005002/qvt-transformation-applied-to-uml-xmi-models-exported-from-rhapsody

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!