Use Case modelling 1. Objectives  Document user requirements with a model  Describe the purpose of an actor and a use case  Construct a use case model.

Slides:



Advertisements
Similar presentations
Writing Good Use Cases - Instructor Notes
Advertisements

Use case tutorial examples.
Use Case & Use Case Diagram
© 2010 Bennett, McRobb and Farmer1 Use Case Description Supplementary material to support Bennett, McRobb and Farmer: Object Oriented Systems Analysis.
Lecture 9 Descriptors, Events & Event Tables INFO1409 Systems Analysis & Design Module HND Year /9.
Information System Engineering
Substitute FAQs SubFinder Overview. FAQs Do I have to have touch-tone service to use SubFinder? No, but you do need a telephone that can be switched from.
CS3773 Software Engineering Lecture 03 UML Use Cases.
SwE 313 Case Study Registration System.
Close Registration Brief Description
03/12/2001 © Bennett, McRobb and Farmer Use Case Diagrams Based on Chapter 6 of Bennett, McRobb and Farmer: Object Oriented Systems Analysis and.
UFCEPM-15-M Object-oriented Design and Programming Jin Sa.
Marcelo Santos – OOAD-CDT309, Spring 2008, IDE-MdH Object-Oriented Analysis and Design - CDT309 Period 4, Spring 2008 Use cases: deciding what you want.
Lecture Note 8 Using Data Flow Diagrams
The chapter will address the following questions:
Chapter 7: The Object-Oriented Approach to Requirements
A Student Guide to Object- Orientated Development
USE Case Model.
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 06. Requirements.
The Next Stage in Analysis: Systems Use Case Diagrams 1 SYS366.
Introduction to Sequence Diagrams
An Introduction to Java Chapter 11 Object-Oriented Application Development: Part I.
1 Source: IBM Academic Program IBM Software Group ® Mastering Requirements Management with Use Cases Module 3: Introduction to Use-Case Modeling.
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 4, Requirements Elicitation.
USE CASE Bayu Adhi Tama, MTI Faculty of Computer Science, University of Sriwijaya Slides are adapted from Petrus Mursanto
Requirements Analysis Visual Modeling] Lab 02 Visual Modeling (from Visual Modeling with Rational Rose and UML) A way of thinking about problems using.
REQUIREMENTS CAPTURE 1 ASU Course Registration System Use-case Model Actor.
Association Class Generalization/Specialization Whole-Part Page More Associations 1.
Copyright 2002 Prentice-Hall, Inc. Chapter 2 Object-Oriented Analysis and Design Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey.
REQUIREMENTS CAPTURE 1 ASU Course Registration Domain Model.
Practical Object-Oriented Design with UML 2e Slide 1/1 ©The McGraw-Hill Companies, 2004 PRACTICAL OBJECT-ORIENTED DESIGN WITH UML 2e Chapter 4: Restaurant.
1. Objectives At the end of this chapter you should be able to:  Discuss the use and features of a data model  Define the terms entity and attribute.
Database Beginnings. Scenario so far In our scenario we have people registering for training sessions. –The data about the training sessions was placed.
Requirements Analysis and Design Engineering Southern Methodist University CSE 7313.
1 Object-Oriented Modeling Using UML CS 3331 Section 2.4 Modeling Requirements with Use Cases.
1 Objectives  Define key concepts of use-case modeling.  List the benefits of use-case modeling.  Find actors and use cases.  Describe their relationships.
Faculty of Applied Engineering and Urban Planning Software Engineering Department Software Engineering Lab Use Cases Faculty of Information system Technology.
1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.
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.
Use Case Diagram The purpose is to communicate the system’s functionality and behaviour to the customer or end user. Mainly used for capturing user requirements.
ASU Course Registration System System Analysis Communication Diagram Use Case: Select Courses to Teach.
REQUIREMENTS CAPTURE 1 ASU Course Registration System Use-case Model.
Use Case Diagrams.
Essentials of Visual Modeling w/ UML Instructor Notes
22 August, 2007Information System Design IT60105, Autumn 2007 Information System Design IT60105 Lecture 8 Use Case Diagrams.
Lecture 14 22/10/15. The Object-Oriented Analysis and Design  Process of progressively developing representation of a system component (or object) through.
REQUIREMENTS CAPTURE 1 ASU Course Registration Domain Model.
USE CASE Pertemuan 7 Matakuliah: Konsep object-oriented Tahun: 2009.
DBMS ER model-2 Week 6-7.
1 Chapter 9: Operation Contracts Chapter 13 in Applying UML and Patterns Book.
Chapter 6: Structuring Requirements: Use Case Description and Diagrams Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Use Case Diagrams. Introduction In the previous Lecture, you saw a brief review of the nine UML diagrams. Now that you have the clear, you'll start to.
Page 1  Copyright © 1997 by Rational Software Corporation Putting the UML to Work The ESU University wants to computerize their registration system –
ACO 101: Use cases What do the users do?. When building a system You begin with the Use Case Analysis – When looking at the system as a whole, Use Case.
Engineering Quality Software Week02 J.N.Kotuba1 SYST Engineering Quality Software.
Welcome to M301 P2 Software Systems & their Development
Using Use Case Diagrams
Chapter 18 Automatic Account Assignment
The Next Stage in Analysis: Systems Use Case Diagrams
This presentation document has been prepared by Vault Intelligence Limited (“Vault") and is intended for off line demonstration, presentation and educational.
This presentation document has been prepared by Vault Intelligence Limited (“Vault") and is intended for off line demonstration, presentation and educational.
SAD ::: Spring 2018 Sabbir Muhammad Saleh
Software Design Lecture : 15.
Using Use Case Diagrams
Use Case Document Example
This presentation document has been prepared by Vault Intelligence Limited (“Vault") and is intended for off line demonstration, presentation and educational.
This presentation document has been prepared by Vault Intelligence Limited (“Vault") and is intended for off line demonstration, presentation and educational.
This presentation document has been prepared by Vault Intelligence Limited (“Vault") and is intended for off line demonstration, presentation and educational.
Presentation transcript:

Use Case modelling 1

Objectives  Document user requirements with a model  Describe the purpose of an actor and a use case  Construct a use case model  Define use cases in detail 2

Object-Orientation – why is it used?  Has been in existence since the late nineteen sixties  Covers all aspects of system development  Throughout development of a system there is a key concept of an object 3

Why object-orientation ?  An object is something within the problem domain such as an Invoice or a Purchase Order  These real world objects become embodied in a model during analysis and design stages  They eventually end up as part of the final code that is produced  There is thus a continuity that exists throughout all stages of development  An approach based on objects rather than functions is more robust 4

Object-orientation - Summary  Key concept follows through all stages of development - objects  Object - invoice, purchase order  Real world objects are placed in models at an early stage and continue throughout development to implementation  Approach based on objects (rather than what the system will do) is more stable 5

Starting a project  Imagine being asked to provide a new system for a company.  What would you do first? 6

Use Case Models  Use case models are a way of specifying user requirements  They specify what the system will do for the people/systems who will interact with it  They break a project down into the functions that must be carried out by the system  The models produced will initially act as a means of communication between developers and users. 7

Actors  Actors are entities that interact with the system  Actors either provide or receive information  Actors are outside the system  Names of actors are usually discovered from dialogue with the users or may be specified in the problem statement 8

Roles and Actors  An actor plays a role  It is the role that interacts with the system  A person may play different roles  An role may have a number of interactions with the system 9

UML representation of an Actor 10 Actor Role

Use Cases A use case  describes the interaction between users and an application system  describes what a user does with the system to produce a business event, which forms part of a business process  models a dialogue between the actor and the system 11

Use Cases A use case  represents the functions which are made available by the system to the actors  is a sequence of transactions performed by a system that produce a measurable result for particular actors 12

Representation of a use case in UML 13

SFU example  Stafford Free University (SFU) needs a new information system for registration purposes. There are currently problems with registering students on modules and determining which modules their lecturers have elected to teach.  The registration section of SFU decides the modules to be offered in each semester of the coming year. This information is made available to the lecturers on-line. Each module has a number of credit points associated with it. It has a code, title, and it may have a module pre-requisite as well as a description. 14

SFU example (cont)  It may be delivered in any of three modes of delivery (part- time, open learning, or full-time) in any semester. Every time a module is delivered, the start and end date is recorded and the total hours needed to study it.  The registration service adds, changes and removes the details held on each lecturer. Details stored on each lecturer include the highest qualification they have achieved and their subject specialism. If a lecturer has had a formal teacher training this is also recorded. 15

SFU example (cont)  The lecturers may elect to teach any of the modules offered in a particular semester by accessing the registration system on- line. They may also change their minds and decide not to teach a module after they have previously elected to do so. At any time, they may wish to view the module offerings they have chosen. The students fill out a registration form on-line and indicate their choice of modules. 16

SFU example (cont)  Both students and lecturers have a name and an id to use this registration service. The expiry date of their account is also recorded. Students may register to take up to any three modules in each semester. This information is then entered into the information system.  Students are then assigned to modules which, have a limit on student numbers. If a student has elected to take a module that is oversubscribed the Registration Service contacts the student and another module is usually substituted. 17

SFU example (cont)  After the registration period each lecturer receives a module student list with the student names for that module and rooms and times for the module delivery they have elected to teach. A schedule of modules is sent to the student for confirmation of correct registration. This schedule shows the modules and the start and end dates that the student has registered for. 18

SFU example (cont)  Any module offering with fewer than the minimum student numbers will be cancelled. The registration service makes the registration information available to a separate billing system that will send out invoices to the students. An invoice contains a date and amount together with a number. 19

Use Case Diagrams  A use case diagram is a picture of some or all of the actors and their interactions with the system.  Each system will have a main use case diagram showing  the system boundary  the major functions provided by the system  Large systems may employ more than one use case diagram 20

What are the use cases?  Look for verbs in the problem description  How much detail in a use case ? What about the Registration Service? It must maintain the registration by adding deleting and modifying modules.  How many use cases are there here?  This is matter of judgement 21

Use cases for SFU  Register for modules  Select modules to teach  Issue module student list  Maintain module information  Maintain student information  Maintain lecturer information 22

References Bennett, S., McRobb, S. and Farmer,R. Object-Oriented Systems Analysis and Design using UML, London: McGraw- Hill, (3rd Ed.) 2005 Britton, C. and Doake, J. Object-Oriented Systems Development – a gentle introduction, London: McGraw-Hill,