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 14. Exploiting Metadata

So far, we’ve talked a great deal about how EMF can produce an Ecore model from various different sources and how it can then generate code from that model. EMF is, however, not just a generator tool; it’s also a powerful runtime framework. In the remaining chapters of this book, we discuss the functionality provided by the runtime framework and how to effectively program with it. To begin, this chapter focuses on the use of EMF metadata at runtime.

Ecore is, itself, an EMF model. From it, an implementation has been generated, with an API like that generated from any other model. The Java package org.eclipse.emf.ecore contains interfaces corresponding to each of the classes modeled in Ecore, with generated getters ...

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