B.13. Decorator pattern tags

Figure B.13 shows the static structure of the Decorator pattern (Gamma et al. 1995) annotated with UML-F tags. Table B.13 summarizes the Decorator pattern UML-F tags. Decorator corresponds to the Decorator framework construction principle, which is a recursive combination of template and hook methods in which each instance of the object containing the template method can only refer to zero or one instance of an object containing the hook method. This construction principle can be applied in order to selectively add behavior by composition without changing the hook directly.

Figure B.13. Structure of the Decorator pattern annotated with UML-F tags.
Table B.13. Definition of the UML-F Decorator pattern tags.
Tags

Get UML Profile for Framework Architectures, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.