|
Re: obtain ecore form of an instance model [message #431106 is a reply to message #431105] |
Mon, 29 June 2009 09:14 |
Ed Merks Messages: 33113 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?
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02103 seconds