Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » UML class diagram to JAVA code(UML class diagram to JAVA code)
UML class diagram to JAVA code [message #558094] Fri, 10 September 2010 07:55 Go to next message
comsi  is currently offline comsi Friend
Messages: 1
Registered: September 2010
Junior Member
Hi,

i am trying to perform a transformatin of UML class diagram to JAVA code. The examples offered by Eclipse, that you can find on the ATL page (in documentation) obviately doesn't work.

Can somebody help me with this problem sending me a working UML metamodel and JAVA metamodel, or telling me a what else could be wrong?!

Thank in advance.

Comsi

Re: UML class diagram to JAVA code [message #558098 is a reply to message #558094] Fri, 10 September 2010 08:07 Go to previous messageGo to next message
Christian Dietrich is currently online Christian DietrichFriend
Messages: 13117
Registered: July 2009
Senior Member
Hi,

is a UML 2 Java Code transformation not a M2T Transformation and would be done with Xpand, Acceleo or Jet?

~Christian


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: UML class diagram to JAVA code [message #558107 is a reply to message #558098] Fri, 10 September 2010 08:29 Go to previous messageGo to next message
Sylvain EVEILLARD is currently offline Sylvain EVEILLARDFriend
Messages: 556
Registered: July 2009
Senior Member
Christian Dietrich wrote on Fri, 10 September 2010 04:07
Hi,

is a UML 2 Java Code transformation not a M2T Transformation and would be done with Xpand, Acceleo or Jet?

~Christian

Both are possible. You can transform in M2M to the Java Meta-model and extract the resulting model in his textual form.
Re: UML class diagram to JAVA code [message #558117 is a reply to message #558094] Fri, 10 September 2010 08:49 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6457
Registered: July 2009
Senior Member
Hi

The MDT/UML2 project provides a variety of UML meyta-models.

There are at least three different Jva meta-models of varying complexity
in different projects.

But UML2 and EMF will do the job for you, just create.
Use the export to Ecore facility of the UML editor then create an
Ecore project and genmodel to produce the code.

Regards

Ed Willink

On 10/09/2010 08:55, comsi wrote:
> Hi,
>
> i am trying to perform a transformatin of UML class diagram to JAVA
> code. The examples offered by Eclipse, that you can find on the ATL page
> (in documentation) obviately doesn't work.
>
> Can somebody help me with this problem sending me a working UML
> metamodel and JAVA metamodel, or telling me a what else could be wrong?!
>
> Thank in advance.
> Comsi
>
>
Previous Topic:[ATL] How to iterate elements to find the value, corresponding to a certain name?
Next Topic: [ATL] Using UML profiles as metamodel
Goto Forum:
  


Current Time: Mon Sep 16 11:04:20 GMT 2019

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

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

Back to the top