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

Slides:



Advertisements
Similar presentations
Requirements Elicitation and Use Case Diagrams
Advertisements

UML Diagrams Jung Woo. What is UML? Standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems, business.
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.
CS3773 Software Engineering Lecture 03 UML Use Cases.
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 SWE Introduction to Software Engineering Lecture 25 – Object-Oriented Design (Chapter 14)
COST G9 - Work group 2 Cadastral science meeting Aalborg, Dk Modeling methodology for real estate transactions Radoš Šumrada Faculty.
Unified Modeling Language (UML) Fawzi Emad Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
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,
Software Engineering I Object-Oriented Design
Introduction to Software Engineering Dr. Basem Alkazemi
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix.
Unified Modeling Language
Object-Oriented Analysis and Design
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
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 Engineering CS B Prof. George Heineman.
CIT UPES | Sept 2013 | Unified Modeling Language - UML.
The Unified Modeling Language Part I Omar Meqdadi SE 2730 Lecture 6 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
Interaction diagrams Sequence and collaboration diagrams.
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix A Object-Oriented.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 20 Object-Oriented.
Unified Modeling Language, Version 2.0
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
Copyright 2002 Prentice-Hall, Inc. Chapter 2 Object-Oriented Analysis and Design Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey.
Modeling Shari L. Pfleeger and Joanne M. Atlee, Software Engineering: Theory and Practice, 4 th edition, Prentice Hall, Hans Van Vliet, Software.
UML diagrams What is UML UML diagrams –Static modeoing –Dynamic modeling 1.
ניתוח מערכות מידע 1 Unified Modeling Language (UML) § § The Unified Modeling Language (UML) is the industry-standard language for: Specifying, Visualizing,
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.
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
DESIGN OF SOFTWARE ARCHITECTURE
1 Unified Modeling Language, Version 2.0 Chapter 2.
Requirements Modeling and Use Case Diagrams
CS212: Object Oriented Analysis and Design Lecture 33: Class and Sequence Diagram.
Lecture 14 22/10/15. The Object-Oriented Analysis and Design  Process of progressively developing representation of a system component (or object) through.
Prof. Hany H. Ammar, CSEE, WVU, and
UML Course Instructor: Rizwana Noor. Overview  Modeling  What is UML?  Why UML?  UML Diagrams  Use Case  Components  Relationships  Notations.
21/1/ Analysis - Model of real-world situation - What ? System Design - Overall architecture (sub-systems) Object Design - Refinement of Design.
Fall 2007 Week 9: UML Overview MSIS 670: Object-Oriented Software Engineering.
Communication Diagrams Lecture 8. Introduction  Interaction Diagrams are used to model system dynamics  How do objects change state?  How do objects.
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.
Unified Modeling Language. What is UML? Standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems,
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 14 Slide 1 Object-Oriented Design.
Software Design Refinement Using Design Patterns
Instructor: Dr. Hany H. Ammar
UML Diagrams: Class Diagrams The Static Analysis Model
Instructor: Dr. Hany H. Ammar
UML Diagrams By Daniel Damaris Novarianto S..
UML Diagrams Jung Woo.
Business System Development
Dynamic Modeling: Defining Classes
Unified Modeling Language
UML Diagrams: Sequence Diagrams Dynamic Analysis Model
UML Diagrams: StateCharts The Dynamic Analysis Model
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 n Review of previous Lecture n The Requirements Model and the Analysis model n Importance of Sequence Diagrams n Rules of sequence diagrams n Use Cases and Sequence Diagrams n The System Sequence Diagrams n The Sound Recorder Example n The E-Commerce Example n Other Examples

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

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

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

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

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

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

Rules of Sequence Diagrams n Sequence Initiation

Rules of Sequence Diagrams Identify objects needed to support use cases, determine sequence of internal events following the external initiating event n Diagrams that are not initiated with an external actor represent only a partial sequence n 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 n Messages specified on interactions can be synchronous or asynchronous Synchronous call

Rules of Sequence Diagrams Asynchronous call

Rules of Sequence Diagrams n Display operation names on call arrows

Rules of Sequence Diagrams Compound and Simple Iteration

‘included’ sequence diagrams

Showing alternate behavior in a sequence diagram

Rules of Sequence Diagrams Showing alternate behavior in a sequence diagram

Showing Extension Point

Specifying Timing Requirements

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

Recall Requirements Elicitation Process n The process of requirements elicitation consists of the following steps 1. Identify Actors 2. Identify Scenarios 3. Identify Use Cases 4. Refine Use Cases 5. Identify Relationships between actors and Use Cases 6. Identify Initial Analysis Objects 7. Identify Non-functional requirements

Requirements Elicitation Process Step 4. Refining Use Cases System Sequence Diagrams n System sequence diagrams establish the dynamic behavior in terms of key scenarios of the system for each use case n The system sequence diagram models a scenario of the system interactions with the environment for a given use case n Input/output events are clearly identified in each sequence diagram, n The State of the system before and after each event are also depicted n 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 sequence diagram of use case UC1 for system S The use case diagram Of system S

UML Use Case Diagrams: The Requirements Model Case Study

UML Use Case Diagrams: The Requirements Model Digital Sound Recorder Case Study n 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 Time

Example: Use Case Diagram of E-Commerce Example

Place Requistion

A Simple Example of Using UML2 n EXAMPLE: SATELLITE CONTROL SYSTEM

Example of Software Architecture Using UML2 n SATELLITE CONTROL SYSTEM Architecture

A Simple Example Using UML2 n SATELLITE CONTROL SYSTEM Architectural behavior