Title :
Method dispatching and type safety for objects with multiple roles
Author :
Wong, Raymond K. ; Chau, H. Lewis
Author_Institution :
Dept. of Comput. Sci., Stanford Univ., CA, USA
Abstract :
The association between an instance and a class is exclusive and permanent in many class based, object oriented database systems. Therefore, these systems have serious difficulties for applications in which objects take on different and multiple roles over time. Recently, some researchers have proposed the use of roles to tackle these problems. Although many of them have realized the importance and difficulties to solve the type problems caused by roles, formal semantics and type issues of roles have not been addressed. We develop an expressive yet semantically sound type calculus for objects with multiple roles. While the rich role modeling constructs are introduced, the calculus can still be expressed in a neat way by using the polymorphism of overloaded functions. We show the important properties of the calculus which include Subject Reduction, Strong Normalization and Confluence. The calculus described in the paper provides a foundation for object-with-role models. We show that the calculus is general enough to be applied to various role models with little modification
Keywords :
abstract data types; object-oriented databases; process algebra; type theory; Confluence; Strong Normalization; Subject Reduction; class based object oriented database systems; formal semantics; instance; method dispatching; multiple roles; object-with-role models; overloaded functions; polymorphism; role modeling constructs; semantically sound type calculus; type issues; type safety; Application software; Calculus; Computer science; Context modeling; Data models; Database systems; Dispatching; Education; Object oriented modeling; Safety;
Conference_Titel :
Technology of Object-Oriented Languages and Systems, 1997. TOOLS 25, Proceedings
Conference_Location :
Melbourne, Vic.
Print_ISBN :
0-8186-8485-2
DOI :
10.1109/TOOLS.1997.681877