Skip to main content

Shortcomings of the Embedding of OCL into QVT ImperativeOCL

  • Conference paper
Models in Software Engineering (MODELS 2008)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 5421))

Abstract

MOF QVT introduces ImperativeOCL as an imperative language for operational descriptions of model transformations (QVT operational mappings). ImperativeOCL extends conventional OCL by expressions with side-effects. A couple of semantical problems arise from the way OCL is embedded into ImperativeOCL – imperative expressions are modelled as a subtype of OCL expressions. This paper points out these semantical problems and proposes a change to the operational mappings language of QVT that resolves these problems, following an approach that reuses OCL by composition rather than by inheritance in the abstract syntax of ImperativeOCL. The proposed change reduces the complexity of the imperative language, removes undefinedness, and leaves OCL conformant to its original definition.

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

Access this chapter

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

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Akehurst, D., Patrascoiu, O.: The Kent Modeling Framework (KMF). University of Kent (2005), http://www.cs.kent.ac.uk/projects/ocl

  2. Allilaire, F., Bézivin, J., Jouault, F., Kurtev, I.: Atl - eclipse support for model transformation. In: Proceedings of the Eclipse Technology eXchange workshop (eTX) at the ECOOP 2006 Conference, Nantes, France (2006)

    Google Scholar 

  3. Dan Chiorean and OCLE-Team. Object Constraint Language Environment 2.0. (2008), http://lci.cs.ubbcluj.ro/ocle/

  4. Dresden-OCL-Team. Dresden OCL Toolkit (2008), http://dresden-ocl.sourceforge.net/

  5. Gogolla, M., Büttner, F., Richters, M.: USE: A UML-Based Speci location Environment for Validating UML and OCL. Science of Computer Programming 69, 27–34 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  6. Klasse Objecten. The Klasse Objecten OCL Checker Octopus. Klasse Objecten (2005), www.klasse.nl/english/research/octopus-intro.html

  7. Liskov, B.H., Wing, J.M.: A behavioral notion of subtyping. ACM Transactions on Programming Languages and Systems 16(6), 1811–1841 (1994)

    Article  Google Scholar 

  8. MDT-OCL-Team. MDT OCL (2008), http://www.eclipse.org/modeling/mdt/?project=ocl

  9. Object Modeling Group. Object Constraint Language Specifica- tion, version 2.0, OMG document formal/2006-05-01 (June 2006), http://www.omg.org/cgi-bin/doc?formal/2006-05-01

  10. Object Modeling Group. Meta Object Facility (MOF) 2.0 Query/View/- Transformation Specification, OMG document formal/08-04-03 (2008), http://www.omg.org/spec/MOF/2.0/PDF/

  11. Richters, M.: A Precise Approach to Validating UML Models and OCL Con- straints. PhD thesis, Universität Bremen, Fachbereich Mathematik und Informatik, Logos Verlag, Berlin, BISS Monographs, No. 14 (2002)

    Google Scholar 

  12. RoclET-Team. Welcome to RoclET (2008), http://www.roclet.org/

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2009 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Büttner, F., Kuhlmann, M. (2009). Shortcomings of the Embedding of OCL into QVT ImperativeOCL. In: Chaudron, M.R.V. (eds) Models in Software Engineering. MODELS 2008. Lecture Notes in Computer Science, vol 5421. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-01648-6_28

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-01648-6_28

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-01647-9

  • Online ISBN: 978-3-642-01648-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics