B.6 Command pattern tags

B.6 Command pattern tags

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

Figure B.6. Structure of the Command pattern annotated with UML-F tags.
graphics/bfig06.gif

Table B.6. Definition of the UML-F Command pattern tags.
Tags

Command Invoker ,
Command Command ,
Command ConcreteCommand ,
Command clientM ,
Command execute ,
Command execute ,
Command command

Apply to

As shown in Fig. B.7:

Class ( Command Invoker , Command Command , Command ConcreteCommand )

Method ( Command clientM , Command execute , Command execute )

Interface ( Command Invoker , Command Command )

Association ( Command-command )

Type String.
Expansion

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

Command Invoker to Sep T ,

Command clientM to Sep t , and

Command Command to Sep H , and

Command execute 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