Skip to main content

Specifying the Semantics of Operation Contracts in Conceptual Modeling

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((JODS,volume 4244))

Abstract

This paper describes two different ways of understanding operation contracts in conceptual modeling: the strict and extended interpretations. The main difference between them lies in the way operation postconditions and integrity constraints are guaranteed, which has an impact on the desirable properties of operation contracts according to recommended good practice for requirements specification. Both interpretations are formalized and compared in terms of these properties. We find that the strict interpretation provides several advantages over the extended one. This conclusion is supported by evidence from a case study. The results of the case study also indicate that the strict interpretation significantly facilitates the specification task.

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. IEEE Recommended Practice for Software Requirements Specifications (IEEE Std. 830 1998) (1998)

    Google Scholar 

  2. Borgida, A., Mylopoulos, J., Reiter, R.: On the frame problem in procedure specifications. IEEE Transactions on Software Engineering 21, 785–798 (1995)

    Article  Google Scholar 

  3. Costal, D., Sancho, M.R., Teniente, E.: Understanding Redundancy in UML Models for Object-Oriented Analysis. In: Pidduck, A.B., Mylopoulos, J., Woo, C.C., Ozsu, M.T. (eds.) CAiSE 2002. LNCS, vol. 2348, pp. 659–674. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

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

    Google Scholar 

  5. Davis, A.M.: Software Requirements: Objects, Functions and States. Prentice Hall, Englewood Cliffs (1993)

    MATH  Google Scholar 

  6. Devos, F., Steegmans, E.: Specifying Business Rules in Object-Oriented Analysis. Software and Systems Modeling 4, 297–309 (2005)

    Article  Google Scholar 

  7. Frias, L., Queralt, A., Olivé, A.: EU-Rent Car Rentals Specification. Departament de LSI, UPC, Technical Report LSI-03-59-R (2003)

    Google Scholar 

  8. Hoare, C.A.R.: Proof of Correctness of Data Representations. Acta Informatica 1, 271–281 (1972)

    Article  MATH  Google Scholar 

  9. ISO/TC97/SC5/WG3: Concepts and Terminology for the Conceptual Schema and the Information Base. In: van Griethuysen, J.J.(ed.) (1982)

    Google Scholar 

  10. Larman, C.: Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and Iterative Development, 3rd edn. Prentice Hall PTR, Upper Saddle River (2004)

    Google Scholar 

  11. Martin, J., Odell, J.J.: Object-Oriented Methods. A Foundation. P T R Prentice Hall, Englewood Cliffs (1999)

    Google Scholar 

  12. Meyer, B.: Applying ‘Design by Contract’. Computer 25, 40–51 (1992)

    Article  Google Scholar 

  13. Meyer, B.: Object-Oriented Software Construction, 2nd edn. Prentice Hall, New York (1997)

    MATH  Google Scholar 

  14. Mylopoulos, J., Bernstein, P.A., Wong, H.K.T.: A Language Facility for Designing Database-Intensive Applications. ACM Transactions on Database Systems 5, 185–207 (1980)

    Article  Google Scholar 

  15. Olivé, À.: Definition of Events and Their Effects in Object-Oriented Conceptual Modeling Languages. In: Atzeni, P., Chu, W., Lu, H., Zhou, S., Ling, T.-W. (eds.) ER 2004. LNCS, vol. 3288, pp. 136–149. Springer, Heidelberg (2004)

    Chapter  Google Scholar 

  16. OMG: UML 2.0 OCL Specification (2003)

    Google Scholar 

  17. Pressman, R.S.: Software Engineering: A Practitioner’s Approach, 6th edn. McGraw-Hill, New York (2004)

    Google Scholar 

  18. Queralt, A., Teniente, E.: On the Semantics of Operation Contracts in Conceptual Modeling. In: Pastor, Ó., Falcão e Cunha, J. (eds.) CAiSE 2005. LNCS, vol. 3520. Springer, Heidelberg (2005)

    Google Scholar 

  19. Queralt, A., Teniente, E.: A Platform Independent Model for the Electronic Marketplace Domain. Departament de LSI, UPC, Technical Report LSI-05-9-R (2005)

    Google Scholar 

  20. Rumbaugh, J., Jacobson, I., Booch, G.: The Unified Modeling Language Reference Manual. Addison Wesley Professional, Reading (2004)

    Google Scholar 

  21. Warmer, J., Kleppe, A.: The Object Constraint Language: Getting Your Models Ready for MDA, 2nd edn. Addison-Wesley Professional, Reading (2003)

    Google Scholar 

  22. Wieringa, R.: A Survey of Structured and Object -Oriented Software Specification Methods and Techniques. ACM Comput. Surv. 30, 459–527 (1998)

    Article  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

Queralt, A., Teniente, E. (2006). Specifying the Semantics of Operation Contracts in Conceptual Modeling. In: Spaccapietra, S. (eds) Journal on Data Semantics VII. Lecture Notes in Computer Science, vol 4244. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11890591_2

Download citation

  • DOI: https://doi.org/10.1007/11890591_2

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-46329-0

  • Online ISBN: 978-3-540-46330-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics