L28-S1 Interaction Diagrams 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room.

Slides:



Advertisements
Similar presentations
L3-S1 Practical Solutions 2003 SJSU -- CmpE Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
Advertisements

UML (Sequence Diagrams, Collaboration and State Chart Diagrams) Presentation By - SANDEEP REDDY CHEEDEPUDI (Student No: ) - VISHNU CHANDRADAS (Student.
Fall 2002 SJSU -- CmpE Enterprise & Application Frameworks Dr. M.E. Fayad, Professor Computer Engineering Department – RM# College of Engineering San José.
2008/03/25 Unified Modeling Lanauage 1 Introduction to Unified Modeling Language (UML) – Part One Ku-Yaw Chang Assistant Professor.
L3-1-S1 OO Concepts © M.E. Fayad SJSU -- CMPE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department, Room.
L4-1-S1 UML Overview © M.E. Fayad SJSU -- CmpE Software Architectures Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
L3-5c-S1 Object Diagrams © M.E. Fayad SJSU -- CmpE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department,
© M.E. Fayad SJSU -- CmpE Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering San José.
THE OBJECT-ORIENTED DESIGN WORKFLOW UML2 Sequence Diagrams.
L16-S1 Object Diagrams 2003 SJSU -- CmpE Software Patterns Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
L19-S1 More on Class Diagrams 2003 SJSU -- CmpE Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
 Fayad SJSU – CmpE Software Engineering Management Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
L21-S1 Model-Based Arch SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
1 © Wolfgang Pelz UML2 UML Part Two. 2 © Wolfgang Pelz UML2 Chapters Four & Twelve Interaction Diagrams.
L3-5d-S1 Class Diagrams © M.E. Fayad SJSU -- CmpE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department, Room.
© M.E. Fayad SJSU -- CmpE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
L26-S1 Interactions 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
L06-2-S1 Activity Diagrams 2003 SJSU -- CmpE Software Engineering II Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
© M.E. Fayad SJSU -- CmpE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
P2-S1 MySQL 2003 SJSU -- CmpE-- M.E. Fayad Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
© M.E. Fayad SJSU -- CmpE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
© M.E. Fayad SJSU -- CmpE Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering San José.
L5-S1 Class Diagrams 2003 SJSU -- CmpE Software Patterns Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering San.
L8-S1 CRC Cards 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College.
© M.E. Fayad SJSU -- CmpE Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering San José.
1999 – 2006 M.E. Fayad SJSU -- CmpE Software Engineering Management Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
Sharif University of Technology1 Design and Use-case Realization Software Engineering Laboratory Fall 2006.
© M.E. Fayad SJSU -- CmpE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
L18-S1 Getting Started 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
 Fayad SJSU -- CmpE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering San.
© M.E. Fayad SJSU -- CmpE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
L3-6b-S1 Sequence Diagrams © M.E. Fayad SJSU -- CmpE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department, Room.
L6-1-S1Design Heuristics - 1 © M.E. Fayad SJSU -- CmpE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department,
1 Introduction to UML DIAGRAMS & CLASS DIAGRAM Chapter 7,8 主講人 : 許勝杰
2005/05/25 Unified Modeling Lanauage 1 Introduction to Unified Modeling Language (UML) – Part One Ku-Yaw Chang Assistant Professor.
Interactions. 2 Objects communicate with each other by sending messages. Sending a message is another name for a member function call. –Some C++ examples.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 8: Modelling Interactions and Behaviour.
SJSU – CmpE Fall 2002 Enterprise & Application Frameworks Dr. M.E. Fayad, Professor Computer Engineering Department – RM# College of Engineering San José.
L1-S1Introduction 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College.
1 Interaction diagrams and activity diagrams Speaker: 陳 奕 全 Real-time and Embedded System Lab 15 August 2002.
ניתוח מערכות מידע 1 Unified Modeling Language (UML) § § The Unified Modeling Language (UML) is the industry-standard language for: Specifying, Visualizing,
L4-S1 Modeling Concepts 2003 SJSU -- CMPE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
L6-S1 UML Overview 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College.
UML Diagrams CSC 422 Kutztown University Dr. Daniel Spiegel.
L8-2-S1 Misc Topics © M.E. Fayad SJSU -- CmpE Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of.
Software Engineering Lecture 8 Object-Oriented Analysis.
Collaboration diagrams. Purpose A collaboration diagram is an alternate way to show a scenario. A collaboration diagram shows the objects and relationships.
Fall 2002 SJSU -- CMPE Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department – RM# College of Engineering San José.
L6-S1 MLPQ 2003 SJSU -- CmpE-- M.E. Fayad Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
Communication Diagrams Lecture 8. Introduction  Interaction Diagrams are used to model system dynamics  How do objects change state?  How do objects.
1 Kyung Hee University Interaction Diagrams Spring 2001.
1 7 Systems Analysis and Design in a Changing World, 2 nd Edition, Satzinger, Jackson, & Burd Chapter 7 The Object-Oriented Approach to Requirements.
ITEC1301 Object-Oriented Systems Construction Lecture Notes #4 1.
L1-S1 Infinite R-DB 2003 SJSU -- CmpE Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering San.
Object-Oriented Analysis & Design
Advanced Object-Oriented Analysis & Design
Software Engineering Management
Interactions.
Component-Based & Software Reuse
Software System Engineering
Object-Oriented Analysis & Design
UML Overview Part 2.
Software System Engineering
Software Engineering Management
Interaction diagrams Interaction diagrams are models that describe how groups of objects collaborate in some behavior. Typically, an interaction diagram.
Interaction Diagrams Chapter 18.
Software System Engineering
Database Design Dr. M.E. Fayad, Professor
Software System Engineering
Object-Oriented Analysis & Design
Presentation transcript:

L28-S1 Interaction Diagrams 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering San José State University One Washington Square San José, CA

L28-S2 Interaction Diagrams 2003 SJSU – CmpE --- M.E. Fayad 2 Lesson 28: Interaction Diagrams

L28-S3 Interaction Diagrams 2003 SJSU – CmpE --- M.E. Fayad Lesson Objectives 3 Understand how to create interaction diagrams Learn the syntax of interaction diagrams Explore interaction diagrams’ examples

L28-S4 Interaction Diagrams 2003 SJSU – CmpE --- M.E. Fayad An interaction diagram shows an interaction, consisting of a set of objects and their relationships, including the messages that may be dispatched among them –Sequence diagram –Collaboration diagram 4 Interaction Diagrams (1)

L28-S5 Interaction Diagrams 2003 SJSU – CmpE --- M.E. Fayad A sequence diagram emphasizes the time ordering of messages A collaboration diagram emphasizes the structural organization of the objects that send and receive messages 5 Interaction Diagrams (2)

L28-S6 Interaction Diagrams 2003 SJSU – CmpE --- M.E. Fayad To visualize, specify, construct, and document the dynamics of a particular society of objects To model one particular flow of control of a use case 6 Uses of Interaction Diagrams

L28-S7 Interaction Diagrams 2003 SJSU – CmpE --- M.E. Fayad Objects Links Messages Notes Constraints 7 Contents of Interaction Diagrams

L28-S8 Interaction Diagrams 2003 SJSU – CmpE --- M.E. Fayad Place objects that participate in the interaction as the vertices in a graph Render the links that connect these objects as the arcs of this graph Adorn these links with the messages that objects send and receive 8 Drawing Collaboration Diagrams

L28-S9 Interaction Diagrams 2003 SJSU – CmpE --- M.E. Fayad Use sequence diagrams to model flows of control by time ordering –Do a better job of visualizing simple iteration and branching Use collaboration diagrams to model flows of control by organization –Do a better job of visualizing complex iteration and branching and of visualizing multiple concurrent flows of control 9 Common Uses

L28-S10 Interaction Diagrams 2003 SJSU – CmpE --- M.E. Fayad A collaboration diagram displays object interactions organized around objects and their links to one another 10 Interaction Diagrams (1)

L28-S11 Interaction Diagrams 2003 SJSU – CmpE --- M.E. Fayad Don’t show the lifeline of an object explicitly –Although one can show both create and destroy messages Don’t show the focus of control explicitly –Although each message’s sequence number can indicate nesting 11 Interaction Diagrams (2)

L28-S12 Interaction Diagrams 2003 SJSU – CmpE --- M.E. Fayad Two features that distinguish them from sequence diagrams –Path To indicate how one object is linked to another –Sequence number To indicate the time order of a message 12 Interaction Diagrams (3)

L28-S13 Interaction Diagrams 2003 SJSU – CmpE --- M.E. Fayad 13 Interaction Diagram: Example (1)

L28-S14 Interaction Diagrams 2003 SJSU – CmpE --- M.E. Fayad 14 Interaction Diagram: Example (2)

L28-S15 Interaction Diagrams 2003 SJSU – CmpE --- M.E. Fayad 15 Interaction Diagram: Example (3)

L28-S16 Interaction Diagrams 2003 SJSU – CmpE --- M.E. Fayad T/F a.Use collaboration diagrams to model flows of control by organization b.A collaboration diagram displays object interactions organized around objects and their links to one another 16 Discussion Questions