Skip to main content

Modelling Database Views with Derived Classes in the UML/OCL-framework

  • Conference paper
«UML» 2003 - The Unified Modeling Language. Modeling Languages and Applications (UML 2003)

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

Included in the following conference series:

Abstract

One of the central notions in database modelling is the notion of a database view. A database view closely corresponds to the notion of derived class in UML. This paper will show how the notion of a relational database view can be correctly expressed as a derived class in UML/OCL (version 2.0). A central part of our investigation concerns the generality of our manner of representing relational views in OCL. Since, in general terms, a database view closely corresponds to the notion of a named query, an important problem that we address in our paper is the expressiveness of OCL as a query language. In particular, we will discuss the relational completeness of OCL (w.r.t the relational algebra). We will show that OCL (version 2.0) is relationally complete in a minimal sense, but not in a (desired) maximal sense. As a consequence, we will argue for certain language extensions in OCL in order to achieve that OCL is maximally relationally complete.

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.H., Bordbar, B.: On Querying UML data models with OCL. In: Gogolla, M., Kobryn, C. (eds.) UML 2001. LNCS, vol. 2185, p. 91. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  2. Balsters, B., de By, R.A., Zicari, R.: Sets and constraints in an object-oriented data model. In: Proceedings Seventh European Conference on Object-Oriented Programming (1993)

    Google Scholar 

  3. Blaha, M., Premerlani, W.: Object-oriented modeling and design for database applications. Prentice Hall, Englewood Cliffs (1998)

    Google Scholar 

  4. Balsters, H., Spelt, D.: Automatic verification of transactions on an objectoriented database. In: Cluet, S., Hull, R. (eds.) DBPL 1997. LNCS, vol. 1369, Springer, Heidelberg (1998)

    Google Scholar 

  5. Balsters, B., de Vreeze, C.C.: A semantics of object-oriented sets. In: Third International Workshop on Database Programming Languages (DBPL, eds. Abiteboul, Kannelakis), Morgan Kaufmann Publishers, California (1992)

    Google Scholar 

  6. Date, C.J.: An introduction to database systems. Addison Wesley, Reading (2000)

    Google Scholar 

  7. Demuth, B., Hussmann, H.: Using UML/OCL constraints for relational database design. In: France, R.B., Rumpe, B. (eds.) UML 1999. LNCS, vol. 1723, pp. 598–613. Springer, Heidelberg (1999)

    Chapter  Google Scholar 

  8. Demuth, B., Hussmann, H., Loecher, S.: OCL as a specification language for business rules in database applications. In: Gogolla, M., Kobryn, C. (eds.) UML 2001. LNCS, vol. 2185, p. 104. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  9. Elmasri, R., Navathe, S.B.: Fundamentals of database systems. Addison Wesley, Reading (2000)

    Google Scholar 

  10. Gogolla, M., Richters, M.: On constraints and queries in UML. In: Proceedings UML 1997 Workshop The Unified Modeling Language – Technical Aspects and Apllications (1997)

    Google Scholar 

  11. Garcia-Molina, H., Ullman, J.D., Widom, J.: Database systems. Prentice Hall, Englewood Cliffs (2002)

    Google Scholar 

  12. Mandel, L., Cengarle, M.V.: On the expressive power of OCL. In: Wing, J.M., Woodcock, J.C.P., Davies, J. (eds.) FM 1999. LNCS, vol. 1708, p. 854. Springer, Heidelberg (1999)

    Chapter  Google Scholar 

  13. Response to the UML 2.0 OCL RfP, Revised Submission, Version 1.6, January 6 (2003)

    Google Scholar 

  14. Warmer, J.B., Kleppe, A.G.: The object constraint language. Addison Wesley, Reading (1999)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Balsters, H. (2003). Modelling Database Views with Derived Classes in the UML/OCL-framework. In: Stevens, P., Whittle, J., Booch, G. (eds) «UML» 2003 - The Unified Modeling Language. Modeling Languages and Applications. UML 2003. Lecture Notes in Computer Science, vol 2863. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-45221-8_25

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-45221-8_25

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-20243-1

  • Online ISBN: 978-3-540-45221-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics