The UML Profile for Framework Architectures
A.4 Essential tags for the framework construction principles
A.4.1 Template and hook tags
See Chapter 4 for further information.
Tag form | Summary |
---|---|
template | The method is a template method or the class contains a template method. |
hook | The method is a hook method or the class/interface contains a hook method. |
A template hook tag group can be formed by giving the tag group a name. This would result in the tags taking the form template: group-name and hook: group-name .
A.4.2 Tags for the Unification and Separation construction principles
See Chapter 4 for further information.
Tag form | Summary |
Unification TH or Unif TH | The class is an application of the unification construction principle and thus contains both a template and hook method. |
Unification t or Unif t | The method is a template method in an application of the Unification construction principle. |
Unification h or Unif h | The method is a hook method in an application of the Unification construction principle. |
Separation T or Sep T | The class contains the template method in an application of the Separation construction principle. |
Separation H or Sep H | The class contains the hook method in an application of the Separation construction principle. |
Separation t or Sep t | The method is a template method in an application of the Separation construction principle. |
Separation h or Sep h | The method is a hook method in an application of the separation construction principle. |
A Unification principle tag group can be formed by giving the tag group a name. This would result in the tags taking the form Unif TH: group-name , Unif t: group-name , and Unif h: group-name . A Separation principle tag group can be formed using an analogous technique. This would result in the tags taking the form Sep T: group-name , Sep H: group-name , Sep t: group-name , and Sep h: group-name .
A.4.3 Tags for Composite, Decorator, and Chain of Responsibility
The three construction principles with a recursive flavor are identical to the patterns Composite, Decorator, and Chain of Responsibility in the GoF catalog shown in Appendix B. Chapter 4 and Section A.5 provide guidelines on how to derive the corresponding tags from the particular pattern structure.