Decorator Design Pattern (UML Diagrams)
The decorator pattern is a design pattern that allows behavior to be added to an object, dynamically, without affecting the behavior of other objects from the same class.
Decorator Pattern in UML Diagrams
The class diagram and sequence diagram for the Decorator design pattern. The diagrams show the structure and the behavior of the pattern. The pattern diagram depicts these roles:
- Concrete Component
- Concrete Decorator 1 ... N
Decorator Design Pattern (UML Class Diagram, UML Sequence Diagram)