Module 3: Advanced Features – Part II: Behavioral Diagrams
3 basic building blocks of UML - Diagrams
Use Case Diagrams
Use Cases
Organizing Use Cases
A Use Case Template (http://www.bredemeyer.com/pdf_files/use_case.pdf)
A Use Case Template
Sequence Diagrams
Interaction Diagrams (sd and cd)
Interaction Diagram: sequence vs communication
Interactions - Modeling Actions
linking sequence diagrams
Timing constraints
Interactions - Procedural Sequencing vs. Flat Sequencing
Interactions – conditional paths, asynchronous message [Craig Larman] [http://www.phptr.com/articles/article.asp?p=360441&seqNum=6&rl=1]
Slide 16
Slide 17
Slide 18
Slide 19
Slide 20
Frames & Interaction Fragment Operators
What can be in the top boxes? (http://www.agilemodeling.com/artifacts/sequenceDiagram.htm)
Modeling Protocols - Associating Protocols with Ports
Protocols: Reusable Interaction Sequences (http://cot.uni-mb.si/ots2003/ppt/Selic-UML2.0-tutorial.030504.pdf)
From Diagrams to Objects
State Transition Diagrams
Slide 27
Slide 28
Slide 29
Advanced States
Substates
Modular Submachines
Specialization
Events – External vs. Internal Events
Slide 35
Call Events
Modeling Family of Signals and Exceptions
Activity Diagrams
Activity Diagram Basics
Swimlanes & Object Flow
Object Flows and Pins
A Simple Example – Order Processing
Slide 43
Activity Diagram even as Method
Interruptible Activity Region
An Activity Diagram – Distributing schedules
Pins, Parameters, Effects (www.jot.fm/issues/issue_2004_01/column3.pdf )
Multiple Tokens
Multiple Tokens - Ordering
Parameter Multiplicity & Object Flow Weight
Interaction Overview Diagrams
Interaction Overview Diagram (http://www.agilemodeling.com/artifacts/interactionOverviewDiagram.htm)
Slide 53
Timing Diagrams
Interaction Diagram: Timing Diagram
Interaction Diagram: Timing Diagram (robust notation)
Appendix: Miscellaneous
Role Names
Iterative Messages [Craig Larman] [http://www.phptr.com/articles/article.asp?p=360441&seqNum=6&rl=1]
Polymorphic Message [Craig Larman] [http://www.phptr.com/articles/article.asp?p=360441&seqNum=6&rl=1]
Slide 61
Slide 62
Race conditions
Slide 64
Sequence Diagram - Reference (www.cs.tut.fi/tapahtumat/olio2004/richardson.pdf)
State Machine Redefinition
Slide 67
Timing Diagram – another example (www.cs.tut.fi/tapahtumat/olio2004/richardson.pdf)
Real-Time Extensions: Using CCS