Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » UML to comments ?(How to transform uml to text with applied rules)
UML to comments ? [message #1755718] Tue, 07 March 2017 08:45 Go to next message
Ivan Pavkovic is currently offline Ivan PavkovicFriend
Messages: 1
Registered: March 2017
Junior Member
Good day everyone.

At the moment i have UML state machines which have some stereotypes applied on them. Created with IBM RSA (possible export formats are UML, UML XMI, JAVA and ECORE).

What I would like to do , is to write code which traverses all the states, and based on the stereotypes applied on it, and rules which i write, it provides output as simple as textual file with comments.

A very simple example of the algorithm and the textual output which i wish to get is in the attachment.

Which tooling would you recommend me to use to achieve this?

Big thank you and kind regard.

Re: UML to comments ? [message #1755856 is a reply to message #1755718] Wed, 08 March 2017 16:43 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31961
Registered: July 2009
Senior Member
The UML2 model should be able to load instances and using that API you should be able to do what you want:

Ed Merks
Professional Support:
Previous Topic:Test if EMF object is loading?
Next Topic:[Validation] ConstraintProxy and currentConstraintData
Goto Forum:

Current Time: Mon Aug 02 20:10:43 GMT 2021

Powered by FUDForum. Page generated in 0.01375 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top