Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » convert an instance/user model in ecore form
convert an instance/user model in ecore form [message #431089] Fri, 26 June 2009 08:14 Go to next message
gitanjali punj is currently offline gitanjali punjFriend
Messages: 59
Registered: July 2009
Member
Hi,
I have a 3 layer model available i.e M3(metameta)-->M2(meta)-->M1(user)
First I import M3 as its a meta model for M2 and I am able to see it in
ecore form.
But now M2 is a metamodel for M1 so I want to see M2 in ecore form also .
But not able to do so ?
Can you please tell me how to convert M2 in ecore form?
Re: convert an instance/user model in ecore form [message #431091 is a reply to message #431089] Fri, 26 June 2009 09:59 Go to previous message
Ed Merks is currently offline Ed MerksFriend
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/
Previous Topic:Bug in deresolve URI?
Next Topic:Re: Net4J Documentation
Goto Forum:
  


Current Time: Thu Apr 25 04:15:41 GMT 2024

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

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

Back to the top