Requirements To Design In This Iteration

Slides:



Advertisements
Similar presentations
Object-Oriented Analysis and Design CHAPTERS 15: UML INTERACTION DIAGRAMS 1.
Advertisements

Interaction Diagram Notation From Chapter 15 of Craig Larman, Applying UML and Patterns John Dalesandro.
Lecture 5 …a bit more about UML Sequence diagrams Collaboration diagrams State-chart diagrams CRC cards.
Lecture 5a: Sequence Interaction Diagrams CSE 111 Copyright W. Howden1.
1 © Wolfgang Pelz UML2 UML Part Two. 2 © Wolfgang Pelz UML2 Chapters Four & Twelve Interaction Diagrams.
Objectives Explain the purpose and objectives of object- oriented design Develop design class diagrams Develop interaction diagrams based on the principles.
SE-565 Software System Requirements More UML Diagrams.
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.
Object-Oriented Design. From Analysis to Design Analysis Artifacts –Essential use cases What are the problem domain processes? –Conceptual Model What.
The Design Discipline.
UML Collaboration Diagram. Recap System Sequence Diagrams (SSD) UML for SSD Examples.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 8: Modelling Interactions and Behaviour.
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 On to Object Design Chapter 14 Applying UML and Patterns.
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
BTS430 Systems Analysis and Design using UML Interaction 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.
Chapter 16 Applying UML and Patterns Craig Larman
Collaboration Diagrams CSIS3600. What is a Collaboration Diagram Collaboration diagrams illustrate interactions between objects The collaboration diagram.
NJIT UML Class Diagrams Chapter 16 Applying UML and Patterns Craig Larman.
What to remember from Chap 13 (Logical architecture)
Discovering object interaction. Use case realisation The USE CASE diagram presents an outside view of the system. The functionality of the use case is.
Course Instructor: Kashif Ihsan 1. Chapter # 3 2.
Drawing System Sequence Diagrams
Interaction Diagram Notation
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.
COMP-350 Object-Oriented Analysis and Design Drawing System Sequence Diagrams Reference: Larman, Chapter 9.
UNIFIED MODELING LANGUAGE(UML) BY Touseef Tahir Lecturer CS COMSATS Institute of Information Technology, Lahore.
Collaboration diagrams. Purpose A collaboration diagram is an alternate way to show a scenario. A collaboration diagram shows the objects and relationships.
INFO 620Lecture #71 Information Systems Analysis and Design Design Class Diagrams and others INFO 620 Glenn Booker.
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 Object Oriented Analysis System modeling = Functional modeling + Object modeling + Dynamic modeling Functional modeling = Use cases Object modeling =class.
Design Model: Determining Visibility CH-18. Objectives Identify four kinds of visibility. Design to establish visibility. Illustrate kinds of visibility.
Elaboration popo.
Introduction to UML.
Appendix 3 Object-Oriented Analysis and Design
Collaboration Diagrams
Evolution of UML.
UML Interaction Diagrams
Object-Oriented Analysis and Design
GRASP: Visibility and Design
Sequence Diagrams Mimi Opkins CECS 493 Fall2016
Sequence Diagrams.
Chapter 11: Collaboration Diagram - PART1
Unified Modeling Language
Sequence and Collaboration Diagrams
Communication DIAGRAM
Sequence Diagrams.
UML dynamic Modeling (Behavior Diagram)
The Object Oriented Approach to Design
Sequence Diagrams.
System Sequence Diagrams
GRASP (General Responsibility Assignment Software Patterns)
Sequence Diagrams.
Interaction diagrams.
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.
UML Interaction diagrams
Communication DIAGRAM
CONTENTS Object-Oriented Modeling Using UML
Sequence Diagrams.
Chapter 9: Sequence Diagrams Chapter 5 in Software Engineering Book
UML Interaction Diagrams
Presentation transcript:

Requirements To Design In This Iteration popo

Requirements To Design In This Iteration 10% of the requirements were investigated in inception, and Deeper investigation was started in this first iteration of elaboration. popo

Requirements To Design In This Iteration During object design, a logical solution based on the object-oriented technique is developed. This can be done by the creation of interaction diagrams which illustrate how objects collaborate to fulfill the requirements. popo

Requirements To Design In This Iteration Then class diagrams can be drawn. Which illustrate the definition of the software classes(and interfaces) that are to be implemented in software. popo

Interaction Diagram Notation The UML includes interaction diagrams to illustrate how objects interact via messages. popo

Interaction Diagram Notation Sequence and Collaboration Diagrams Both are used to express similar message interactions: They are Collaboration diagrams Sequence diagrams popo

Interaction Diagram Notation Sequence and Collaboration Diagrams Collaboration diagrams illustrate object interactions in a graph or network Here objects can be placed anywhere on the diagram popo

Interaction Diagram Notation Sequence and Collaboration Diagrams Example popo

Interaction Diagram Notation Sequence and Collaboration Diagrams Sequence diagrams Clearly illustrate the sequence of messages. popo

Interaction Diagram Notation Sequence and Collaboration Diagrams   Sequence Collaboration Strengths Clearly Shows Sequences or Time Ordering of Message Simple Notation Economically Flexible to add new object Better to illustrate complex branching, iterations, and branching Weakness Force to extend to the right when adding new objects Take horizontal Space Difficult to see sequence of message More Complex Notations Difference popo

Interaction Diagram Notation Sequence and Collaboration Diagrams Example Collaboration Diagram: makePayment in POS popo

Interaction Diagram Notation Sequence and Collaboration Diagrams The above collaboration diagram read as follows: 1. The message makePayment is sent to an instance of a Register. The sender is not identified. 2. The Register instance sends the makePayment message to a Sale instance. 3. The Sale instance creates an instance of a Payment. popo

Interaction Diagram Notation Sequence and Collaboration Diagrams Example Sequence Diagram: makePayment popo

Interaction Diagram Notation Classes and Instances For any kind of UML element (class, actor, ...), an instance uses the same graphic symbol but diff is . Instance :- underlined popo

Interaction Diagram Notation Basic Collaboration Diagram Notation A link is a connection path between two objects It indicates some form of navigation and visibility between the objects is possible. More formally, a link is an instance of an association. popo

Interaction Diagram Notation Basic Collaboration Diagram Notation A link For example, there is a link--or path of navigation, from a Register to a Sale, along which messages may flow, such as the makePayment message. Multiple messages, and messages both ways, can flow along the same single link. popo

Interaction Diagram Notation Basic Collaboration Diagram Notation Messages Each message between objects is represented with a message expression Small arrow indicating the direction of the message. popo

Interaction Diagram Notation Basic Collaboration Diagram Notation Messages Many messages may flow along a link. A sequence number is added to show the sequential order of messages in the current thread of control. popo

Interaction Diagram Notation Basic Collaboration Diagram Notation Messages to “self” or “this” A message can be sent from an object to itself This is illustrated by a link to itself, with messages flowing along the link. popo

Interaction Diagram Notation Basic Collaboration Diagram Notation Creation of Instances Any message can be create by UML to use a message named create. like so: «create». The create message may include parameters, indicating the passing of initial values. This indicates, for example, a constructor call with parameters in Java. popo

Interaction Diagram Notation Basic Collaboration Diagram Notation Creation of Instances UML property {new} may optionally be added to the instance box to highlight the creation popo

Interaction Diagram Notation Basic Collaboration Diagram Notation Message Number Sequencing The order of messages is illustrated with sequence numbers The numbering scheme is: 1. The first message is not numbered. Thus,msg1() is unnumbered. 2. The order and nesting of subsequent messages is shown with a legal numbering scheme in which nested messages have a number appended to them. Nesting is denoted by prepending the incoming message number to the out going message number. popo

Interaction Diagram Notation Basic Sequence Diagram Notation Links sequence diagrams do not show links. Messages Each message between objects is represented with a message expression on an arrowed line between the objects The time ordering is organized from top to bottom. popo

Interaction Diagram Notation Basic Sequence Diagram Notation Messages to “self” or “this” A message can be illustrated as being sent from an object to itself by using a nested activation box popo