Chapter 5. Rosa's PIM to Three PSMs

This chapter gives insight into the three PIM to PSM transformations that are needed to implement the system for Rosa's Breakfast Service.

The PIM to Relational Transformation

The transformation rules for generating relational database models typically take care of a consistent object-relational mapping. Although most of these rules are rather straightforward and well-known (Blaha 1998), it can be a hard job to execute them manually. Small changes in the PIM can have a large effect on the relational model. For instance, changing the type of an attribute in the PIM from a simple data type to a class means introducing a foreign key in the corresponding table. The simple data type can be mapped directly to a column ...

Get MDA Explained: The Model Driven Architecture™: Practice and Promise now with the O’Reilly learning platform.

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