Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MDT (Model Development Tools) » UML2 to Java class without any ECore dependencies
UML2 to Java class without any ECore dependencies [message #380008] Sat, 21 March 2009 14:56 Go to next message
joel is currently offline joel
Messages: 17
Registered: July 2009
Junior Member
Hi all,

I'm trying to generate my Java domain class from my UML2 model. For that
purpose I did a class diagram using Eclipse UML2 plugin, I generated its
related EMF model and then loaded it into a genmodel, as given here:
http://dev.eclipse.org/newslists/news.eclipse.modeling.mdt.u ml2tools/msg00703.html

The problem is that each class are extending EObject, etc. As I understood
(I'm new to EMF), EMF seems to be a "model of a model" definition.
On my side, I only want to get my UML diagram as Java class without having
any EObject inheritence. Is there a way to simply achieve this ?

Thank you in advance.

Best regards,

Joël
Re: UML2 to Java class without any ECore dependencies [message #380009 is a reply to message #380008] Sat, 21 March 2009 15:14 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26137
Registered: July 2009
Senior Member
Joël,

Please don't cross post the same question to multiple groups with
separate postings.


joel wrote:
> Hi all,
>
> I'm trying to generate my Java domain class from my UML2 model. For
> that purpose I did a class diagram using Eclipse UML2 plugin, I
> generated its related EMF model and then loaded it into a genmodel, as
> given here:
> http://dev.eclipse.org/newslists/news.eclipse.modeling.mdt.u ml2tools/msg00703.html
>
>
> The problem is that each class are extending EObject, etc. As I
> understood (I'm new to EMF), EMF seems to be a "model of a model"
> definition.
> On my side, I only want to get my UML diagram as Java class without
> having any EObject inheritence. Is there a way to simply achieve this ?
>
> Thank you in advance.
>
> Best regards,
>
> Joël
>
Re: UML2 to Java class without any ECore dependencies [message #597546 is a reply to message #380008] Sat, 21 March 2009 15:14 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26137
Registered: July 2009
Senior Member
Joël,

Please don't cross post the same question to multiple groups with
separate postings.


joel wrote:
> Hi all,
>
> I'm trying to generate my Java domain class from my UML2 model. For
> that purpose I did a class diagram using Eclipse UML2 plugin, I
> generated its related EMF model and then loaded it into a genmodel, as
> given here:
> http://dev.eclipse.org/newslists/news.eclipse.modeling.mdt.u ml2tools/msg00703.html
>
>
> The problem is that each class are extending EObject, etc. As I
> understood (I'm new to EMF), EMF seems to be a "model of a model"
> definition.
> On my side, I only want to get my UML diagram as Java class without
> having any EObject inheritence. Is there a way to simply achieve this ?
>
> Thank you in advance.
>
> Best regards,
>
> Joël
>
Previous Topic:UML2 to Java class without any ECore dependencies
Next Topic:[UML2] Tutorials on use-case diagrams?
Goto Forum:
  


Current Time: Thu Oct 23 09:29:47 GMT 2014

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

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