Vous êtes sur la page 1sur 24

7

Chapter 7:
The Object-Oriented Approach
to Requirements
Systems Analysis and Design in a Changing

The Unified Modeling Language and the


Object Management Group

Object-oriented modeling notation is Unified


Modeling Language (UML)

UML was presented to Object Management Group


(OMG) as standard modeling technique

Purpose of Object Management Group

Promote theory and practice of object technology


for development of distributed systems

Provide common architectural framework for OO

Object-Oriented Requirements

Systems development process starts with


identification of events and things

Events are business processes that new system


must address

Things are problem domain objects involved in


business process

Object-Oriented Approach Models

Class diagram definition of system components

Use case diagrams and use case descriptions


show user roles and how they use the system

Systems sequence diagrams (SSDs) define


inputs and outputs and sequence of interactions
between user and system for a use case

Statechart diagrams describe states of each


object

Activity diagrams describe user activities


6

Requirements Diagrams: Traditional and


OO Models

The System Activities


A Use Case / Scenario View

Use case analysis used to identify and define all


business processes that system must support

Use Case - single function performed by system


for those who use that function

Actors

Role played by user

Outside automation boundary and organization

Simple Use Case with an Actor

10

Use Case Diagram with System Boundary

11

Use Case of Customer Support System

12

All Use Cases Including Customer

13

Example of Order-Entry Subsystem with


<<Includes>> Use Cases (Figure 7-6)

<<includes>>
Common
Subroutines
15

Developing a Use Case Diagram

Starting points for use case development

Use event table

Identify all actors of the system

Identify functions actors perform with system

Develop flow of activities to identify various


scenarios

Common internal use cases can be identified and


separated into different use cases
16

Brief Description of Create New Order


Use Case

19

Intermediate Description of the Telephone


Order Scenario for Create New Order

20

Intermediate Description of the Web


Order Scenario for Create New Order

21

Fully Developed Description of Telephone


Order Scenario for Create New Order

22

Fully Developed Description of Web


Order Scenario for Create New Order

23

Activity Diagram: Telephone Order Scenario

25

Activity Diagram: Web Order Scenario

26

Problem Domain Modeling


The Domain Model Class Diagram

Class diagram is focal point of object-oriented


development

Provides definition of system components

Contains important class structural information for


implementation with object-oriented programming

Provides conceptual data model to describe


classes for database definition

Consists of problem domain classes and


implementation classes

37

RMO Domain Model Class Diagram

39

Relationships Between OO
Requirements Models

41

Use Case Diagram for Inventory System

42

Relationships Between OO
Requirements Models (Figure 7-28)

43

Vous aimerez peut-être aussi