B.1 Factory Method pattern tags

B.1 Factory Method pattern tags

Figure B.1 shows the static structure of the Template Method pattern (Gamma et al. 1995) annotated with UML-F tags. Table B.1 summarizes the Template Method pattern UML-F tags. Template Method is based on the Unification construction principle.

Figure B.1. Structure of the Factory Method pattern annotated with UML-F tags.
graphics/bfig01.gif

Table B.1. Definition of the UML-F Factory Method pattern tags.
Tags

FacM Creator ,

FacM facM ,

FacM anOp ,

FacM Product ,

FacM ConcreteProduct ,

FacM ConcreteCreator , and

FacM facM

Apply to

As shown in Fig. B.2:

Class ( FacM Creator , FacM Product , FacM ConcreteProduct , FacM ConcreteCreator )

Method ( FacM facM , FacM anOp , FacM facM )

Interface ( FacM Product )

Type String.
Expansion

The Factory Method pattern is based on the Unification principle and therefore its tags expand as follows:

FacM Creator to Unif TH ,

FacM facM to Unif-t , and

FacM anOp to Unif h .



The UML Profile for Framework Architectures
The UML Profile for Framework Architectures
ISBN: 0201675188
EAN: 2147483647
Year: 2000
Pages: 84

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net