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 15:13 Go to next message
bacha  is currently offline bacha
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 15:19 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26014
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.
Re: How to create a dynamic instances of two dependant Metamodels [message #643127 is a reply to message #643125] Sat, 04 December 2010 16:18 Go to previous message
bacha  is currently offline bacha
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: Tue Sep 02 12:54:11 EDT 2014

Powered by FUDForum. Page generated in 0.01902 seconds