B.8 Observer pattern tags

B.8 Observer pattern tags

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

Figure B.8. Structure of the Observer pattern annotated with UML-F tags.
graphics/bfig08.gif

Table B.8. Definition of the UML-F Observer pattern tags.
Tags

Observer Subject ,
Observer Observer ,
Observer ConcreteObserver ,
Observer notify ,
Observer update ,
Observer update ,
Observer observers

Apply to

As shown in Fig. B.8:

Class ( Observer Subject , Observer Observer , Observer ConcreteObserver )

Method ( Observer notify , Observer update , Observer update )

Interface ( Observer Subject , Observer Observer )

Association ( Observer observer )

Type String.
Expansion

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

Observer Subject to Sep T ,

Observer notify to Sep t ,

Observer Observer to Sep H , and

Observer update 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