SLIDE 10 10
Deployment diagrams
Entities: + nodes Relations: + association between nodes + placement of a component on a
<<component>> DataBase
ODBC <<realize>>
<<component>> <<document>> Help LAN
28
p node
<<component>> Business
ODBC
<<component>> GUI 1 1..* Workstation Server
State diagrams
Entities:
states: name, activity, entry/exit action
Relations:
transitions between states: event, condition, action
29
State 1
do / activity entry / action exit / action
State 2
do / activity entry / action exit / action event (arg) [ condition ] / action
State diagrams: example 1
On loan
entry / book borrow( )
On shelf
entry / book return( )
return( ) borrow( ) Copy 1..* Book borrow return borrow return
Copy
30
entry / book.borrow( ) entry / book.return( )
Not borrowable Borrowable
return( ) borrow( ) [ last copy ] return( ) borrow( ) [ not last copy ]
Book