Figure B.9 shows the static structure of the Prototype pattern (Gamma et al. 1995) annotated with UML-F tags. Table B.9 summarizes the Prototype pattern UML-F tags. Prototype is based on the Separation construction principle.
Tags | Prototype Client , |
Apply to | As shown in Fig. B.9: Class ( Prototype Client , Prototype Prototype , Prototype ConcretePrototype ) Method ( Prototype clientM , Prototype clone , Prototype clone ) Interface ( Prototype Client , Prototype Prototype ) Association ( Prototype prototype ) |
Type | String. |
Expansion | The Prototype pattern is based on the Separation principle and therefore its tags expand as follows: Prototype-Client to Sep T , Prototype clientM to Sep t , Prototype Prototype to Sep H , and Prototype clone to Sep h . |