Instructor: Dr. Hany H. Ammar

Slides:



Advertisements
Similar presentations
Requirements Elicitation and Use Case Diagrams
Advertisements

© 2006 ITT Educational Services Inc. SE350 System Analysis for Software Engineers: Unit 9 Slide 1 Appendix 3 Object-Oriented Analysis and Design.
Systems Analysis and Design in a Changing World, Fourth Edition
L4-1-S1 UML Overview © M.E. Fayad SJSU -- CmpE Software Architectures Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
Introduction to UML Part 2 Behavioral Modeling. Sequence (event) diagram Describes object interaction Typically captures behavior of a single use case.
1 CS 425 Software Engineering Project Preparation Use Case Modeling [Based on Chapters 3 & 4, Arlow and Neustadt, “UML and the Unified Process,” Addison-Wesley,
1 UML Component and Deployment Diagrams. Models, Views, and Diagrams Use Case Diagrams Use Case Diagrams Use Case Diagrams Scenario Diagrams Scenario.
Software Engineering I Object-Oriented Design
Introduction to Software Engineering Dr. Basem Alkazemi
UML Diagrams: Sequence Diagrams The Requirements Model, and The Dynamic Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical.
Chapter 7: The Object-Oriented Approach to Requirements
1 Introduction to UML DIAGRAMS & CLASS DIAGRAM Chapter 7,8 主講人 : 許勝杰
UML Diagrams: Sequence Diagrams The Requirements Model, and The Dynamic Analysis Model Prof. Hany H. Ammar, CSEE, WVU, and Dept. of Computer Science, Faculty.
CS3773 Software Engineering
Class, Sequence and UML Model.  Has actors and use cases.
Software Design The Dynamic Model Design Sequence Diagrams and Communication Diagrams Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical.
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
Requirements Modeling and Use Case Diagrams Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
UML Diagrams: Class Diagrams The Static Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
SOFTWARE DESIGN (SWD) Instructor: Dr. Hany H. Ammar
UML Diagrams: Sequence Diagrams The Requirements Model, and The Dynamic Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical.
Copyright 2002 Prentice-Hall, Inc. Chapter 2 Object-Oriented Analysis and Design Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey.
UML diagrams What is UML UML diagrams –Static modeoing –Dynamic modeling 1.
Unified Modeling Language* Keng Siau University of Nebraska-Lincoln *Adapted from “Software Architecture and the UML” by Grady Booch.
The Static Analysis Model Class Diagrams Prof. Hany H. Ammar, CSEE, WVU, and Dept. of Computer Science, Faculty of Computers and Information, Cairo University.
L6-S1 UML Overview 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College.
Introduction to OOAD and the UML
CIM LAB MEETING Presentation on UML Rakesh Mopidevi Kwangyeol Ryu.
Week 04 Object Oriented Analysis and Designing. What is a model? A model is quicker and easier to build A model can be used in simulations, to learn more.
DESIGN OF SOFTWARE ARCHITECTURE
UML Diagrams: Use Case Diagrams Prof. Hany Ammar, CSEE Dept., WVU.
Requirements Modeling and Use Case Diagrams
CS212: Object Oriented Analysis and Design Lecture 33: Class and Sequence Diagram.
UML (Unified Modeling Language)
Prof. Hany H. Ammar, CSEE, WVU, and
21/1/ Analysis - Model of real-world situation - What ? System Design - Overall architecture (sub-systems) Object Design - Refinement of Design.
The Dynamic Analysis Model StateCharts Prof. Hany H. Ammar, CSEE, WVU, and Dept. of Computer Science, Faculty of Computers and Information, Cairo University.
7 Systems Analysis – ITEC 3155 The Object Oriented Approach – Use Cases.
Chapter 5 – System Modeling
CompSci 280 S Introduction to Software Development
Introduction to UML.
Systems Analysis and Design in a Changing World, Fourth Edition
Analysis Classes Unit 5.
Software Design Refinement Using Design Patterns
Instructor: Dr. Hany H. Ammar
UML Diagrams: Class Diagrams The Static Analysis Model
UML Diagrams By Daniel Damaris Novarianto S..
Chapter 5 – System Modeling
Department of Computer Science
UML Modeling Sequence diagram
Systems Analysis and Design With UML 2
Unified Modeling Language
UML Diagrams Jung Woo.
Business System Development
Dynamic Modeling: Defining Classes
Unified Modeling Language
UML Diagrams: Sequence Diagrams Dynamic Analysis Model
Chapter 20 Object-Oriented Analysis and Design
CIS 375 Bruce R. Maxim UM-Dearborn
Appendix A Object-Oriented Analysis and Design
Software Design Lecture : 15.
SOFTWARE DESIGN (SWD) Instructor: Dr. Hany H. Ammar
CS 420/620 HCI Use Case Modeling Project Preparation
CS 425 Software Engineering
CS 425/625 Software Engineering
UML Diagrams: StateCharts The Dynamic Analysis Model
Appendix A Object-Oriented Analysis and Design
Appendix 3 Object-Oriented Analysis and Design
Uml diagrams In ooad.
Introduction to OOAD and the UML
Presentation transcript:

UML Diagrams: Sequence Diagrams The Requirements Model, and The Dynamic Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU

Outline Review of previous Lecture The Requirements Model and the Analysis model Importance of Sequence Diagrams Rules of sequence diagrams Use Cases and Sequence Diagrams The System Sequence Diagrams The Sound Recorder Example The E-Commerce Example Other Examples

Review of Previous lecture Review of development phases and UML Development - Overview Introduction and importance of Use Case Diagrams Use Case Diagram Rules Examples of Use Case diagrams Requirements Elicitation Process Identify Actors Identify Scenarios Identify Use Cases Refine Use Cases Identify Relationships between actors and Use Cases Identify Initial Analysis Objects Identify Non-functional requirements

Requirements, Use cases, and Scenarios

UML Development - Overview ACTORS USE CASES REQUIREMENTS ELICITATION Time SCENARIOS D Requirements Engineering System/Object SEQUENCE DIAG. A T A ANALYSIS CLASS DIAGRAM(S) ANALYSIS Specify Domain Objects StateChart DIAGRAMs D I OPERATION CONTRACTS C T Architectural Design Include Design Objects I SUBSYSTEM CLASS/ OR COMPONENT DIAGRAMS DESIGN SEQUENCE DIAG. DEPLOYMENT DIAGRAM O N DESIGN DIAGRAMS A Detailed DESIGN R Y Object Design IMPLEMENTATION CHOICES IMPLEMENTATION Activity DIAGRAMS IMPLEMENTATION PROGRAM

Where are we in the Requirements Engineering ? Requirements Engineering focus: elicitation and analysis

The Requirements Model and the Analysis Model Elicitation Process Functional/ Nonfunctional Requirements Use Case Diagrams/ Sequence Diagrams (the system level) The Object-Oriented Analysis Process Static Analysis Dynamic Analysis - Class Diagrams - State Diagrams/ Refined Sequence Diagrams (The object level)

Outline The Requirements Model and the Analysis model Introduction to Requirements Engineering Importance of Sequence Diagrams Rules of sequence diagrams Use Cases and Sequence Diagrams The System Sequence Diagrams The Sound Recorder Example The E-Commerce Example Other Examples

Importance of Sequence Diagrams Depict object interactions in a given scenario identified for a given Use Case Specify the messages passed between objects using horizontal arrows including messages to/from external actors Time increases from Top to bottom

Rules of Sequence Diagrams Sequence Initiation

Rules of Sequence Diagrams Identify objects needed to support use cases, determine sequence of internal events following the external initiating event Diagrams that are not initiated with an external actor represent only a partial sequence Partial sequence diagrams should clearly identify the actor initiated sequence diagrams from which they are launched

Example of Sequence Diagrams Notation

Rules of Sequence Diagrams Messages specified on interactions can be synchronous or asynchronous Synchronous call

Rules of Sequence Diagrams Asynchronous call

Rules of Sequence Diagrams Display operation names on call arrows

Rules of Sequence Diagrams  Compound and Simple Iteration

Numbering the Sequence of Interactions

‘included’ sequence diagrams

Showing alternate behavior in a sequence diagram

Showing Extension Point

Rules of Sequence Diagrams Showing alternate behavior in a sequence diagram

Communication/Collaboration Diagrams They Specify similar information of interactions without the time axis

Specifying Timing Requirements

Specifying Timing Requirements

Specifying Timing Requirements (Data rates in notes)

Specifying Timing Requirements: on interactions

Specifying Timing Requirements (ave and max)

Specifying Timing Requirements: (Timeout events)

Outline The Requirements Model and the Analysis model Introduction to Requirements Engineering Importance of Sequence Diagrams Rules of sequence diagrams Use Cases and Sequence Diagrams The System Sequence Diagrams The Sound Recorder Example The E-Commerce Example Other Examples

Recall Requirements Elicitation Process The process of requirements elicitation consists of the following steps Identify Actors Identify Scenarios Identify Use Cases Refine Use Cases Identify Relationships between actors and Use Cases Identify Initial Analysis Objects Identify Non-functional requirements

Requirements Elicitation Process Step 4. Refining Use Cases System Sequence Diagrams System sequence diagrams establish the dynamic behavior in terms of key scenarios of the system for each use case The system sequence diagram models a scenario of the system interactions with the environment for a given use case Input/output events are clearly identified in each sequence diagram, The State of the system before and after each event are also depicted Different diagrams model scenarios with the normal flow of events and the abnormal flow of events

Sequence Diagrams and Use Cases System Sequence Diagram The use case diagram Of system S The sequence diagram of use case UC1 for system S

UML Use Case Diagrams: The Requirements Model Study

UML Use Case Diagrams: The Requirements Model- System Seq. Diags UML Use Case Diagrams: The Requirements Model- System Seq. Diags. Digital Sound Recorder Case Study A sequence diagram displays object interactions arranged in a time sequence capturing a specific scenario of interactions in a use case supported by the system System Sequence Diagram for Play Massage Scenario: Normal Flow Time

Sys. Seq. Diagram for Alarm sounding while playing Massage Scenario

Sys. Seq. Diag. for Alarm while stand-by followed by No-power event.

The ATM Example

This is for the Banking Service Subsystem

Example: Use Case Diagram of the E-Commerce System

Place Requisition Scenario

Confirm Delivery Scenario

Send Invoice Scenario

Confirm Shipment Scenario

Another Example: Pace Maker Use-Case model

Pace Maker Sys. Seq. Diag

Seq. Diag. at the object level (The Analysis Model)

A Simple Example of Using UML2 EXAMPLE: SATELLITE CONTROL SYSTEM

Example of Software Architecture Using UML2 SATELLITE CONTROL SYSTEM Architecture

A Simple Example Using UML2 SATELLITE CONTROL SYSTEM Architectural behavior