B.11 Strategy pattern tags

B.11 Strategy pattern tags

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

Figure B.11. Structure of the Strategy pattern annotated with UML-F tags.
graphics/bfig11.gif

Table B.11. Definition of the UML-F Strategy pattern tags.
Tags

Strategy Context ,
Strategy contextInt ,
Strategy strategy ,
Strategy Strategy ,
Strategy algInt , Strategy ConcreteStrategy ,
Strategy algInt

Apply to

As shown in Fig. B.11:

Class ( Strategy Context , Strategy Strategy , Strategy ConcreteStrategy )

Method ( Strategy contextInt , Strategy algInt , Strategy algInt )

Interface ( Strategy Context , Strategy Strategy )

Association ( Strategy strategy )

Type String.
Expansion

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

Strategy Context to Sep T ,

Strategy contextInt to Sep t ,

Strategy Strategy to Sep H , and

Strategy algInt to Sep h .



The UML Profile for Framework Architectures
The UML Profile for Framework Architectures
ISBN: 0201675188
EAN: 2147483647
Year: 2000
Pages: 84

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net