Chapter 8 Advanced Interaction Modeling

Slides:



Advertisements
Similar presentations
Requirements Diagrams With UML Models
Advertisements

CPSC 333: Foundations of Software EngineeringJ. Denzinger 2.2. Use Cases: Scenario based requirements modeling Recommended: Booch, Rumbaugh, Jacobson:
System Sequence Diagrams
Use Case Model. C-S 5462 Use case model describes what the user expects the system to do –functional requirements may describe only the functionalities.
Systems Analysis and Design 9th Edition
January Ron McFadyen1 Use Cases in the UML Functionality under consideration is represented by use cases (named ellipses) enclosed in a box.
Drawing System Sequence Diagrams
Lecture 12: Chapter 22 Topics: UML (Contd.) –Relationship Structural Behavioral –Diagram Structural Behavioral.
© 2005 Prentice Hall4-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
Functional Requirements – Use Cases Sriram Mohan/Steve Chenoweth (Chapters 14, 21 – Requirements Text) 1.
A use case describes one “case” of how a user can use the system.
NJIT Drawing System Sequence Diagrams Chapter 10 Applying UML and Patterns Craig Larman Presented by Anuradha Dharani.
Functional Requirements – Use Cases Steve Chenoweth & Chandan Rupakheti (Chapters 14, 21 – Requirements Text)  Quiz question 9 relates to this, when you’ve.
Use Case Diagrams. Use Case Use case A view to system seen from outside(user) User’s requirements on system A set of scenario for an actor to achieve.
 What is Interaction Modelling What is Interaction Modelling  Use Case Models Use Case Models Actor Use cases Use Case Diagram Symbols Use case Diagram.
Managing Changing Requirements: Structure the Use Case Model PowerPoint Presentation derived from IBM/Rational course Mastering Requirements Management.
Interaction Modeling. Introduction (1) Third leg of the modeling tripod. It describes interaction within a system. The class model describes the objects.
1 IBM Software Group ® Mastering Requirements Management with Use Cases Module 10: Structure the Use-Case Model.
Key Takeaway Points A use case is a business process; it begins with an actor, ends with the actor, and accomplishes a business task for the actor. Use.
Interaction Modeling Extracted from textbook:
Chapter 5 Models and UML Notation for The Object-Oriented Approach.
UML Use Case Diagramming Guidelines. What is UML? The Unified Modeling Language (UML) is a standard language for specifying, visualizing, constructing,
Drawing System Sequence Diagrams
Use Case Driven Analysis Requirements Use Case Use Case Description System Sequence Diagram Chapter 5.
CSCI-383 Object-Oriented Programming & Design Lecture 10.
Lab 5 CPIT 250 System Analysis and Design.
State Modeling. Events An event is an occurrence at a point in time, such as user depresses left button or.
Systems Analysis and Design 8th Edition
UML - Development Process 1 Software Development Process Using UML.
UML Course Instructor: Rizwana Noor. Overview  Modeling  What is UML?  Why UML?  UML Diagrams  Use Case  Components  Relationships  Notations.
Refining the Use Cases 1. How Use Cases Evolve  Early efforts typically define most of the major use cases.  The refining stages complete the process.
Communication Diagrams Lecture 8. Introduction  Interaction Diagrams are used to model system dynamics  How do objects change state?  How do objects.
Ondřej Přibyl Faculty of Transportation Sciences, CTU DESIGN OF ITS SYSTEMS Project support 1 3 PROJECT SUPPORT Use cases.
© 2012 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S.
1 Team Skill 3 Defining the System Part 1: Use Case Modeling Noureddine Abbadeni Al-Ain University of Science and Technology College of Engineering and.
Engineering Quality Software Week02 J.N.Kotuba1 SYST Engineering Quality Software.
Systems Analysis and Design in a Changing World, Fourth Edition
Business Process and Functional Modeling
Welcome to M301 P2 Software Systems & their Development
Using Use Case Diagrams
Systems Analysis and Design in a Changing World, 6th Edition
Objectives Importance of Requirement Engineering
Design (2).
Use Case Model.
Unified Modeling Language
Use case diagrams A use case diagram is UML’s notation for showing the relationships among a set of use cases and actors A use case diagram can help the.
Subject Name: Object oriented Modeling and Design
Communication DIAGRAM
The Process of Object Modeling
Sequence Diagrams.
Lecture 4: Activity Diagrams
Princess Nourah bint Abdulrahman University
Unified Modeling Language
SAD ::: Spring 2018 Sabbir Muhammad Saleh
Systems Analysis and Design in a Changing World, 6th Edition
Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A. Hoffer
Chapter 9 Use Cases.
Object Oriented Analysis and Design
Object Interaction Diagrams
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Software Construction Lecture 2
Interaction diagrams Interaction diagrams are models that describe how groups of objects collaborate in some behavior. Typically, an interaction diagram.
Software Design Lecture : 15.
Communication DIAGRAM
Use Case Model Use case diagram – Part 2.
Using Use Case Diagrams
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Interaction Modeling Extracted from textbook:
Engineering Quality Software
Software Development Process Using UML Recap
Presentation transcript:

Chapter 8 Advanced Interaction Modeling

Advanced Interaction Modeling Use Case Relationships Procedural sequence Models Special constructs for Activity Models

Use Case Relationship 8.1.1. Include Relationship 8.1.2. Extend Relationship 8.1.3. Generalization 8.1.4. Combination of Use Case Relationships 8.1.5. Guidelines for Use Case Relationships

8.1.1. Include Relationships The include relationship incorporates one use case within the behavior sequence of another use case. Included use case is like a subroutine – it represents behavior that would otherwise have to be described repeatedly. The fragment is a meaningful unit of behavior for the actors, although this is not required. The included use case may or may not usable on its own.

8.1.2. Extend Relationships The Extend adds incremental behavior to a use case. It represents the frequent situation in which some initial capability is defined and later features are added modularity. Include and Extend both add behavior to base Use Case. trade stocks margin trading short sale «extend» limit order trade options

8.1.3. Generalization A parent use case represents a general behavior sequence. Child use cases specialize the parent by inserting additional steps or by refining steps. UML indicates generalization by an arrow with its tail on the child use case and triangular arrowhead on the parent use case, the same notation that is used for classes.

8.1.4 Combinations of Use Case Relationships trade stocks margin trading short sale «extend» limit order trade options make trade trade bonds secure session «include» validate password manage account Customer Securities exchange Stock Brokerage System «extend» «extend»

8.1.5. Guidelines for Use Case Relationships Use Case Generalization Do not use generalization simply to share behavior Use Case Inclusion Think of the included use case meaningful activity but not as an end in itself. Use Case Extension Use the Extend relationship when a system might be deployed in different configurations, some with the additional features and some without them. Include relationship vs. extend relationship.

8.2 Procedural Sequence Models 1) Sequence Diagrams with passive Objects 2) Sequence Diagrams with Transient Objects 3) Guidelines for Procedural Sequence Models

8.2.1 Sequence Diagrams with Passive Objects Sequence Diagram with passive Objects Activation or Focus of control Life Line passive

8.2.2. Sequence Diagram with Transient Objects Destroys the Object Sequence Diagram with Transient Object

8.2.3. Guidelines for Procedural Sequence Models Active vs. passive objects Advanced features Be selective in using these advanced features Only show implementation details for difficult or especially important sequence diagrams

8.3. Special Constructs for Activity Models 8.3.1. Sending and Receiving Signals 8.3.2. Swimlanes 8.3.3. Object Flows

8.3.1. Sending and Receiving Signals Activity diagram with Signals for a Workstation Turned On Convex Pentagon for sending signal Concave Pentagon for receiving signal

Activity diagram with Swimlanes for servicing an airplane Each column is a swimlane. Swimlanes Activity diagram with Swimlanes for servicing an airplane

Activity diagram with Object Flows It is helpful to see the relationships between an operation and the objects that are its argument values or results. Input and output arrow implies a control flow, therefore it is unnecessary to draw a control flow arrow where there is an object. Activity diagram with Object Flows

Thank You Data flow diagrams do not talk about control flow Object flows in Activity diagram unifies data flow and control flow Thank You