EMF: Eclipse Modeling Framework Second Edition
by Dave Steinberg, Frank Budinsky, Marcelo Paternostro, Ed Merks
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access