@flint63

Code Generation for UML 2 Activity Diagrams

, and . Modelling Foundations and Applications: 7th European Conference, ECMFA 2011, Birmingham, UK, June 6--9, 2011, Proceedings, 6698, Springer, Berlin, (2011)
DOI: 10.1007/978-3-642-21470-7_15

Abstract

Modeling static structure and modeling behavior are often regarded as two distinct topics, however, in UML they are not. They are even tightly coupled as can be seen e.g. by looking at attributes: That an attribute holds values at runtime is defined within the Classes language unit whereas the act of setting or getting a concrete value of an attribute is defined in the Actions language unit. Tool support for modeling static structure is far more advanced than for modeling behavior. In particular, further model processing for activities like transformations or code generation is in a rudimentary stage. In this paper, we present an approach for code generation for activities preceded by model transformations. Besides advancing model-driven development to properly include behavior, our contribution also enhances structural modeling by providing generation of code for accessing structural features based on the UML semantics of Actions.

Links and resources

Tags