The UML Profile for Framework Architectures
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.
| 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 . |