Composite
Collaborations
-
Clients use the Component class interface to interact with objects in
the composite structure. If the recipient is a Leaf, then the request
is handled directly. If the recipient is a Composite, then it usually
forwards requests to its child components, possibly performing
additional operations before and/or after forwarding.