Instructor: Dr. Hany H. Ammar

Slides:



Advertisements
Similar presentations
Requirements Elicitation and Use Case Diagrams
Advertisements

The System and Software Development Process Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
L4-1-S1 UML Overview © M.E. Fayad SJSU -- CmpE Software Architectures Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
Static model (domain model) Fig Banking case study.
1 SWE Introduction to Software Engineering Lecture 25 – Object-Oriented Design (Chapter 14)
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 14 Slide 1 Object-oriented design 2.
UML and the Software Lifecycle
Software Engineering CSE470: Requirements Analysis 1 Requirements Analysis Defining the WHAT.
Software Engineering I Object-Oriented Design
Software Engineering I Object-Oriented Design Software Design Refinement Using Design Patterns Instructor: Dr. Hany H. Ammar Dept. of Computer Science.
Use Case Analysis – continued
UML Diagrams: Sequence Diagrams The Requirements Model, and The Dynamic Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical.
UML Diagrams: Sequence Diagrams The Requirements Model, and The Dynamic Analysis Model Prof. Hany H. Ammar, CSEE, WVU, and Dept. of Computer Science, Faculty.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Software Engineering CS B Prof. George Heineman.
Page 1 What is the UML? UML stands for Unified Modeling Language The UML combines the best of the best from – Data Modeling concepts (Entity Relationship.
Software Design Refinement Using Design Patterns Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
POAD Distributed System Case Study: A Medical Informatics System Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
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.
Approaching a Problem Where do we start? How do we proceed?
POAD Book: Chapter 8 POAD: Analysis Phase Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Software Engineering Prof. Ing. Ivo Vondrak, CSc. Dept. of Computer Science Technical University of Ostrava
© 2005 Prentice Hall9-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
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.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
The System and Software Development Process Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
ARTIFACT UML Actor A Use Case 1 Use Case 2 Actor B Document FileManager GraphicFile File Repository DocumentList FileList Customer name addr withdraw()
A Student Guide to Object- Oriented Development Chapter 10 Designing objects and classes.
Logical view –show classes and objects Process view –models the executables Implementation view –Files, configuration and versions Deployment view –Physical.
Introduction to OOAD and the UML
CIM LAB MEETING Presentation on UML Rakesh Mopidevi Kwangyeol Ryu.
DESIGN OF SOFTWARE ARCHITECTURE
Requirements Modeling and Use Case Diagrams
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.
Fall 2007 Week 9: UML Overview MSIS 670: Object-Oriented Software Engineering.
The Dynamic Analysis Model StateCharts Prof. Hany H. Ammar, CSEE, WVU, and Dept. of Computer Science, Faculty of Computers and Information, Cairo University.
UML. Model An abstract representation of a system. Types of model 1.Use case model 2.Domain model 3.Analysis object model 4.Implementation model 5.Test.
1 IS 0020 Program Design and Software Tools Unified Modeling Language Lecture 13 November 30, 2004.
Engineering Quality Software Week02 J.N.Kotuba1 SYST Engineering Quality Software.
Design Review.
Analysis Classes Unit 5.
Software Design Refinement Using Design Patterns
UML Diagrams: Class Diagrams The Static Analysis Model
Instructor: Dr. Hany H. Ammar
Case Study -- Weather system
POAD Book: Chapter 8 POAD: Analysis Phase
Instructor: Dr. Hany H. Ammar
UML SEQUENCE AND CLASS DIAGRAMS
Object-Orientated Analysis, Design and Programming
UML: Unified modeling language
Unified Modeling Language
UML Diagrams: Sequence Diagrams Dynamic Analysis Model
Design and Implementation
Software Design Lecture : 15.
Software Design Lecture : 14.
Introduction to Pattern Oriented Analysis and Design (POAD)
Chapter 22 Object-Oriented Systems Analysis and Design and UML
UML Diagrams: StateCharts The Dynamic Analysis Model
Introduction to OOAD and the UML
Software Development Process Using UML Recap
From Use Cases to Implementation
On to Object Design c. 14.
Presentation transcript:

Software Design The Dynamic Model Design Sequence Diagrams and Communication Diagrams Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU

Ouline Examples UML Development – Overview The Requirements, Analysis, and Design Models Static and Dynamic Design Examples

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

The Requirements, Analysis, and Design Models Elicitation Process Use Case Diagrams/ Sequence Diagrams (the system level) Functional/ Nonfunctional Requirements - Analysis Class Diagrams - State Diagrams/ Refined Sequence Diagrams (The object level) Static Analysis Dynamic Analysis The Analysis Process Design Class Diagrams and Components Diagrams Design Sequence Diagrams Comm. or Collab. Diagrams The Design Process Static Architectural Design Dynamic Design

Static and Dynamic Design The Static design class diagram model is developed iteratively using the dynamic model represented in design sequence diagrams or collaboration (also called communication) diagrams Design sequence diagrams show detailed interactions between objects of classes in different subsystems They are defined based on analysis (system) sequence diagrams developed for a given Use- Case scenario defined in the analysis (or the requirements) model

Static and Dynamic Design The development of Design Class Diagrams is completed by defining operations and classes to support the interactions represented in the dynamic model. Operations of classes in the design class diagram are defined using the dynamic interactions in the dynamic model sequence diagrams New classes might be needed in the design class diagram to support the interactions of objects in the sequence diagrams (e.g., Interface classes, proxy classes, scheduler classes etc.)

Class Operations The behavior of a class is represented by its operations Operations may be found by examining interaction diagrams registration form manager 3: add course(joe, math 01) RegistrationManager addCourse(Student,Course)

Design Sequence Diagrams (UML2) Specify operations and states on the timelines Detailed Parameters list can be specified during detailed design

Digital Sound Recorder: A Complete Example

Digital Sound Recorder: A Complete Example, Use Case Diag.

The Sound Recorder Analysis Level Class Diagram

Digital Sound Recorder: A Complete Example: Architecture The Static model, Design Class Diagram: Designing The Subsystems,

Digital Sound Recorder: A Complete Example: Design Class Diag: Class Operations Are defined Using Design Sequence diagrams

Digital Sound Recorder: A Complete Example

Digital Sound Recorder: A Complete Example: The Dynamic model DSD shows the interactions between objects in different subsysts Design Sequence Diagram

Digital Sound Recorder: A Complete Example

Digital Sound Recorder: A Complete Example A Scheduler subsystem is added to provide interrupt Handling for timer interrupts to alert observers for synchronous tasks Uses the observer design pattern (to be discussed later)

Digital Sound Recorder: A Complete Example: The Dynamic model Interactions are shown using a UML collaboration diagram. Timer interrupt update scenario Notice an EventProxy Class is added For posting Events. Uses the Proxy Desgin pattern

Digital Sound Recorder: A Complete Example: The Dynamic model Setting the alarm clock scenario: the controller object of type SettingTimeUserMode is setting the AlarmClock object which is shown by the ClockView object

Digital Sound Recorder: A Complete Example: The Dynamic model

The Banking System Example: Consolidated Collaboration (Communication) Diagrams combines static and dynamic information (Context Subsystem diag.) Labeled interactions between subsystems Obtained by combining Multiple scenarios of Interactions

Labels Interactions between objects in a subsystem

Example: Consolidated Collaboration Diagram of the Elevator Control System