Figure B.2 shows the static structure of the Factory Method pattern (Gamma et al. 1995) annotated with UML-F tags. Table B.2 summarizes the Factory Method pattern UML-F tags. Factory Method is based on the Unification construction principle.
Tags | TemplateM AbstractClass , |
Apply to | As shown in Fig. B.1: Class ( TemplateM AbstractClass , TemplateM ConcreteClass ) Method ( TemplateM templateM , TemplateM-primitiveOp , TemplateM-primitiveOp ) |
Type | String. |
Expansion | The Template Method pattern is based on the Unification principle and therefore its tags expand as follows: TemplateM AbstractClass to Unif TH , TemplateMethod templateM to Unif-t , and TemplateM primitiveOp to Unif h . |