Eclipse Modeling Framework

EMF relates modeling concepts directly to their implemenations. It is a framework and code generation facility that allows it to define a model in java interfaces, uml or xml schema and generate the others. EMF is described as that is is in between the "I don't need modeling" and the "Modeling rules" crowds. [1]

The Ecore (Meta Model)

The model used to represent models in EMF is called Ecore. Ecore is itself an EMF model, and thus is its own metamodel. [1]

 

Summary [1]:

  1. Ecore and its XMI serialisation is the center of the EMF world.
  2. An Ecore model can be created from any of at least three sources: a UML model, an XML Schema, or annotated Java interfaces.
  3. Java implementation code and, optionally, other forms of the mocel can be generated from an Ecore model.

Other forms of models (in the book they take the example of an RDB schema) are possible to generate the Ecore Model [1].

 

The CCD Metamodel is implemented as Ecore model.

 

References:

[1] Eclipse modeling framework : EMF / Dave Steinberg .... - 2. ed. . - Upper Saddle River, NJ [u.a.] : Addison-Wesley, 2009. - XXIX, 704 S. : Ill., graph. Darst. . - ISBN: 0-321-33188-5. - ISBN: 978-0-321-33188-5. - (The eclipse series)

Document Actions