UML2 to Java class without any ECore dependencies [message #380008] |
Sat, 21 March 2009 10:56  |
Eclipse User |
|
|
|
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 11:14  |
Eclipse User |
|
|
|
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 11:14  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.03923 seconds