Menu

#20 Missing Stereotypes in exported UML

open
nobody
None
5
2013-03-12
2013-03-12
creaf
No

I followed your UML2Exporter Tutorial using oAW 4.3.1 and stumbled into a problem concerning Stereotypes.
Inside my EA Model there\'s a Class \"Booking\" which has the Stereotype \"MyClass\" applied.
This Stereotype is defined inside the Profile \"MyDSL\".
After using EA_Xmi2Exporter the element \"Booking\" inside the resulting XMI file is missing the aforementioned Stereotype.

Since I\'m using MagicDraw in a similar fashion in another project I know that it exports Stereotype information as follows:

<ownedMember xmi:type=\"uml:Package\" xmi:id=\"_9_5_f720368_1110801802169_446586_0\" name=\"JDK 5.0 Classes\">
<eAnnotations xmi:id=\"_4aqiEBClEeG98fAQk9iKdA\" source=\"appliedStereotypes\">
<contents xmi:type=\"Basic_0:Basic__ModelLibrary\" xmi:id=\"_4aqiERClEeG98fAQk9iKdA\"/>
<contents xmi:type=\"StandardProfileL2_0:StandardProfileL2__modelLibrary\" xmi:id=\"_4arJIBClEeG98fAQk9iKdA\"/>
</eAnnotations>
...
</ownedMember>

So i kind of was expecting something similar from Enterprise Architect and UML2Exporter...

My Eclipse Project is attached.

Could you please help me or point me into the right direction?
Thank you.

Discussion

  • creaf

    creaf - 2013-03-12

    EA UML2Exporter Demo

     
  • Ueli Brawand

    Ueli Brawand - 2013-03-12

    Hi
    I didn't work on this project any more.

    Please check the following:
    - Exporting the DSL before model
    - Add exported DSL into export definition (described in) tutorial

    More help I can not provide.

    Regards.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.