Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » obtain ecore form of an instance model
obtain ecore form of an instance model [message #431105] Mon, 29 June 2009 08:33 Go to next message
gitanjali punj is currently offline gitanjali punjFriend
Messages: 59
Registered: July 2009
Member
Hi,
I have a 3 layer model structure like this.
M3(instance of Ecore)--->M2(instance of M3)---->M1(instance of M2).
Since M3 is an instance of Ecore I am bale to see the ecore file of it
containaing tags like <eclass> and <estructuralfeature> etc.
Now I want to view the ecore form of model M2 also.

Is there any way of seeing it in ecore form with tags like <eclass> etc?
Re: obtain ecore form of an instance model [message #431106 is a reply to message #431105] Mon, 29 June 2009 09:14 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30685
Registered: July 2009
Senior Member
Gitanjali,

How is this question different from the last time you asked?

> 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.
>

gitanjali punj wrote:
> Hi,
> I have a 3 layer model structure like this.
> M3(instance of Ecore)--->M2(instance of M3)---->M1(instance of M2).
> Since M3 is an instance of Ecore I am bale to see the ecore file of it
> containaing tags like <eclass> and <estructuralfeature> etc.
> Now I want to view the ecore form of model M2 also.
>
> Is there any way of seeing it in ecore form with tags like <eclass> etc?
>
Previous Topic:The definitive truth about multiple inheritance
Next Topic:EMap
Goto Forum:
  


Current Time: Fri Dec 06 18:49:55 GMT 2019

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

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

Back to the top