Composite

This is a class diagram example for the Composite design pattern.

Purpose

Facilitates the creation of object hierarchies where each object can be treated independently or as a set of nested objects through the same interface.

Use When

  • Hierarchical representations of objects are needed.
  • Objects and compositions of objects should be treated uniformly.
Import into your Project

Posted by: Willie Gonzalez

Turn every software project into a successful one.

Try Visual Paradigm for Free! Or learn more about our features.

0 0 vote
Article Rating
guest
0 Comments
Inline Feedbacks
View all comments