Use Cases. 2 A use case... –Specifies the behavior of a system or some subset of a system. –Is a system-level function. –Does not indicative how the specified.

Slides:



Advertisements
Similar presentations
Use Case Diagrams.
Advertisements

Appendix Object-Oriented Analysis and Design: Use Cases Modern Systems Analysis and Design Fifth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Objectives Detailed Object-Oriented Requirements Definitions
Use Case Diagram © copyright 2001 SNU OOPSLA Lab..
Chapter 18 Object-Oriented Systems Analysis and Design Using UML
Lecture 12: Chapter 22 Topics: UML (Contd.) –Relationship Structural Behavioral –Diagram Structural Behavioral.
Use Case Modeling.
Classes Chapter 4. Terms and Concepts A class is a description of a set of objects that share the same attributes, operations, relationships, and semantics.
1.  Modeling the context of a system  Modeling the requirements of a system 2.
ANALYSIS REQUIREMENT ANALYSIS DESIGN IMPLEMENTATION TEST.
Requirements as Usecases Capturing the REQUIREMENT ANALYSIS DESIGN IMPLEMENTATION TEST.
Chapter 5 Models and UML Notation for The Object-Oriented Approach.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 15 System Modeling with the UML.
UML Use Case Diagramming Guidelines. What is UML? The Unified Modeling Language (UML) is a standard language for specifying, visualizing, constructing,
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Slide 1 Use Case Diagrams.
Unified Modeling Language User Guide Section 4 - Basic Behavioral Modeling Chapter 16 - Use Cases Chapter 17 - Use Case Diagrams.
1 Introduction to Classes. 2 Terms and Concepts A class is... –The most important building block of any object- oriented system. –A description of a set.
Use Cases and Use Case Diagrams Reporter: 陳雅萍. Outline Use cases, actors Organizing use cases Modeling the behavior of an element Use case diagrams Common.
UML Course Instructor: Rizwana Noor. Overview  Modeling  What is UML?  Why UML?  UML Diagrams  Use Case  Components  Relationships  Notations.
1 BTS330 Visual Modeling. What is Visual Modeling? 2 Copyright © 1997 by Rational Software Corporation Computer System Business Process Order Item Ship.
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.
Ondřej Přibyl Faculty of Transportation Sciences, CTU DESIGN OF ITS SYSTEMS Project support 1 3 PROJECT SUPPORT Use cases.
George Wang, Ph.D. COMP 380/L Lesson 2. Use Case Use cases are a way to capture system functionalities (i.e., functional requirements) Based on use case.
Introduction to Rational Rose 2000 v6.5 Copyright © 1999 Rational Software, all rights reserved 1 Introduction to Rational Rose 2000 Create Use Case Model.
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.
Class 11 Outline Business – Qs on artifact model assignment? – Qs on draft project models? Activities – Card Sorting – Use Cases.
Chapter 5 – System Modeling
Systems Analysis and Design in a Changing World, Fourth Edition
Business Process and Functional Modeling
Using Use Case Diagrams
Business System Development
UML Diagrams By Daniel Damaris Novarianto S..
Chapter 5 System modeling
Use Case Modeling - II Lecture # 27.
Lec-5 : Use Case Diagrams
Chapter 5 – System Modeling
Course Outcomes of Object Oriented Modeling Design (17630,C604)
Recall The Team Skills Analyzing the Problem (with 5 steps)
Object-Oriented Analysis and Design
EA framework service description Swedish Defence Materiel Administration Examples & technical approach Enterprice Architecture By Peder Blomqvist.
IS 334 information systems analysis and design
M.M. Pickard, PhD A Primer on Use Cases (Reference: UML Superstructure Specification, v2.1.1)
Use Case Model.
Use case Diagram.
UML Diagrams Jung Woo.
System Modeling Chapter 4
Object Oriented Analysis and Design
Use Cases CS/SWE 421 Introduction to Software Engineering Dan Fleck
SAD ::: Spring 2018 Sabbir Muhammad Saleh
Joey F. George, Dinesh Batra, Joseph S. Valacich, Jeffrey A. Hoffer
Chapter 9 Use Cases.
Week 12: Activity & Sequence Diagrams
Object Oriented Analysis and Design
Use Cases.
What is a Relationship Map?
Use Cases CS/SWE 421 Introduction to Software Engineering Dan Fleck
Software Design Lecture : 15.
Use Cases CS/SWE 421 Introduction to Software Engineering Dan Fleck
Using Use Case Diagrams
Interaction Modeling Extracted from textbook:
Use Cases CS/SWE 421 Introduction to Software Engineering Dan Fleck
Rational Rose 2000 Instructor Notes Use Case Realization Structure
Use Case Modeling Part of the unified modeling language (U M L)
Dr. Jiacun Wang Department of Software Engineering Monmouth University
Chapter 22 Object-Oriented Systems Analysis and Design and UML
CIS 375 Bruce R. Maxim UM-Dearborn
Use Case Analysis – continued
Use Cases CS/SWE 421 Introduction to Software Engineering Dan Fleck
Entity-Relationship Design
Presentation transcript:

Use Cases

2 A use case... –Specifies the behavior of a system or some subset of a system. –Is a system-level function. –Does not indicative how the specified behavior is implemented, only what the behavior is. –Performs a service for some user of the system. A user of the system is known as an actor. An actor can be a person or another system. –During the analysis phase, facilitates communication between the users of the system and the developers of the system. Introduction

3

4 A use case... –Represents a functional requirement of the system as a whole. –Is graphically represented as an oval with the name of its functionality written inside. Functionality is always expressed as a verb or a verb phrase. An actor is most typically represented as a stick figure of a person labeled with its role name. Individual use cases can exist in relationships with other use cases much in the same way as classes maintain relationships with other classes. Introduction

5 Names are used to distinguish one use case from another. Actors … –May be drawn as a stick figure, stereotyped class or a graphical image of your own design. –Are connected to use cases by associations. –May be involved in generalization relationships with other actors. –Exist outside the system boundaries. Terms and Concepts

6

7 Use cases and Flow of Events –A use case, by itself, does not describe the flow of events needed to carry out the use case. –Flow of events can be described using informal text, pseudocode, or activity diagrams. –Be sure to address exception handling when describing flow of events. –Use a note to attach flow of events documentation to a use case. Terms and Concepts

8 Use cases and Collaborations Collaboration diagrams show which classes are involved in implementing a particular use case.

9 Terms and Concepts Organizing Use Cases –Packages may be used to organize (group) use cases. –Generalization between use cases is used to extend the behavior of a parent use case. –An > relationship between use cases means that the base use case explicitly incorporates the behavior of another use case at a location specified in the base. Sometimes the stereotype is used instead of >.

10 Terms and Concepts Organizing Use Cases –An > relationship between use cases means that the base use case implicitly incorporates the behavior of another use case at a location specified indirectly by the extending use case. –Extended behavior is optional behavior, while included behavior is required behavior.

11 Use Case Relationships

12 Use Case Relationships

Use Case Diagrams

14 Use case diagrams … –Show a set of actors, use cases, and their relationships. –Facilitate communication between non-technical customers and developers due to their simplistic nature. –Show the functionality of the system from the prospective of each user of the system. –Model the context of the system. –Model the requirements of the system. Introduction

15 Use Case Diagram

16 Modeling System Requirements A requirement … –Is a design feature, property, or behavior of a system. –States what needs to be done, but not how it is to be done. –Is a contract between the customer and the developer. –Can be expressed in various forms, including use cases.

17 Modeling System Requirements To model the requirements of a system … –Identify all actors (users of the system). –Identify the needs, from the system, of each individual actor. –Make each need a use case. –Identify redundant behavior within your set of use cases, and factor it into common base-class use cases. In other words, look for opportunities to use generalization. –Do the same for actors. –Show the relationships between actors and use cases.

18 Modeling System Context