Skip to main content

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

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 4231))

Abstract

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.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Cook, S., Daniels, J.: Designing Objects Systems. In: Object-Oriented Modelling with Syntropy. Prentice Hall, Englewood Cliffs (1994)

    Google Scholar 

  2. Object Management Group. Unified Modeling Language Superstructure, Version 2.0 (2005)

    Google Scholar 

  3. Firesmith, D.G., Henderson-Sellers, B., Graham, I.: OPEN Modeling Language (OML) Reference Manual, SIGS Books, New York, USA (1997)

    Google Scholar 

  4. D’Souza, D.F., Wills, A.C.: Objects, Components and Frameworks with UML. Addison-Wesley, Reading (1998)

    Google Scholar 

  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. 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. 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)

    Chapter  Google Scholar 

  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)

    Chapter  Google Scholar 

  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. Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley, Reading (1994)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Albert, M., Muñoz, J., Pelechano, V., Pastor, Ó. (2006). Model to Text Transformation in Practice: Generating Code from Rich Associations Specifications. In: Roddick, J.F., et al. Advances in Conceptual Modeling - Theory and Practice. ER 2006. Lecture Notes in Computer Science, vol 4231. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11908883_9

Download citation

  • DOI: https://doi.org/10.1007/11908883_9

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-47703-7

  • Online ISBN: 978-3-540-47704-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics