Skip to main content



      Home
Home » Modeling » ATL » convert XMI file TO Java class
convert XMI file TO Java class [message #1060074] Wed, 22 May 2013 18:18 Go to next message
Eclipse UserFriend
Hello,
I have just finished succesfully a model transformation and I got as a result an xmi file.I would like now to convert this later(I mean the xmi file resulted) to a java class but I don't know how.
Is there anyone who knows what should I do to lead to this conversion and thank you so much Smile
Re: convert XMI file TO Java class [message #1060128 is a reply to message #1060074] Thu, 23 May 2013 04:43 Go to previous messageGo to next message
Eclipse UserFriend
No Message Body
Re: convert XMI file TO Java class [message #1060134 is a reply to message #1060128] Thu, 23 May 2013 05:22 Go to previous messageGo to next message
Eclipse UserFriend
Hello,

What do you mean by "converting an XMI file to a Java class"?

Your XMI file is actually a model that conforms to a metamodel (in Ecore): first, what is this metamodel?
Then, what (conceptual) mapping do you want to implement between this metamodel and Java?
Re: convert XMI file TO Java class [message #1060137 is a reply to message #1060134] Thu, 23 May 2013 05:31 Go to previous messageGo to next message
Eclipse UserFriend
Hello,
After having as result(after doing the transformation) my xmi file which is conforms to a metamodel of course ,I want now to express this file(the xmi file resulted)in a java form. Is it possible?
Re: convert XMI file TO Java class [message #1060140 is a reply to message #1060137] Thu, 23 May 2013 05:38 Go to previous messageGo to next message
Eclipse UserFriend
In addition my xmi file conforms to Jade metamodel(Jade which is a plateforme multi-agent).

Re: convert XMI file TO Java class [message #1060153 is a reply to message #1060140] Thu, 23 May 2013 06:54 Go to previous messageGo to next message
Eclipse UserFriend
So you could for instance build a model transformation from Jade to Java (using the Java metamodel as provided by the MoDisco project, cf. the reference documentation of this project for more info) and then, from the produced Java model, generate the corresponding code (using the Java generator as also provided by the MoDisco project).
Re: convert XMI file TO Java class [message #1164685 is a reply to message #1060153] Thu, 31 October 2013 17:23 Go to previous message
Eclipse UserFriend
I think he can also you the JvmType ecore metamodel which can be much simpler to use ?
Previous Topic:ATL Plug-in dont run
Next Topic:run successive ATL transformations with java
Goto Forum:
  


Current Time: Tue Jul 22 15:16:24 EDT 2025

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

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

Back to the top