Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Do you have any reference for a JAVA metamodel in ecore?
[ATL] Do you have any reference for a JAVA metamodel in ecore? [message #69265] Wed, 12 December 2007 22:00 Go to next message
Mikai Yang is currently offline Mikai YangFriend
Messages: 149
Registered: July 2009
Senior Member
Do you have any reference for a JAVA metamodel in ecore?
Thanks.
Michael.
Re: [ATL] Do you have any reference for a JAVA metamodel in ecore? [message #69286 is a reply to message #69265] Wed, 12 December 2007 23:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Michael,

The EMF examples include an example Java model. There's also the JEM
model used by VE and WTP. (Neither deals with Java 5.0)


Michael wrote:
> Do you have any reference for a JAVA metamodel in ecore?
> Thanks.
> Michael.
>
>
>
Re: [ATL] Do you have any reference for a JAVA metamodel in ecore? [message #69364 is a reply to message #69265] Wed, 12 December 2007 23:32 Go to previous message
Frédéric Jouault is currently offline Frédéric JouaultFriend
Messages: 572
Registered: July 2009
Senior Member
Hello,

> Do you have any reference for a JAVA metamodel in ecore?

You can find a metamodel of Java in Ecore (and in KM3) at the following
address:
http://www.eclipse.org/gmt/modisco/toolBox/JavaAbstractSynta x/

This metamodel is based on the Eclipse Java DOM API and covers most of
Java. There is also a tool to parse Java files into EMF models
conforming to this metamodel.

Should you have further questions about this metamodel, please ask them
on the GMT newsgroup with the [MoDisco] prefix.



Other Java metamodels exists (some simple, some complex, some complete).

Some Java metamodels are available in the atlantic zoo (J2SE5 and
following):
- in KM3 at: http://www.eclipse.org/gmt/am3/zoos/atlanticZoo/
- in Ecore at: http://www.eclipse.org/gmt/am3/zoos/atlantEcoreZoo/

Another Java metamodel is Netbeans' of which several versions are
available at:
http://java.netbeans.org/source/browse/java/javamodel/src/or g/netbeans/jmi/javamodel/resources/Attic/java-model.xml
Note that this metamodel can be easily converted to KM3, and then to
Ecore with the KM3 plugin from GMT/AM3.


Regards,

Frédéric Jouault
Previous Topic:[ATL] Refines
Next Topic:[Announce] Joint Eclipse/OMG Symposia
Goto Forum:
  


Current Time: Thu Apr 25 14:15:05 GMT 2024

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

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

Back to the top