The UML Profile for Framework Architectures

B.5 Builder pattern tags

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

Figure B.5. Structure of the Builder pattern annotated with UML-F tags.

Table B.5. Definition of the UML-F Builder pattern tags.

Tags

Builder Director , Builder Builder ,

Builder ConcreteBuilder , Builder construct , Builder buildPart ,

Builder buildPart , Builder builder

Apply to

As shown in Fig. B.4:

Class ( Builder Director , Builder Builder , Builder ConcreteBuilder )

Method ( Builder construct , Builder buildPart , Builder buildPart )

Interface ( Builder Director , Builder Builder )

Association ( Builder builder )

Type String.
Expansion

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

Builder Director to Sep T ,

Builder construct to Sep t ,

Builder Builder to Sep H , and

Builder-buildPart to Sep h

Категории