O'Reilly logo

EMF: Eclipse Modeling Framework Second Edition by Frank Budinsky, Ed Merks, Marcelo Paternostro, Dave Steinberg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Ecore Modeling Concepts

When we create an Ecore model—whether directly or from annotated Java, UML, XML Schema, or some other source—we are defining the structure of a series of instances of that model. That is, we are specifying the types of objects that make up instances of that model, the data they contain, and the relationships between them. For example, the PrimerPO model of the previous chapter defined the structure for objects that represent purchase orders.

As we first discussed in Chapter 2, the Ecore metamodel defines the structure of the objects in an Ecore model. Modelers use the term “metamodel” for this kind of model, which, in a sense, defines a language that its instances use to describe other things.

Most of the modeling ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required