Skip to main content

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

Included in the following conference series:

Abstract

The OCL 1.4 specification introduces let-declarations for adding auxiliary class features in static structures of the UML. We provide a type inference system and a big-step operational semantics for the OCL 1.4 that treat UML static structures and UML object models abstractly and accommodate for additional declarations; the operational semantics satisfies a subject reduction property with respect to the type inference system. We also discuss an alternative, non-operational interpretation of let-declarations as constraints.

Current affiliation: Fraunhofer Institute for Experimental Software Engineering.

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.

Similar content being viewed by others

References

  1. T. Baar and R. Hähnle. An Integrated Metamodel for OCL Types. In R. France, editor, Proc. OOPSLA’2000 Wsh. Refactoring the UML: In Search of the Core, Minneapolis, 2000.

    Google Scholar 

  2. M. Bickford and D. Guaspari. Lightweight Analysis of UML. Draft NAS1-20335/10, Odyssey Research Assoc., 1998. http://cgi.omg.org/cgi-bin/doc?ad/98-10-01.

  3. M. V. Cengarle and A. Knapp. On the Expressive Power of Pure OCL. Technical Report 0101, Ludwig-Maximilians-Universität München, 2001.

    Google Scholar 

  4. T. Clark. Type Checking UML Static Diagrams. In R. B. France and B. Rumpe, editors, Proc. 2 nd Int. Conf. UML, volume 1723 of Lect. Notes Comp. Sci., pages 503–517. Springer, Berlin, 1999.

    Google Scholar 

  5. S. Drossopoulou and S. Eisenbach. Describing the Semantics of Java and Proving Typing Soundness. In J. Alves-Foss, editor, Formal Syntax and Semantics of Java, volume 1523 of Lect. Notes Comp. Sci., pages 41–82. Springer, Berlin, 1999.

    Chapter  Google Scholar 

  6. A. Evans, S. Kent, and B. Selic, editors. Proc. 3 nd Int. Conf. UML, volume 1939 of Lect. Notes Comp. Sci. Springer, Berlin, 2000.

    Google Scholar 

  7. A. Hami, J. Howse, and S. Kent. Interpreting the Object Constraint Language. In Proc. Asia Pacific Conf. Software Engineering. IEEE Press, 1998.

    Google Scholar 

  8. H. Hußmann, B. Demuth, and F. Finger. Modular Architecture for a Toolset Supporting OCL. In Evans et al. [6], pages 278–293.

    Google Scholar 

  9. R. Milner, M. Tofte, R. Harper, and D. MacQueen. The Definition of Standard ML (Revised). MIT Press, Cambridge, Mass., 1997.

    Google Scholar 

  10. J. C. Mitchell. Foundations for Programming Languages. Foundations of Computing. MIT Press, Cambridge, Mass.-London, England, 1996.

    Google Scholar 

  11. Object Management Group. Unified Modeling Language Specification, Version 1.4. Draft, OMG, 2001. http://cgi.omg.org/cgi-bin/doc?ad/01-02-14.

  12. M. Richters and M. Gogolla. On Formalizing the UML Object Constraint Language OCL. In T. W. Ling, S. Ram, and M. L. Lee, editors, Proc. 17 th Int. Conf. Conceptual Modeling, volume 1507 of Lect. Notes Comp. Sci., pages 449–464. Springer, Berlin, 1998.

    Google Scholar 

  13. M. Richters and M. Gogolla. Validating UML Models and OCL Constraints. In Evans et al. [6], pages 265–277.

    Google Scholar 

  14. M. Richters and M. Gogolla. OCL — Syntax, Semantics and Tools. In T. Clark and J. Warmer, editors, Advances in Object Modelling with the OCL, Lect. Notes Comp. Sci., pages 38–63. Springer, Berlin, 2001.

    Google Scholar 

  15. A. Schürr. New Type Checking Rules for OCL (Collection) Expressions. In T. Clark and J. Warmer, editors, Proc. UML’2000 Wsh. UML 2.0 — The Future of OCL, York, 2000.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2001 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Cengarle, M.V., Knapp, A. (2001). A Formal Semantics for OCL 1.4. In: Gogolla, M., Kobryn, C. (eds) ≪UML≫ 2001 — The Unified Modeling Language. Modeling Languages, Concepts, and Tools. UML 2001. Lecture Notes in Computer Science, vol 2185. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45441-1_10

Download citation

  • DOI: https://doi.org/10.1007/3-540-45441-1_10

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

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

  • Online ISBN: 978-3-540-45441-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics