UML
Interaction diagrams Collaboration diagrams –Depict behaviour of objects as they interact Sequence diagrams –depict the dynamic behaviour of elements that make up a system Both diagrams can represent the same information
Collaboration Two levels Specification-level Shows classes, associations and their messages Instance-level Shows specific objects links and
Iteration
Sequenties
Iteratie
Vraag Wat is het verschil tussen sequentie- en collaboratiediagrammen? Wanneer gebruik je de een, en wanneer de ander? Zie pagina 220 boek
State diagrams Describe the state of an element and its transitions Transitions An element is in a source state. An event occurs. An action is performed. The element enters a target state.
Events
Actions = processing Action: return_var := target.actionname (arguments)
State Diagram of User Account
Volgende week Vragen Mail naar