file Description on Class operations are getting imported as Comments

7 years 7 months ago #3126 by vatsala
I created a UML class and operation in Modelio.
Added one comment and one description on the method.
exported the model as .uml (version UML 3.0.0) and imported the same UML in another modelio project.
The description above the methods appears as "Comment" NOT "description".
And even if you export the model again, the tag <ownedComment><eAnnotations><contents><defaultValue value="comment"/></contents></eAnnotations></ownedComment>
instead of
<ownedComment><eAnnotations><contents><defaultValue value="description"/></contents></eAnnotations></ownedComment>
which appear on the first export.

Please Log in or Create an account to join the conversation.

7 years 7 months ago #3128 by ebr
Dear Vatsala,

In UML, only Comments are defined. Of course Modelio implements it but Modelio also redifines it into Descripstion, Summary, etc. So in short Description are Modelio specific Comment.

In order to keep these specific Comment during a XMI export/import, you have to check the "Adding Modleio annotation" availeble in the XMI export dialog as depicted below.



Hoping it helps,

EBR
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: tmaaabcde
Time to create page: 0.148 seconds
^ Back to Top