Chapter 10. EMF Generator Patterns

Arguably, the most valuable feature of EMF is its ability to generate high-quality implementation code. As a carefully written and well-tested base for application development, generated EMF code both speeds the development process and helps improve software quality. This model code includes type-safe interfaces and efficient implementations for creating, modifying, saving, and loading instances of modeled classes.

This chapter explores the various patterns EMF uses in generating Java code from the elements of a model. We discuss how modeling decisions affect the generated code, and give insights into how to design a model most effectively. To illustrate the code generation patterns, we will begin by drawing ...

Get EMF: Eclipse Modeling Framework Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.