Professional Documents
Culture Documents
01 Emf
01 Emf
http://www.eclipse.org/emf/
http://www.eclipsecon.org/2005/presentations/Eclipse
Con2005_Tutorial28.pdf
http://www.eclipsecon.org/2004/EclipseCon_2004_Tec
hnicalTrackPresentations/40_Frankel.pdf
https://doc.telin.nl/dscgi/ds.py/Get/File
- 50548/d4.1.pdf
Eclipse Modeling Framework: A Developer's Guide By
Frank Budinsky, David Steinberg, Ed Merks,
Raymond Ellersick, Timothy J. Grose
ECore is:
a meta-language, i.e., a language to define
(structural) models
MOF 2.0
CMOF
EMOF
ECORE
ECore
with ECore I can
defined my own
model
When instances of my
model are created, These
can be serialized in XMI
EClass:
represents a modeled class. It has:
a name
zero or more attributes
zero or more references.
EAttribute:
represents a modeled attribute. Attributes have:
a name
a type.
EReference:
represents one end of an association between classes. It
has:
a name,
a boolean flag to indicate if it represents containment,
a reference (target) type, which is another class.
EDataType:
represents the type of an attribute. A data type can be
a primitive type like int or float
an object type like java.util.Date.
genmodel:
provides platform specific details: v.gr. package
names
It is needed to generate code
EMF.model
mymodel.ecore
mymodel.genmodel
Generator
EMF.edit
EMF.editor
EMF.test
EClass
Java Interface
Java Implementation
10
11