The UML Profile for Framework Architectures

B.9 Prototype pattern tags

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.

Figure B.9. Structure of the Prototype pattern annotated with UML-F tags.

Table B.9. Definition of the Prototype pattern tags.

Tags

Prototype Client , Prototype Prototype ,

Prototype ConcretePrototype , Prototype clientM , Prototype clone ,

Prototype clone , and Prototype prototype

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 .

Категории