Model to Text Transformation in Practice: Generating Code from Rich Associations Specifications

  • Manoli Albert
  • Javier Muñoz
  • Vicente Pelechano
  • Óscar Pastor
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4231)


This work presents a model to code transformation where extended UML association specifications are transformed into C# code. In order to define this transformation the work uses a conceptual framework for specifying association relationships that extends the UML proposal. We define a set of transformation rules for generating the C# code. The generated code extends an implementation framework that defines a design structure to implement the association abstraction. The transformation takes as input models those which are specified using the conceptual framework. Transformations have been implemented in the Eclipse environment using the EMF and MOFScript tools.


Conceptual Framework Design Pattern Association Relationship Eclipse Modelling Framework Implementation Framework 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Cook, S., Daniels, J.: Designing Objects Systems. In: Object-Oriented Modelling with Syntropy. Prentice Hall, Englewood Cliffs (1994)Google Scholar
  2. 2.
    Object Management Group. Unified Modeling Language Superstructure, Version 2.0 (2005)Google Scholar
  3. 3.
    Firesmith, D.G., Henderson-Sellers, B., Graham, I.: OPEN Modeling Language (OML) Reference Manual, SIGS Books, New York, USA (1997)Google Scholar
  4. 4.
    D’Souza, D.F., Wills, A.C.: Objects, Components and Frameworks with UML. Addison-Wesley, Reading (1998)Google Scholar
  5. 5.
    Genova, G.: Entrelazamiento de los aspectos estático y dinámico en las asociaciones UML. PhD thesis, Dept. Informática. Universidad Carlos III de Madrid (2003)Google Scholar
  6. 6.
    Saksena, M., France, R.B., Larrondo-Petrie, M.M.: A characterization of aggregation. In: Rolland, C., Grosz, G. (eds.) Proceedings of OOIS 1998, pp. 11–19. Springer, Heidelberg (1998)Google Scholar
  7. 7.
    Henderson-Sellers, B., Barbier, F.: Black and White Diamonds. In: France, R.B., Rumpe, B. (eds.) UML 1999. LNCS, vol. 1723, pp. 550–565. Springer, Heidelberg (1999)CrossRefGoogle Scholar
  8. 8.
    Albert, M., Pelechano, V., Fons, J., Ruiz, M., Pastor, O.: Implementing UML Association, Aggregation and Composition. A Particular Interpretation Based on a Multidimensional Framework. In: Eder, J., Missikoff, M. (eds.) CAiSE 2003. LNCS, vol. 2681, pp. 143–158. Springer, Heidelberg (2003)CrossRefGoogle Scholar
  9. 9.
    Dahchour, M.: Integrating Generic Relationships into Object Models Using Metaclasses, PhD thesis, Dept. Computing Science and Eng., Université Catholique de Louvain, Belgium (March 2001)Google Scholar
  10. 10.
    Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley, Reading (1994)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • Manoli Albert
    • 1
  • Javier Muñoz
    • 1
  • Vicente Pelechano
    • 1
  • Óscar Pastor
    • 1
  1. 1.Department of Information Systems and ComputationTechnical University of ValenciaValenciaSpain

Personalised recommendations