Interaction Diagrams A Lot of UML!

Slides:



Advertisements
Similar presentations
Chapter 15 UML Interaction Diagrams 1CS6359 Fall 2012 John Cole.
Advertisements

Object-Oriented Analysis and Design CHAPTERS 15: UML INTERACTION DIAGRAMS 1.
Ana M. Fernández  A UML diagram that depicts: ◦ interactions between objects. ◦ how the business currently works by showing how various.
Sequence Diagram Objects are represented horizontally across the top of the diagram The first object is typically an Actor, the one who initiates Each.
Sequence Diagram Objects are represented horizontally across the top of the diagram Each object has a lifeline some exist before and/or after some are.
Analysis 2: Realizing Use Cases [A&N 12]. Recall, use case (your requirement) 2 ID 1: Buy Desc: a customers pay the items she has in the basket. Primary.
1 © Wolfgang Pelz UML2 UML Part Two. 2 © Wolfgang Pelz UML2 Chapters Four & Twelve Interaction Diagrams.
Chapter 15 Interaction Diagrams. Most Common Sequence Diagram Communication Diagram Sequence Diagrams illustrate interactions between classes of a program.
1Spring 2005 Specification and Analysis of Information Systems Modeling Behavior with UML Sequence Diagrams Eran Toch
Sequence diagram example T120B029P pavasaris.
Designing with Interaction and Design Class Diagrams Chapters 15 & 16 Applying UML and Patterns Craig Larman With some ideas from students in George Blank’s.
UML Sequence Diagrams Reading: UML Distilled Ch. 4, by M. Fowler
Karolina Muszyńska Based on: S. Wrycza, B. Marcinkowski, K. Wyrzykowski „Język UML 2.0 w modelowaniu SI”
CSSE 374: Interaction Diagrams Steve Chenoweth Office: Moench Room F220 Phone: (812) These slides and others derived.
CS3773 Software Engineering
מידול התנהגותי 1. Today’s Session Sequence Diagrams State Machines 2.
Interaction diagrams Sequence and collaboration diagrams.
Software Engineering 1 Object-oriented Analysis and Design Applying UML and Patterns An Introduction to Object-oriented Analysis and Design and Iterative.
1 SAD2 - UML 2 nd Lecture Sequence Diagram and other dynamic views Lecturer: Dr Dimitrios Makris
Introduction to Interaction Diagrams Used to illustrate the dynamic behaviour of a community of objects that collaborate by passing messages in order to.
1 Sequence Diagrams (Based on Stevens and Pooley (2006, Chapters 9, 10) and Fowler (2004, Chapter 4)) David Meredith Aalborg University.
Practical Object-Oriented Design with UML 2e Slide 1/1 ©The McGraw-Hill Companies, 2004 PRACTICAL OBJECT-ORIENTED DESIGN WITH UML 2e Chapter 9: Interaction.
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 UML Sequence Diagrams.
Copyright © Hsiao-Lan Wei All Rights Reserved Design Model Interaction diagram.
Starting Object Design
Chapter 4: UML Interaction Diagrams. Objective Provide a reference for frequently used UML interaction diagram notation- sequence and communication diagrams.
UML January 26, 2011 CSE 403, Winter 2011, Brun UML Sequence Diagrams.
1 UML Sequence Diagrams UML Distilled, Third Edition, Chapter 4 M. Fowler.
Smith’s Aerospace © P. Bailey & K. Vander Linden, 2005 Interaction and Communication Diagrams Patrick Bailey Keith Vander Linden Calvin College.
What to remember from Chap 13 (Logical architecture)
Interaction Diagram Notation
© 2010 Bennett, McRobb and Farmer1 Object Interaction – Interaction Overview Diagrams Timing Diagrams Based on Chapter 09 Bennett, McRobb and Farmer Object.
Object-Oriented Analysis and Design Feb 11, 2009.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 8: Modelling Interactions and Behaviour UML Sequence Diagram.
University of Toronto at Scarborough © Bennett, McRobb and Farmer 2005 CSCC40 communication and sequence diagrams : listCampaigns *[For.
Object-Oriented Analysis and Design 1 Mira Balaban & Arnon Sturm Object-Oriented Analysis and Design Session 3a: Behavioral Modeling - Interactions.
Use Case Driven Analysis Requirements Use Case Use Case Description System Sequence Diagram Chapter 5.
1 On To Object Design Chapter 14 Applying UML and Patterns -Craig Larman.
Com S 362: Object-Oriented Analysis and Design Refactoring.
Karolina Muszyńska Based on: S. Wrycza, B. Marcinkowski, K. Wyrzykowski „Język UML 2.0 w modelowaniu SI”
Collaboration diagrams. Purpose A collaboration diagram is an alternate way to show a scenario. A collaboration diagram shows the objects and relationships.
Com S 362: Object-Oriented Analysis and Design From Design To Code.
© Bennett, McRobb and Farmer Object Interaction – Sequence Diagrams Based on Chapter 9 of Bennett, McRobb and Farmer: Object Oriented Systems Analysis.
SAD2 - UML Lecturer: Dr. Dimitrios Makris 1st Lecture
Chapter 3: Introducing the UML
Communication Diagrams Lecture 8. Introduction  Interaction Diagrams are used to model system dynamics  How do objects change state?  How do objects.
Dr. Kivanc DincerCS319 Week 6 - Oct.17,20051 Chapter 14 Onto Object Design Objectives Understand dynamic and static object design modeling. Try agile modeling,
1 Kyung Hee University Interaction Diagrams Spring 2001.
UML Activity and Sequence Diagrams David Millard
Sequence diagrams Lecture 5. Main terms  Interaction  Life line  Activation  Executable behavior and derived behavior  Messages  Trajectory  Frame.
Object Interaction – Interaction Overview Diagrams Timing Diagrams
Sequence Diagram.
Systems Analysis and Design in a Changing World, 6th Edition
UML Interaction Diagrams
UML SEQUENCE DIAGRAM.
Chapter 11: Collaboration Diagram - PART1
Sequence Diagram.
UML Sequence Diagrams.
Requirements To Design In This Iteration
System Sequence Diagrams
Systems Analysis and Design in a Changing World, 6th Edition
Superior University, Lahore
Communication Diagrams
Unified Modelling Language
Chapter 9: Sequence Diagrams Chapter 5 in Software Engineering Book
Week 5.
Chapter 9: Sequence Diagrams Chapter 5 in Software Engineering Book
Chapter 16 Class Diagrams.
Week 5.
UML Interaction Diagrams
Presentation transcript:

Interaction Diagrams A Lot of UML! Chapter 15 Interaction Diagrams A Lot of UML!

Sequence Communication Explicit flow is shown Space efficient Interaction Diagrams Sequence Explicit flow is shown Communication Space efficient Easier modification

Fig. 15.1 Sequence Diagram

Fig. 15.2 Communication Diagram

Fig. 15.3 Make payment

Fig. 15.4 Make payment

Fig. 15.5 Lifelines

Fig. 15.6 Singleton

Fig. 15.7 Messages

Fig. 15.8 Replies

Fig. 15.9 Messages to this

Fig. 15.10 Instance Creation

Fig. 15.11 Destruction

Fig. 15.12 Frames

Region - critical regions Frames Alt - alternatives Loop Opt - optional Par - parallel Region - critical regions

Fig. 15.13 Conditional

Fig. 15.14 Conditionals in 1.1

Fig. 15.15 Mutual Exclusion

Fig. 15.16 Iteration over Collection

Fig. 15.17 Impliicit iteration

Fig. 15.18 Nesting

Fig. 15.19 sd and ref

Fig. 15.20 Static methods

Fig. 15.21 Polymorphic

Fig. 15.22 Async Calls

End of sequence diagrams Reminder - Summary End of sequence diagrams Reminder - lots of notation, but don’t become bound by the diagrams Use the things that help with understanding