Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to main content

Correct Realizations of Interface Constraints with OCL

  • Conference paper
  • First Online:
«UML»’99 — The Unified Modeling Language (UML 1999)

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

Included in the following conference series:

Abstract

We present an OCL-like formal notation for interface constraints, called ICL, suited to describe the required observable behavior of any correct interface implementation (provided by some class). The semantics of the ICL notation is defined by a translation to the observational logic institution. For specifying constraints on classes we use a subset of OCL to express invariants and pre- and post-conditions on operations. The semantics of the OCL expressions is defined by a translation into an algebraic specification. Using these semantic foundations we introduce a formal correctness notion for implementation relations between interfaces and classes and we show how to prove implementation correctness by using observational proof techniques.

This work is partially supported by the ESPRIT Working Group 29432 CoFI [CoFI] and by the Bayer. Forschungsstiftung.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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. D. Ancona, M. Cerioli and E. Zucca. A formal framework with late binding. Proc. ETAPS/FASE’99, Springer LNCS 1577, pp. 30–44, 1999.

    Google Scholar 

  2. M. Brickford and D. Guaspari. Lightweight analysis of UML. Draft Technical Report, Odyssey Research Associates, July 1998.

    Google Scholar 

  3. M. Bidoit and R. Hennicker. Modular correctness proofs of behavioural implementations. Acta Informatica 35:951–1005, 1998.

    Article  MathSciNet  Google Scholar 

  4. M. Bidoit and R. Hennicker. Observer complete definitions are behaviorally coherent. Proc. FM’99 (UGM OBJ/CafeOBJ/MAUDE), to appear, 1999.

    Google Scholar 

  5. R. Breu, R. Grosu, F. Huber, B. Rumpe and W. Schwerin. Towards a precise semantics for object-oriented modeling techniques. Proc. ECOOP’97 Workshop Reader, Springer LNCS 1357, 1997.

    Google Scholar 

  6. CoFI: The Common Framework Initiative for algebraic specification and development (WWW pages). http://www.brics.dk/Projects/CoFI/.

  7. CoFITask Group on Language Design. Casl— The CoFI algebraic specification language — Summary (version 1.0)., 1998, http://www.brics.dk/Projects/CoFI/Documents/CASL/Summary/.

  8. R. Diaconescu. Foundations of behavioural specifications in rewriting logic. Proc. RWLW96, Electronic Notes in Theoretical Computer Science, Vol. 4, 1996.

    Google Scholar 

  9. A. Evans, R. France, K. Lano and B. Rumpe. Developing UML as a formal modeling notation. Proc. The Unified Modeling Language. ≪UML≫’98: Beyond the Notation, Springer LNCS 1618, 1999.

    Google Scholar 

  10. M. Gogolla and M. Richters. On combining semi-formal and formal object specification techniques. Proc. WADT’97, Springer LNCS 1376, pp. 238–252, 1998.

    Google Scholar 

  11. J.A. Goguen and G. Malcolm. A hidden agenda. Report CS97-538, Univ. of Calif. at San Diego, 1997.

    Google Scholar 

  12. R. Hennicker and M. Bidoit. Observational logic. Proc. AMAST’98, Springer LNCS 1548, pp. 263–277, 1999.

    Google Scholar 

  13. I. Jacobson, G. Booch and J. Rumbaugh. The unified software development process. Reading, Mass.: Addison-Wesley Longman, 1999.

    Google Scholar 

  14. B. Jacobs and J. Rutten. A tutorial on (co)algebras and (co)induction. EATCS Bulletin 62, pp. 222–259, 1997.

    MATH  Google Scholar 

  15. A. Kleppe, J. Warmer and S. Cook. Informal informality? The Object Constraint Language and its application in the UML metamodel. Proc. The Unified Modeling Language. ≪UML≫’98: Beyond the Notation, Springer LNCS 1618, 1999.

    Google Scholar 

  16. C. Klein, B. Rumpe and M. Broy. A stream-based mathematical model for distributed information processing systems-Syslab system model. Proc. FMOODS’ 96, Chapmann & Hall, 1996.

    Google Scholar 

  17. K. Lano. Formal object-oriented development. Springer, 1995.

    Google Scholar 

  18. B. Meyer. Object-oriented software construction. Prentice Hall International, 1988.

    Google Scholar 

  19. G. Overgaard. A formal approach to relationships in the Unified Modeling Language. Proc. of ICSE’98 (Workshop on Precise Semantics for Software Modeling Techniques). IEEE Computer Society, 1998.

    Google Scholar 

  20. Rational. Unified Modeling Language: Semantics, Version 1.1. Rational Software Corporation. http://www.rational.com/uml/, 1997.

  21. Rational. Object Constraint Language, Version 1.3. Rational Software Corporation. http://www.rational.com/, 1999.

  22. M. Richters and M. Gogolla. On formalizing the UML Object Constraint Language OCL. Proc. 17th Conceptual Modeling — ER’98, Springer LNCS 1507, 1998.

    Google Scholar 

  23. D. Sannella and A. Tarlecki. Essential concepts of algebraic specification and program development. Formal Aspects of Computing 9:229–269, 1997.

    Article  MATH  Google Scholar 

  24. M. Shroff and R.B. France. Towards a formalization of UML class structures in Z. Proc. COMPSAC’97, IEEE, pp. 646–651, 1997.

    Google Scholar 

  25. D. D’Souza and A.C. Wills. Objects, components and frameworks with UML: the Catalysis approach. Addison-Wesley, 1998.

    Google Scholar 

  26. J. Warmer and A. Kleppe. The Object Constraint Language: precise modeling with UML. Reading, Mass.: Addison-Wesley Longman, 1999.

    Google Scholar 

  27. R. Wieringa and J. Broersen. A minimal transition system semantics for lightweight class-and behavior diagrams. Proc. of ICSE’98 (Workshop on Precise Semantics for Software Modeling Techniques). IEEE Computer Society, 1998.

    Google Scholar 

  28. M. Wirsing. Algebraic specification. Handbook of Theoretical Computer Science, North-Holland, pp. 675–788, 1990.

    Google Scholar 

  29. M. Wirsing and A. Knapp. A formal approach to object-oriented software engineering. Proc. RWLW96, Electronic Notes in Theoretical Computer Science, Vol. 4, 1996.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1999 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Bidoit, M., Hennicker, R., Tort, F., Wirsing, M. (1999). Correct Realizations of Interface Constraints with OCL. In: France, R., Rumpe, B. (eds) «UML»’99 — The Unified Modeling Language. UML 1999. Lecture Notes in Computer Science, vol 1723. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-46852-8_29

Download citation

  • DOI: https://doi.org/10.1007/3-540-46852-8_29

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-66712-4

  • Online ISBN: 978-3-540-46852-3

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics