 What is Interaction Modelling What is Interaction Modelling  Use Case Models Use Case Models Actor Use cases Use Case Diagram Symbols Use case Diagram.

Slides:



Advertisements
Similar presentations
Use Case Diagrams.
Advertisements

System Sequence Diagrams
Karolina Muszyńska Based on:
UML (Sequence Diagrams, Collaboration and State Chart Diagrams) Presentation By - SANDEEP REDDY CHEEDEPUDI (Student No: ) - VISHNU CHANDRADAS (Student.
OOAD Using the UML - Use-Case Analysis, v 4.2 Copyright  Rational Software, all rights reserved 1/18 Use Case Analysis – continued Control Classes.
Tutorial 2. What is a UML Use Case Diagram? Use case diagrams model the functionality of a system using actors and use cases. Use cases are services or.
CT1404 Lecture 2 Requirement Engineering and Use Cases 1.
Chapter 18 Object-Oriented Systems Analysis and Design Using UML
Systems Analysis and Design in a Changing World, Fourth Edition
Summary Class responsibility cards can be used to help allocate responsibilities between different classes. The use of stereotype classes, such as entity,
Use Case Modelling.
Introduction to the Sequence Diagrams with stereotypes Department of Information Systems and Computation (DSIC) Valencia Polytechnic University.
Interaction Models. Interaction Definition An interaction is a behavior that comprises a set of messages exchanged among a set of objects within a context.
Object Interaction Models - Review The use case and its scenarios serve as a vehicle for organizing the object interactions that take place. Each scenario.
UML Sequence Diagrams Eileen Kraemer CSE 335 Michigan State University.
Use Case Modeling.
Unified Modeling Language 7/12/2015B.Ramamurthy1 The Unified Modeling Language™ (UML) was developed jointly by Grady Booch, Ivar Jacobson, and Jim Rumbaugh.
Use Case Diagram.
Use Case Modeling. Use case diagram For each use case we develop  Object class diagram (with attributes only)  System sequence diagram (analysis) 
IS0514 Lecture Week 3 Use Case Modelling.
Chapter 7: The Object-Oriented Approach to Requirements
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.
Chapter 5 – System Modeling
Managing Changing Requirements: Structure the Use Case Model PowerPoint Presentation derived from IBM/Rational course Mastering Requirements Management.
Intro: Use Case and Use Case Diagram Documentation.
Interaction Modeling Interaction model describes how objects interact to produce useful results. Interactions can be modeled at different levels of abstraction:
Interaction Modeling. Overview The class model describes the objects in a system and their relationships, the state model describes the life cycles of.
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.
Use Cases 7/09. lnot part of the system lrepresents roles a user can play lrepresents a human, a machine or another system lactively exchanges information.
Copyright 2002 Prentice-Hall, Inc. Chapter 2 Object-Oriented Analysis and Design Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey.
Interaction Modeling Extracted from textbook:
Systems Analysis and Design in a Changing World, 3rd Edition
Faculty of Computer & Information
UML Use Case Diagramming Guidelines. What is UML? The Unified Modeling Language (UML) is a standard language for specifying, visualizing, constructing,
7 Systems Analysis and Design in a Changing World, Fifth Edition.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Slide 1 Use Case Diagrams.
1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.
Discovering object interaction. Use case realisation The USE CASE diagram presents an outside view of the system. The functionality of the use case is.
Drawing System Sequence Diagrams
Sequence Models.
Use Cases Use Cases are employed to describe the functionality or behavior of a system. Each use case describes a different capability that the system.
CIS 112 Exam Review. Exam Content 100 questions valued at 1 point each 100 questions valued at 1 point each 100 points total 100 points total 10 each.
1 Modeling System Requirements with Use Cases. 2 Why Do We Need Use Cases? Primary challenge in a system design process –ability to elicit correct and.
State Modeling. Events An event is an occurrence at a point in time, such as user depresses left button or.
Scenario A scenario is a sequence of steps describing an interaction between a user and a system. Use case is a set of scenarios tied together by a common.
Chapter 5 System Modeling. What is System modeling? System modeling is the process of developing abstract models of a system, with each model presenting.
Lecture 14 22/10/15. The Object-Oriented Analysis and Design  Process of progressively developing representation of a system component (or object) through.
Chapter 5 System Modeling (1/2) Yonsei University 2 nd Semester, 2015 Sanghyun Park.
Chapter 3: Introducing the UML
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.
 What to do if you want to build a new house? › Buy a bunch of wood and nails and start immediately. › Or, put some blueprints to follow, and plan of.
Chapter 6: Structuring Requirements: Use Case Description and Diagrams Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Communication Diagrams Lecture 8. Introduction  Interaction Diagrams are used to model system dynamics  How do objects change state?  How do objects.
Appendix Object-Oriented Analysis and Design: Use Cases and Sequence Diagrams Modern Systems Analysis and Design Fifth Edition Jeffrey A. Hoffer Joey F.
1 7 Systems Analysis and Design in a Changing World, 2 nd Edition, Satzinger, Jackson, & Burd Chapter 7 The Object-Oriented Approach to Requirements.
Chapter 3: Software Design –Use case Diagram Nouf Alghanmi.
Chapter 4 – System Modeling Lecture 1 1Chapter 5 System modeling.
Systems Analysis and Design in a Changing World, Fourth Edition
Chapter 8 Advanced Interaction Modeling
Object-Oriented Analysis and Design
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
Object Oriented Analysis and Design
Use Cases & Use Case Diagrams
Software Design Lecture : 15.
Software Engineering System Modeling Chapter 5 (Part 1) Dr.Doaa Sami
Interaction Modeling Extracted from textbook:
Presentation transcript:

 What is Interaction Modelling What is Interaction Modelling  Use Case Models Use Case Models Actor Use cases Use Case Diagram Symbols Use case Diagram Use Case Realtionship Guidelines for Use case Models

 The Interaction model is the third leg of the modeling tripod and describe interactions with in a system.  The class model describes the objects in a system and their relationship, the state model describes the life cycles of the objects and the interaction model describes how the objects interact.  Interaction can be modeled at different levels of abstraction.  At a high level, use cases describes how a system interacts with outside actors. Each use case represents a piece of functionality that a system provides to its users  Sequence diagrams provide more detail and show the messages exchanged among a set of objects over time.  And finally, activity diagrams provide more detail and show messages exchanged among a set of objects over time.

Use Case Models Sequence Models Activity Models Interaction Modeling Use Cases Actors Use Case Diagram Guidelines Scenario Sequence Diagram Guidelines Initiation and Termination Branches Activities Concurrent Activities Guidelines Back

 An actor is a direct external user of a system-an object or set of objects that communicates directly with the system but that is not part of the system.  For example-customer and repair technician are different actors of a vending machine.  Actors can be persons, devices and other systems-anything that interacts directly with the system. Back

Buy a beverage: The vending machine delivers a beverage after a customer selects and pay for it Perform scheduled maintenance: A repair technician performs the periodic service on the vending machine necessary to keep it in good working condition. Make repairs: A repair technician performs the unexpected service on the vending machine necessary to repair a problem in its operation. Load items: A stock clerk adds items into the vending machine to replenish its stock of beverages. Figure-Use Case summaries for a vending machine Back  A use case is a coherent piece of functionality that a system can provide by interacting with actors.  For example-a customer actor can buy a beverage from a vending machine. The customer inserts money into the machine, make a selection and ultimately receives a beverage.  A use case involves a sequence of messages among the system and its actors. Use cases

Use Case Actor Boundary Connection Include relationship Extend relationship > Back

 A system involves a set of use cases and a set of actors.  The UML has a graphical notation for summarizing use cases and the below figure show an example. Buy Beverage Perform Scheduled maintenance Make Repairs Load Items Vending Machine Customer Repair Technician Stock Clerk Figure-Use Case Diagram for a vending machine Back Use Case Diagram

 Include Relationship  Extend Relationship

 The include relationship incorporates one use case within the behavior sequence of another use case.  An included use case is like a subroutine-it represents behavior that would otherwise have to be described repeatedly.  The UML notation for an include relationship is a dashed arrow from the source(including) use case to the target(included) use case. The keyword > annotates the arrow.  The following figure shows an example from an online stock brokerage system. Secure Session Make Trade Validate Password > Fig-Use case inclusion

 The extend relationship adds incremental behavior to a use case.  It represents the frequent situation in which some initial capability is defined and later features are added modularly.  The UML notation for an extend relationship is a dashed arrow from the extension use case to the base use case. The keyword > annotates the arrow.  The following figure shows the base use case trade stocks for a stock brokerage system. Trade stocks Short sale Limit order Trade options Margin trading > Fig-Use case extension

Prof. Rajender Nath Another Example of Use Case with include and extend Relationships Back

 Use cases identify the functionality of a system and organize it according to the perspective of users.  The main purpose of a system is almost always found in the use cases, with requirements lists supplying additional implementation constraints. Here are some guidelines for constructing use case models.  First determine the system boundary  Ensure that actors are focused  Each use case must provide value to users  Relate use cases and actors  Remember that use cases are informal  Use cases can be structured Back