The UML Profile for Framework Architectures

B.12 Composite pattern tags

Figure B.12 shows the static structure of the Composite pattern (Gamma et al. 1995) annotated with UML-F tags. Table B.12 summarizes the Composite pattern UML-F tags. Composite corresponds to the Composite framework construction principle, which is a recursive combination of template and hook methods.

Figure B.12. Structure of the Composite pattern annotated with UML-F tags.

Table B.12. Definition of the UML-F Composite pattern tags.

Tags

Composite Client , Composite Component ,

Composite op , Composite Composite ,

Composite children ,

Composite op , Composite add , Composite remove ,

Composite Leaf

Apply to

As shown in Fig. B.12:

Class ( Composite Client , Composite Component , Composite Composite , Composite Leaf )

Method ( Composite op , Composite op , Composite add , Composite remove )

Interface ( Composite Component )

Association ( Composite children )

Type String.
Expansion not applicable

Категории