Object-Oriented Analysis and Design With UML2 and Rational Software Modeler
Object-Oriented Analysis and Design With UML2 and Rational Software Modeler
Object-Oriented Analysis and Design With UML2 and Rational Software Modeler
Requirements in Context
The purpose of
Requirements is to:
Elicit stakeholder
requests and
transform them into a
set of requirements
work products that
scope the system to
be built and provide
detailed requirements
for what the system
must do
RUP recommends a
use-case driven
approach
IBM Software Group | Rational software
Use case 1
Actor 2
Use case 2
Use case 3
Use Case 2
Specification
IBM Software Group | Rational software
Use case 1
Use-Case-Model Survey
Actor 1
- survey description
- list of all actors Actor 2
Use case 2
- list of all use cases
Use case 3
Actor 3
Actor
A use case is a sequence of actions a system performs that yields an
observable result of value to a particular actor
Use Case
IBM Software Group | Rational software
Use-Case Diagram
An Automated Teller Machine (ATM)
Withdraw Cash
Transfer Funds
Bank Bank
Customer Consortium
Deposit Funds
Cashier
Collect Deposits
Maintain ATM
Maintenance
Crew
IBM Software Group | Rational software
?
IBM Software Group | Rational software
Use Case 3
Actor Y
IBM Software Group | Rational software
Find Actors
Who is pressing the keys (interacting with the system)?
Identify Actors
Who/what uses the system?
Who/what gets information from this system?
Who/what provides information to the system?
Where in the company is the system used?
Who/what supports and maintains the system?
What other systems use this system?
IBM Software Group | Rational software
What goal am I
trying to achieve by
using the system?
GOAL 1
Actor GOAL 2
IBM Software Group | Rational software
Group Exercise
Identify the actors who interact with the Course Registration System
Identify use cases for the system
Sketch a use-case diagram
IBM Software Group | Rational software
Use-Case Specifications
Use-Case Model
Name
Brief description
Flow of Events
Relationships Actors
Activity diagrams Use Cases
Use-Case diagrams
Special requirements
Pre-conditions
Post-conditions
...
Other diagrams
Use-Case Specifications
IBM Software Group | Rational software
Register for
Courses Course Catalog
Student
System
Scenario 1 Scenario 2
Log on to system. Log on to system.
Approve log on. Approve log on.
Enter subject in search. Enter subject in search.
Get course list. Invalid subject.
Display course list. Re-enter subject.
Select courses. Get course list.
Confirm availability. Display course list.
Display final schedule. Select courses.
Confirm availability.
Display final schedule.
IBM Software Group | Rational software
Glossary
Course Registration System Glossary
1. Introduction
This document is used to define terminology specific to the problem
domain, explaining terms, which may be unfamiliar to the reader of the
use-case descriptions or other project documents. Often, this document
can be used as an informal data dictionary, capturing data definitions so
that use-case descriptions and other project documents can focus on
what the system must do with the information.
2. Definitions
The glossary contains the working definitions for the key concepts in the
Course Registration System.
2.1 Course: A class offered by the university.
2.2 Course Offering: A specific delivery of the course for a specific
Glossary semester – you could run the same course in parallel sessions in the
semester. Includes the days of the week and times it is offered.
2.3 Course Catalog: The unabridged catalog of all courses offered
by the university.
IBM Software Group | Rational software
Supplementary Specification
Functionality
Usability
Reliability
Performance
Supportability
Design constraints
Supplementary
Specification
IBM Software Group | Rational software
Exercise
Perform the exercise provided by
the instructor