Skip to main content

A Framework for Strong Typing and Type Inference in (Persistent) Object Models

  • Conference paper
Database and Expert Systems Applications

Abstract

In this paper a coherent framework of subtyping is developed that achieves strong typing in (persistent) object models without compromising flexibility and expressiveness. The typing framework is based on the concept of substitutability-meaning that from the type consistency perspective objects exhibiting a particular functional characteristic are substitutable for objects of another kind without compromising type safety. We deduce substitutability from the functional specification of object types, called the type signature. Utilizing our framework we show that inheritance-based subtyping on tuple-structured types cannot generally be extended to set-structured or any other collection types, e.g., lists, without sacrificing static verifiability of type consistency.

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. M. Atkinson, F. Bancilhon, D. J. DeWitt, K. R. Dittrich, D. Maier, and S. Zdonik. The object-oriented database system manifesto. In Proc. of the DOOD Conference, pages 40–57, Kyoto, Japan, Dec 1989.

    Google Scholar 

  2. F. Bancilhon, T. Briggs, S. Khoshafian, and P. Valduriez. FAD, a powerful and simple database language. In Proc. of The Conf. on Very Large Data Bases (VLDB), pages 97105, Brighton, U.K., Sep 1987.

    Google Scholar 

  3. L. Cardelli and P. Wegner. On understanding types, data abstraction, and polymorphism. ACM Computing Surveys, 17 (4): 471–522, Dec 1985.

    Article  Google Scholar 

  4. G. Copeland and D. Maier. Making Smalltalk a database system. In Proc. of the ACM SIGMOD Conf. on Management of Data, pages 316–325, 1984.

    Google Scholar 

  5. Dahl and K. Nygaard. Simula, an Algol-based simulation language. CACM, 9: 671–678, 1966.

    Article  Google Scholar 

  6. S. Danforth and C. Tomlinson. Type theories and object oriented programming. ACM Computing Surveys, 20 (1): 2972, Mar 1988.

    MathSciNet  Google Scholar 

  7. J. A. Goguen and D. Wolfram. On types and POOPS. In Proc. IFIP TC 2 Working Conference on Database Semantics: Object Oriented Databases—Analysis, Design, and Construction, Windermere, UK, Jun 90.

    Google Scholar 

  8. A. Goldberg and D. Robson. Smalltalk-80: The Language and its Implementation. Addison-Wesley, 1983.

    Google Scholar 

  9. A. Kemper and G. Moerkotte. Correcting anomalies of standard inheritance—a constraint based approach. In Proc. Intl. Conf. ova Database and Expert Systems Applications, pages 49–55, Wien, Austria, Aug 90.

    Google Scholar 

  10. A. Kemper, G. Moerkotte, 11.-D. Walter, and A. Zachmann. GOM: a strongly typed, persistent object model with polymorphism. In Proc. of the BTW Conf., pages 198–217, Mar 1991. Springer-Verlag, Informatik-Fachberichte Nr. 270.

    Google Scholar 

  11. W. Kim, H. T. Chou, and J. Banerjee. Operations and implementation of complex objects. IEEE Trans. Software Eng., 14 (7): 985–996, Jul 1988.

    Article  Google Scholar 

  12. C. Lécluse and P. Richard. The 02 database programming language. In Proc. of The Conf. on Very Large Data Bases (VLDB), pages 411–422, Amsterdam, NL, Sep 1989.

    Google Scholar 

  13. R. Milner. A theory of type polymorphism. Journal of Computer and System Sciences, 17: 378–375, 1978.

    Article  MathSciNet  Google Scholar 

  14. A. Ohori, P. Buneman, and V. Breazu-Tannen. Database programming in Machiavelli: A polymorphic language with static type inference. In Proc. of the ACM SIGMOD Conf. on Management of Data,Portland, OR, 19Ei9.

    Google Scholar 

  15. S. Zdonik and D. Maier. Fundamentals of object-oriented databases. In S. Zdonik and D. Maier, editors, Readings in Object-Oriented Databases, pages 1–32. Morgan-Kaufman Publ. Co., 89.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1991 Springer-Verlag Wien

About this paper

Cite this paper

Kemper, A., Moerkotte, G. (1991). A Framework for Strong Typing and Type Inference in (Persistent) Object Models. In: Karagiannis, D. (eds) Database and Expert Systems Applications. Springer, Vienna. https://doi.org/10.1007/978-3-7091-7555-2_43

Download citation

  • DOI: https://doi.org/10.1007/978-3-7091-7555-2_43

  • Publisher Name: Springer, Vienna

  • Print ISBN: 978-3-211-82301-9

  • Online ISBN: 978-3-7091-7555-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics