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.
Tags | Command Invoker , |
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 . |