Skip to content
Ritesh Aryal edited this page Apr 19, 2014 · 2 revisions

Decorator Pattern UML

Coffee Shop Example UML

Decorator Pattern UML

Open Close Principle

Main goal on Decorator is to allow classes to be easily extended to incorporate new behavior without modifying existing code. What do we get if we accomplish this? Designs that are resilient to change and flexible enough to take on new functionality to meet changing requirements.

Clone this wiki locally