Title :
Subtyping and protection in persistent programming languages
Author :
Hollins, Michael ; Rosenberg, John ; Hitchens, Michael
Author_Institution :
Dept. of Comput. Sci., Sydney Univ., NSW, Australia
Abstract :
Information hiding or encapsulation is a protection mechanism which prevents users from directly accessing certain fields of an object. In many cases particularly in persistent systems, it may be desirable to provide varying degrees of encapsulation of an object. The paper presents the mechanisms for controlling the encapsulation of objects in the Mozzie programming language. Encapsulation is modelled using the language´s structural subtyping mechanism and may be enforced by use of the language´s capability mechanism. Capabilities allow for the dynamic control of encapsulation, including the ability to increase or decrease the amount of encapsulation enforced via a certain object reference
Keywords :
data encapsulation; object-oriented languages; object-oriented programming; type theory; Mozzie programming language; capability mechanism; dynamic control; encapsulation; information hiding; object reference; persistent programming languages; persistent systems; protection mechanism; structural subtyping mechanism; subtyping; Computer languages; Computer science; Concrete; Displays; Encapsulation; Object oriented modeling; Protection; Prototypes;
Conference_Titel :
System Sciences, 1997, Proceedings of the Thirtieth Hawaii International Conference on
Conference_Location :
Wailea, HI
Print_ISBN :
0-8186-7743-0
DOI :
10.1109/HICSS.1997.667340