Chapter 6. Rosa's PSMs to Code
To really implement Rosa's Breakfast Service we have to generate compileable and executable code. This chapter describes the code models and the transformations from the PSMs to the code models. Each of the three PSMs is transformed into a separate code model that is applicable for the specific technology.
Relational Model to Code Transformation
The result of the transformation from UML to relational model that is described in this section is a PSM, which is still a model. It is not the code to create the database with. Luckily, the PSM is closely linked to the relational database platform, and uses platform-specific concepts and constructs. From this model, it is easy to generate code.
From the relational model, a ...
Get MDA Explained: The Model Driven Architecture™: Practice and Promise now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.