Back to search

Hong Kong University of Science and Technology

Door : an object-role database programming language

Abstract

dc:description

<p>In most object-oriented systems, an object has a single defining type, often corresponding to its class. This type determines the complete behavior of an object. It is typically not possible to modify this behavior after the object has been created. However, these systems have serious difficulties in representing objects taking on different and multiple roles over time. It is common for an object to deviate from the strict behaviors that are provided by its type. It is also often important to be able to change the type of an object as that object changes, to limit our view of the object, or to treat an object as if it possessed the attributes of some other type.</p><p>This thesis proposes a database programming language called DOOR (Database + Object-Orientation + Roles) which supports objects with roles. Objects with roles can be used to simulate many useful extensions to typing that occur naturally in many applications. For example, we can use objects with changing roles to provide the behavior of versions, changing types of instances, views, and possible world semantics. We can also use the same mechanisms to introduce such behaviors as minimal template, multiple class membership, and union type. The use of roles to achieve some of these notions is demonstrated.</p><p>Furthermore, a formal calculus is developed for roles and type safety is guaranteed. Based on the calculus, DOOR is implemented using the concept of Metaobject Protocols, and the Exodus Storage Manager is used as the persistent store. Finally, non-trivial applications are used to demonstrate the significance of the language.</p>

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Wong, Kwok Kay

Subjects

dc:subject × 3

Rights

dc:rights
Statement dc:rights
  • Access restricted to campus users
Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Hong Kong University of Science and Technology
Base URL
repository.ust.hk/ir/OAI/Server
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Wong, Kwok Kay. Door : an object-role database programming language. 1997. http://repository.hkust.edu.hk/ir/Record/1783.1-150831