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 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 ...

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