hello,

first of all my statement about EMF beeing an UML subset is
based on an email thread with one of the Omondo EclipseUML
developers.

at that time I was asking them whether it would be possible
to import an existing UML model into the EMF ecore framework.

read below ...

-----8<-----------8<----------8<-----------8<-------8<-------

>I thought it is _just_ possible to import models to EMF
>> from either:
>>
>> ~ - a XML Schema file
>> ~ - a ecore model
>> ~ - a rational rose project
>> ~ - existing Java classes with some special javadoc
>> ~   comments.
>>
>> is it possible import XMI exports into an EMF project?

If you mean from UML XMI to EML ecore, you cannot complete do it since the
EMF ecore is subset of UML.

----->8----------->8---------->8----------->8------->8-------

possibly I did answer the wrong question ...

Matthias Bohlen wrote:

Hi Daniel,

sorry for the long response delay. You shocked me with that statement:


do you mean I should first try to import an UML model (for example an XMI export containing an UML model) into EMF.

if yes, there is some kinda misconception - EMF is only an UML subset, so you can't exactly map an UML model to an EMF model ...


Well, I hope that EMF is *not* a subset of UML but a subset of MOF. If
it were a subset of UML, it could only process UML models. If it were a
subset of MOF, it could process models based on any metamodel that can
be expressed in EMF.

I already read the below statement about ecore beeing a MOF subset.



On the web page http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E/emf-home/do cs/overview.html it says:

"For those of you that are familiar with OMG (Object Management Group)
MOF (Meta Object Facility), you may be wondering how EMF relates to it.
Actually, EMF started out as an implementation of the MOF specification
but evolved from there based on the experience we gained from
implementing a large set of tools using it. EMF can be thought of as a
highly efficient Java implementation of a core subset of the MOF API.
However, to avoid any confusion, the MOF-like core meta model in EMF is
called Ecore instead of MOF."

This sounds promising. I think it would be worthwhile to really
understand what EMF is and try to load a UML 1.4 metamodel into it,
followed by a UML 1.4 model. If this fails, you can forget about any
effort to make it work with AndroMDA because AndroMDA needs a metadata
repository, not a UML model repository.

What do you think? Could you try to verify that EMF can do similar
things as MOF and process arbitrary metamodels?

I am definitely interested into EMF and Eclipse UML2. but I can't do any investigations this week. maybe next week I will have some time to do any investigations on this subject. hope that is ok.

regards

daniel s. haischt

--
mail: [EMAIL PROTECTED]
web:  http://www.daniel.stefan.haischt.name/




------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to