Create relations between different model [message #1821993] |
Tue, 25 February 2020 04:43  |
Eclipse User |
|
|
|
Hi!
Is there a way to create references between two different models? If so, what is the proper way to do so?
Here is the case I am trying to implement: I have an existing model called ModelX1 of type ModelX. It can, for example, hold various entities (ModelX1.components). I want to create a different model - ModelY1 (of type ModelY) - which has an element componentToBeAnalyzed that references ModelX1 and/or ModelX1.components.
I want to be able to do this by creating a new metamodel for ModelY class, which shows ModelY that is composed of ModelY.componentToBeAnalyzed (another class). ModelY.component has a reference to the external ModelX class or to the specific ModelX.components class. The reference is obviously one-directional, as I do not change anything in the ModelX metamodel.
Is this possible?
Thanks,
Avi
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05547 seconds