Summary Class responsibility cards can be used to help allocate responsibilities between different classes. The use of stereotype classes, such as entity,

Slides:



Advertisements
Similar presentations
System Sequence Diagrams
Advertisements

Interaction Diagram Notation From Chapter 15 of Craig Larman, Applying UML and Patterns John Dalesandro.
UML (Sequence Diagrams, Collaboration and State Chart Diagrams) Presentation By - SANDEEP REDDY CHEEDEPUDI (Student No: ) - VISHNU CHANDRADAS (Student.
© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 1 Appendix 3 Object-Oriented Analysis and Design.
OOAD Using the UML - Use-Case Analysis, v 4.2 Copyright  Rational Software, all rights reserved 1/18 Use Case Analysis – continued Control Classes.
Assess A Claim Object Interaction Diagrams. Object sequence Diagrams - Use case Sequence of events that occur during one particular execution of a system.
Software Engineering COMP 201
Systems Analysis and Design in a Changing World, Fourth Edition
Practical Object-Oriented Design with UML 2e Slide 1/1 ©The McGraw-Hill Companies, 2004 PRACTICAL OBJECT-ORIENTED DESIGN WITH UML 2e Chapter 5: Restaurant.
THE OBJECT-ORIENTED DESIGN WORKFLOW UML2 Sequence Diagrams.
7M822 UML Sequence Diagrams 2 December 2010.
1 © Wolfgang Pelz UML2 UML Part Two. 2 © Wolfgang Pelz UML2 Chapters Four & Twelve Interaction Diagrams.
Essentials of interaction diagrams Lecture 23 & 24.
Essentials of interaction diagrams Lecture Outline Collaborations Interaction on collaboration diagrams Sequence diagrams Messages from an object.
03/12/2001 © Bennett, McRobb and Farmer Object Interaction Based on Chapter 9 of Bennett, McRobb and Farmer: Object Oriented Systems Analysis and.
Object Collaborations. Objectives: Object Interaction (cont.) You will be able to:  Use sequence diagrams to detail object interactions.
Requirements Analysis 2 What objects collaborate to achieve the goal of a use case?
Lab 6 CPIT 250 System Analysis and Design.
Objectives Explain the purpose and objectives of object- oriented design Develop design class diagrams Develop interaction diagrams based on the principles.
System Analysis and Design
7M822 UML Interaction Diagrams 25 November 2010.
Use Case Analysis – continued
Slide 1 Chapter 8 Behavioral Modeling. Slide 2 Key Ideas Behavioral models describe the internal dynamic aspects of an information system that supports.
7M822 UML Sequence Diagrams 5 October 2009.
UML. Overview of UML Diagrams Structural : element of spec. irrespective of time Class Component Deployment Object Composite structure Package Behavioral.
Object-Oriented Analysis and Design
1 CIS224 Software Projects: Software Engineering and Research Methods Lecture 5a CRC Cards & Sequence Diagrams (Based on Stevens and Pooley (2006, Section.
Sequence Diagram Tutorial
CS3773 Software Engineering
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 8: Modelling Interactions and Behaviour.
Introduction to Interaction Diagrams Used to illustrate the dynamic behaviour of a community of objects that collaborate by passing messages in order to.
High-Level Design With Sequence Diagrams COMP314 (based on original slides by Mark Hall)
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 25. Review Design Level Class Diagram Identifying classes/Operations/Attributes Associations – Simple associations.
1 On to Object Design Chapter 14 Applying UML and Patterns.
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.
Systems Analysis and Design in a Changing World, 3rd Edition
Behavioral Modeling Chapter 8.
7 Systems Analysis and Design in a Changing World, Fifth Edition.
1 UML Sequence Diagrams UML Distilled, Third Edition, Chapter 4 M. Fowler.
Use Cases, Part I Understanding the Business Dynamics  Understand the business workflow  Identify system support points the system 'use cases'
Discovering object interaction. Use case realisation The USE CASE diagram presents an outside view of the system. The functionality of the use case is.
Drawing System Sequence Diagrams
Interaction Diagrams Interaction Diagrams allow the designer to show how groups of objects collaborate in some behavior. –Interaction Diagrams will show.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 8: Modelling Interactions and Behaviour UML Sequence Diagram.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Object-Oriented Systems Analysis and Design Using UML Systems Analysis and Design,
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.
 The Sequence Diagram models the collaboration of objects based on a time sequence.  It shows how the objects interact with others in a particular scenario.
OOAD Using the UML - Use-Case Analysis, v 4.2 Copyright  Rational Software, all rights reserved 1 Use Case Analysis – continued Control Classes.
1 Kyung Hee University Interaction Diagrams Spring 2001.
More on UML 1. 1.Use-case diagram 2.Class diagram [Object diagram] (static) 1.1 Domain/analysis model – of reality 1.2 Design model – of decisions 3.
George Wang, Ph.D. COMP 380/L Lesson 2. Use Case Use cases are a way to capture system functionalities (i.e., functional requirements) Based on use case.
Sequence diagrams Lecture 5. Main terms  Interaction  Life line  Activation  Executable behavior and derived behavior  Messages  Trajectory  Frame.
Analysis Classes Unit 5.
Welcome to M301 P2 Software Systems & their Development
WXGC6102: Object-Oriented Techniques
Sequence Diagrams.
Object-Oriented Systems Analysis and Design Using UML
Sequence Diagram.
Object-Orientated Analysis, Design and Programming
Sequence Diagrams.
Object Oriented Analysis and Design
IMAT5205 Systems Analysis and Design
Unified Modelling Language
Chapter 9: Sequence Diagrams Chapter 5 in Software Engineering Book
Interaction diagrams Interaction diagrams are models that describe how groups of objects collaborate in some behavior. Typically, an interaction diagram.
Structure Charts Agenda: What are Structure Charts
Systems Analysis and Design I
Chapter 9: Sequence Diagrams Chapter 5 in Software Engineering Book
Presentation transcript:

Summary Class responsibility cards can be used to help allocate responsibilities between different classes. The use of stereotype classes, such as entity, boundary and control classes also help achieve this. Robustness/communication diagrams show the different classes which collaborate to achieve the goal of each use case. The aim is for each class to have appropriate responsibilities, and a class that is relatively small, clearly focussed and self-contained is easier to develop, test and maintain and has a much greater potential for reuse than a large class with responsibilities or functionality that are not clearly focussed. Such classes help produce a system that is more resilient to changes in its requirements, as change will be localised.

Object Interaction Sequence diagrams

Aim to determine the most best way to send messages between objects in order to support a particular user requirement.

Sequence diagrams show the interactions between objects in the sequential order that those interactions occur. Like communication diagrams, they show message passing between objects and actors, but time sequence is shown and they are a bit more detailed. They are most commonly used to describe one use case (but can also be drawn at different levels of detail)

Basic Points Objects are drawn horizontally and have a dashed line called a lifeline coming down from them. Time proceeds down the page. A message is shown by an arrow from the lifeline of the sending object to the receiving object. The sequence of messages can include loops and branching. They can also refer to other sequence diagrams. Sequence diagrams can also show concurrency and time constraints.

Other Guidelines 1.Know the level you’re working at e.g. use case 2.Identify main elements e.g. using the collaboration diagram 3.Consider alternative scenarios or ways of doing things. 4.Draw the outline structure with a labelled frame and objects 5.Add the lifelines, starting with the lifeline that is first involved. 6.Add the detailed interaction from the first message and so on… 7.Identify any interaction fragments that might be used elsewhere and give these their own sequence diagram. This makes them as reusable as possible. 8.Annotate for clarity 9.Check set of sequence diagrams for consistency and also for consistency with other UML diagrams/models, in particular, class diagrams. 10.As with other UML diagrams it is important to refine the model to get the best solution- i.e one that describes the behaviour unambiguously and clearly.