B.10. State pattern tags

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

Figure B.10. Structure of the State pattern annotated with UML-F tags.

Table B.10. Definition of the UML-F State pattern tags.
Tags «State–Context»,«State–State»,«State–ConcreteState»,«State–request»,«State–handle»,«State–handle»,«State–state»
Apply to As shown in Fig. B.10:

Class («State–Context», «State–State», «State–ConcreteState»)

Method («State–request», «State–handle», «State–handle»)

Interface («State–Context», ...

Get UML Profile for Framework Architectures, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.