Composite Objects

Objects made of sub-objects may be represented using a composite object in order to reduce diagram complexity. Composite objects are represented like normal objects except for the fact that the attributes are replaced by objects, either using underlined text or a graphical representation. The following diagram illustrates the graphical representation of composite objects:

Composite objects are instances of composite classes — classes built from other classes using the strongest form of aggregation. The following diagram represents a composite

Window
class.

The following object diagram is an instance of the above composite class. It represents the most general form of composite

Window
objects, from the objects' point of view.

© 1997 Editions, Eyrolles, Paris, France . All rights reserved.