Pay
Oberver design pattern

Oberver design pattern

Observe Pattern

subject:

<<interface>>Subject

observers: Observer[*]

state: State



attach(Observer)

detach(Observer)

notifyAll()

observer:

<<interface>>Observer

notify()

Observer Design Pattern

0
0
1
publish time: 2020-10-12
Charlotte

This is an example of collaboration for Observer design pattern. Two roles of the collaboration - subject and observer - will be played by instances of classifiers typed by Subject and Observer interfaces. These interfaces can be viewed as a projection of the externally observable features of classifiers playing the roles.

See More Related Templates

UML Diagram - Add event to calendar
This is an example of a UML diagram about adding events to the calendar.
UML Diagram - Add event to calendar
23
1
0
easy diagrams
Class diagram example
This is an example of a uml class diagram.
Class diagram example
174
5
4
easy diagrams
ecommerce website - UML diagram
This is an example of a UML collaboration diagram.
ecommerce website - UML diagram
14
1
0
easy diagrams
Collaboration diagram adminpanel
This is an example of a UML collaboration diagram about adminpanel.
Collaboration diagram adminpanel
7
1
0
easy diagrams
Communication diagram example
This is an example of a UML communication diagram.
Communication diagram example
8
1
0
easy diagrams
Composite structure diagram
This is an example of a composite structure diagram.
Composite structure diagram
3
0
0
easy diagrams