QVT转换应用于从Rhapsody导出的UML(XMI)模型 [英] QVT transformation applied to UML (XMI) models exported from Rhapsody

查看:211
本文介绍了QVT转换应用于从Rhapsody导出的UML(XMI)模型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想这是关于模型转换的一个非常奇怪的问题. 我从用Rhapsody(IBM/Telelogic)定义并通过Rhapsody XMI工具包在XMI中导出的UML 2.2模型开始.我已经使用Topcased(基于Eclipse的UML/Sysml建模环境)成功打开了它.因此,我对其应用了QVT转换,旨在创建具有特定实体子集的新UML模型. 不幸的是,我没有找到我在Rhapsody中编写的检索实体描述(即类和方法描述)的正确方法.我注意到它们以RhapsodyProfile:RhpModelElement标签和descriptionHTML或descriptionRTF属性的形式出现在XMI文件中.但是,在QVT转换中,它们既不能引用为原型,也不能引用为注释.对我来说,重要的是不要丢失此信息.你们中有人遇到过同样的问题吗?

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?

提前谢谢

推荐答案

好的,我想我可以回答我的问题. 我实际上还没有找到实现此目的的方法,但是您可以通过在Rhapsody中使用tag来解决它.它们作为应用于标签元素的构造型导出.因此,您可以在QVT中对其进行管理.

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.

再见

安德里亚

这篇关于QVT转换应用于从Rhapsody导出的UML(XMI)模型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆