January 2014
Beginner to intermediate
376 pages
13h 3m
English
This chapter presents some techniques to automatically or systematically generate source code from design diagrams, specifically for the design class diagram and communication diagrams. Structural rules are presented to explain how code may be generated for a class’s structures, such as attributes and associations. A significant part of the chapter is dedicated to the explanation of the many kinds of associations and the code generation patterns available for them. Finally, the chapter explains how running code may be generated for interaction diagrams that represent dynamic models.
Automatic code generation; delegation; implementation; programming
• Code generation for classes, attributes, ...
Read now
Unlock full access