B.3 Abstract Factory pattern tags

B.3 Abstract Factory pattern tags

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

Figure B.3. Structure of the Abstract Factory pattern annotated with UML-F tags.
graphics/bfig03.gif

Table B.3. Definition of the UML-F Abstract Factory pattern tags.
Tags

AbstractFactory Client ,
AbstractFactory AbstractFactory ,
AbstractFactory ConcreteFactory ,
AbstractFactory AbstractProduct ,
AbstractFactory ConcreteProduct ,
AbstractFactory clientM ,
AbstractFactory createProduct ,
AbstractFactory createProduct ,
AbstractFactory fac , AbstractFactory prod
[or their short forms AF- ]

Apply to

As shown in Fig. B.6:

Class ( AF Client , AF AbstractFactory , AF ConcreteFactory , AF AbstractProduct , AF ConcreteProduct )

Method ( AF clientM , AF createProductA , AF-createProductA )

Interface ( AF Client , AF AbstractFactory , AF AbstractProduct )

Association ( AF fac , AF prod )

Type String.
Expansion

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

AF-Client to Sep T ,

AF-clientM to Sep t ,

AF-AbstractFactory to Sep H , and

AF createProductA to Sep 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