Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » How to transform a textual description of a UML model to UML2 format
How to transform a textual description of a UML model to UML2 format [message #528744] Wed, 21 April 2010 16:03 Go to next message
mark  is currently offline mark
Messages: 2
Registered: April 2010
Junior Member
Hi,

I've spent most of the day trying to investigate how I could transform a textual description of a UML model to UML2 XMI format?

Basically I'm looking to transform something like this:

Class LoanItem
Class Book GeneralisationWith LoanItem


to the relevant .uml format such as
<packagedElement xmi:type="uml:Class" xmi:id="_ZfD3QC0YEd-yS-ehiYzChA" name="Book">
    <generalization xmi:id="_5V9-cC0YEd-yS-ehiYzChA" general="_Z2KIoC0YEd-yS-ehiYzChA"/>
  </packagedElement>

<packagedElement xmi:type="uml:Class" xmi:id="_Z2KIoC0YEd-yS-ehiYzChA" name="LoanItem">
    <ownedOperation xmi:id="_u8C9QC0YEd-yS-ehiYzChA" name="check-out"/>
    <ownedOperation xmi:id="_vPalMC0YEd-yS-ehiYzChA" name="check-in"/>
  </packagedElement>


Any hints or type would be greatly appreciated.
Re: How to transform a textual description of a UML model to UML2 format [message #528749 is a reply to message #528744] Wed, 21 April 2010 16:08 Go to previous message
Sylvain EVEILLARD is currently offline Sylvain EVEILLARD
Messages: 522
Registered: July 2009
Senior Member
Use Xtext and define a DSL that you'll transform to UML2 using a M2M tool.
Previous Topic:How to transform a textual description of a UML model to UML2 format
Next Topic:Re: How to transform a textual description of a UML model to UML2 format
Goto Forum:
  


Current Time: Wed Sep 17 15:56:22 GMT 2014

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

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