Metamodel hierarchies / model layers [message #901796] |
Tue, 14 August 2012 11:41  |
Eclipse User |
|
|
|
Hi,
how can I store model instances of ecore models?
To be more specific: I wonder how I would store an UML object diagram (runtime-instances), that is typed over a given UML class diagram.
The class hierarchy would look like this:
M3: Ecore model defined in an .ecore file
M2: UML model defined in an .ecore file
M1: Domain model defined in an .uml file
M0: Instance model defined in an ??? file
In other words: I want to create dynamic instances of UML like it can be done in Ecore and store it into a file.
Regards,
Simon
|
|
|
|
|
Re: Metamodel hierarchies / model layers [message #901953 is a reply to message #901944] |
Wed, 15 August 2012 05:46  |
Eclipse User |
|
|
|
EMF has support for the Ecore model and creating instances that conform
to an Ecore model. Any other model, such as UML2, must provide a way to
create instances based on semantics that only the model implementer can
possibly know.
On 15/08/2012 10:41 AM, Goood Guy wrote:
> With "typed over" I mean that the model instance is compliant to its
> metamodel, i.e. the single class instances have a type from the
> metamodel.
>
> I know that I can convert an UML model to an Ecore model, but I was
> wondering if EMF has a mechanism that support several model layers /
> the instantiation of metamodels (uncoupled from UML).
|
|
|
Powered by
FUDForum. Page generated in 0.35121 seconds