Code Generation for UML 2 Activity Diagrams

Towards a Comprehensive Model-Driven Development Approach
  • Dominik Gessenharter
  • Martin Rauscher
Conference paper

DOI: 10.1007/978-3-642-21470-7_15

Part of the Lecture Notes in Computer Science book series (LNCS, volume 6698)
Cite this paper as:
Gessenharter D., Rauscher M. (2011) Code Generation for UML 2 Activity Diagrams. In: France R.B., Kuester J.M., Bordbar B., Paige R.F. (eds) Modelling Foundations and Applications. ECMFA 2011. Lecture Notes in Computer Science, vol 6698. Springer, Berlin, Heidelberg

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.

Keywords

UML Actions Activities Code Generation 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag Berlin Heidelberg 2011

Authors and Affiliations

  • Dominik Gessenharter
    • 1
  • Martin Rauscher
    • 1
  1. 1.Institute of Software Engineering and Compiler ConstructionUlm UniversityUlmGermany

Personalised recommendations