Generating code from UML design models


Model-based software development involves building design models and transforming the models to code. Manual transformation of design models to code is tedious and error prone for the following reasons:

Automatically generating code from models has the following advantages:

The Unified Modeling Language (UML) is emerging as a de facto industry standard for modeling software. For this reason, generating code from UML models is desirable. Generation of code skeletons from class diagrams is supported by most UML CASE tools. Our work focuses on rules for generating skeleton method bodies from UML behavioral models.


Generating code from UML design model is the main topic for my Master's Thesis: "Rules for Generating Code from UML Collaboration Diagrams and Activity Diagrams". You can download it here: