Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » How to create a dynamic instances of two dependant Metamodels
How to create a dynamic instances of two dependant Metamodels [message #643123] Sat, 04 December 2010 20:13 Go to next message
bacha  is currently offline bacha Friend
Messages: 53
Registered: July 2009
Member
Hi,
I created two metamodels (A and B) that were implemented using Ecore format.
Each metamodel has a class that references an other class from the other metamodel. That means that A has a class x that references an other class y from the B metamodel.
The problem is that, when creating a dynamic instance of each one, I can not conserve that relationship between created instances, as if this two models are not related.
Could you tell me how to create two instances (One of each metamodel) that are related and where their relationship is conserved.

Thanks.
Regards.
Re: How to create a dynamic instances of two dependant Metamodels [message #643125 is a reply to message #643123] Sat, 04 December 2010 20:19 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Please avoid posting the same question to multiple newsgroups.


taupin wrote:
> Hi,
> I created two metamodels (A and B) that were implemented using Ecore
> format.
> Each metamodel has a class that references an other class from the
> other metamodel. That means that A has a class x that references an
> other class y from the B metamodel.
> The problem is that, when creating a dynamic instance of each one, I
> can not conserve that relationship between created instances, as if
> this two models are not related.
> Could you tell me how to create two instances (One of each metamodel)
> that are related and where their relationship is conserved.
>
> Thanks.
> Regards.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: How to create a dynamic instances of two dependant Metamodels [message #643127 is a reply to message #643125] Sat, 04 December 2010 21:18 Go to previous message
bacha  is currently offline bacha Friend
Messages: 53
Registered: July 2009
Member
Ok Ed !!
I am sorry and I thought that they are two different groups.

Regards.
Taupin
Previous Topic:[Texo] IllegalArgumentException with example Identifiable
Next Topic:[EMFStore] "0 Model Version(s) registered" error
Goto Forum:
  


Current Time: Thu Mar 28 07:57:51 GMT 2024

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

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

Back to the top