Decorator Pattern (Nomnoml)
Wrapping a component to add behaviour.
What this template contains
- Source
- 5 lines
Make it your own.
[Component|+operation()]
[ConcreteComponent]-:>[Component]
[Decorator]-:>[Component]
[Decorator]o->[Component]
[ConcreteDecorator]-:>[Decorator]