DocumentCode :
2145607
Title :
“self”-conscious objects in Object-Z
Author :
Griffiths, Alena
Author_Institution :
Software Verification Res. Centre, Queensland Univ., Qld., Australia
fYear :
1997
fDate :
24-28 Nov 1997
Firstpage :
210
Lastpage :
224
Abstract :
Within the field of object oriented type theory, much attention has been devoted to the notion of self and Self-types. In contrast, relatively little attention has been paid to this topic in studies on object oriented specification language semantics. In the context of language semantics, the notion of self poses two problems. Firstly, it involves an awareness by an object of its own identity, and hence a capacity for self referential method invocations. Secondly, the usual reference model for object identity maps object identities to object values. This means that an object´s identity is not normally considered to be a part of its value. And so a value for self is not normally in scope. The way that a semantics resolves the scope problem can affect one´s ability to use the semantics to reason about an object independently of its environment. The paper motivates the inclusion of a concept of self in object oriented formal specification languages, and shows how this concept can be accommodated within the semantics of Object-Z. We show that a useful consequence of making objects `self´-aware is that messages between objects can be `tagged´ with the identity of the sender object; this facilitates the task of reasoning about object interaction
Keywords :
computational linguistics; formal specification; object-oriented languages; object-oriented programming; specification languages; type theory; Object-Z; object identity; object interaction; object oriented formal specification languages; object oriented specification language semantics; object oriented type theory; object values; reference model; scope problem; self awareness; self conscious objects; self referential method invocations; sender object; Context awareness; Formal specifications; Object oriented modeling; Object oriented programming; Runtime; Specification languages;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Technology of Object-Oriented Languages and Systems, 1997. TOOLS 25, Proceedings
Conference_Location :
Melbourne, Vic.
Print_ISBN :
0-8186-8485-2
Type :
conf
DOI :
10.1109/TOOLS.1997.681872
Filename :
681872
Link To Document :
بازگشت