|
Re: convert an instance/user model in ecore form [message #431091 is a reply to message #431089] |
Fri, 26 June 2009 09:59 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
Gitanjali,
Comments below.
gitanjali punj wrote:
> Hi,
> I have a 3 layer model available i.e M3(metameta)-->M2(meta)-->M1(user)
Not the dreaded M's! :-P
> First I import M3 as its a meta model for M2 and I am able to see it
> in ecore form.
A mystery M...
> But now M2 is a metamodel for M1 so I want to see M2 in ecore form also .
Another different mystery M...
> But not able to do so ?
I can imagine...
> Can you please tell me how to convert M2 in ecore form?
You might as well ask me how to convert X to Ecore form and my answer
would be the say: how do you expect someone to answer a question that's
completely lacking in concreteness?
Right now there is support for converting instances of XML Schema, UML,
and annotated Java to Ecore, and while these are obviously similar
problems, the details are completely driven by the nature of the input
instance. So if you want to convert something else to Ecore, you'll
need to implement that yourself and you could pattern it after something
like XSDEcoreBuilder.
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02464 seconds