Loading…
External relationships of objects
External relationships of objects represent semantic dependencies between objects that enable inter‐object communication and augment the services the objects provide with role‐specific behaviors. Most of the object‐oriented design methodologies support the notion of external relationships at the con...
Saved in:
Published in: | Software, practice & experience practice & experience, 1998-07, Vol.28 (7), p.737-747 |
---|---|
Main Authors: | , , |
Format: | Article |
Language: | English |
Subjects: | |
Online Access: | Get full text |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Summary: | External relationships of objects represent semantic dependencies between objects that enable inter‐object communication and augment the services the objects provide with role‐specific behaviors. Most of the object‐oriented design methodologies support the notion of external relationships at the conceptual level, but OO programming languages have no language construct to directly implement the external relationships, which are implemented as containment relationships with embedded pointers resulting in the semantics of the relationships being buried in code. Moreover, object‐oriented programming languages lack a mechanism to allow a dynamic classification of objects according to the roles they play in external relationships. This paper describes a technique to treat an external relationship as a conceptually useful ion at the specification stage and a separately identifiable structure at the implementation stage, by providing a declarative specification and an implementation in C++ with special focus on the implementation of object roles. © 1998 John Wiley & Sons, Ltd. |
---|---|
ISSN: | 0038-0644 1097-024X |
DOI: | 10.1002/(SICI)1097-024X(199807)28:7<737::AID-SPE174>3.0.CO;2-1 |