DocumentCode
2349857
Title
The ins and outs of objects
Author
Potter, John ; Noble, James ; Clarke, David
Author_Institution
Microsoft Res. Inst., Macquarie Univ., Sydney, NSW, Australia
fYear
1998
fDate
13-13 Nov. 1998
Firstpage
80
Lastpage
89
Abstract
Aggregation and containment are important concepts in object-oriented modeling. In component-based approaches to software development, aggregation and containment are touted as one of the primary mechanisms for component reuse. Containment relationships are typically implemented with object references in most object-oriented programming languages. This encourages the sharing of component objects between aggregates, but does not yield faithful representations of the containment relationships. We investigate structural relationships which are inherent in object graphs defined by inter-object references. For an arbitrary object graph, we construct an ownership tree determined by separability properties within the object graph. This tree provides a simple, yet clear definition of the interior and exterior for individual objects, capturing an appropriate notion of object containment. To be useful in dynamic systems, such structural properties need to be invariant across the behaviour of the system. We discuss connections between such structural invariants for object graphs with our related work on flexible aliasing protection.
Keywords
graph theory; object-oriented programming; programming theory; software reusability; subroutines; aggregation; component object sharing; component reuse; component-based software development; dynamic systems; flexible aliasing protection; inter-object references; invariant structural properties; object containment relationships; object exterior; object graphs; object interior; object references; object-oriented modeling; object-oriented programming languages; ownership tree; separability properties; structural invariants; structural relationships; Aggregates; Object oriented modeling; Object oriented programming; Protection; Tree graphs;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering Conference, 1998. Proceedings. 1998 Australian
Conference_Location
Adelaide, SA, Australia
Print_ISBN
0-8186-9187-5
Type
conf
DOI
10.1109/ASWEC.1998.730915
Filename
730915
Link To Document