slide 5c.1 copyright © 2004 by the mcgraw-hill companies, inc. all rights reserved. an introduction...

14
Slide 5C.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with UML and the Unified Process McGraw-Hill, 2004 Stephen R. Schach [email protected]

Post on 21-Dec-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

Slide 5C.1

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

An Introduction toObject-Oriented

Systems Analysis and Design with UML and

the Unified Process

McGraw-Hill, 2004

Stephen R. Schach

[email protected]

Slide 5C.2

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

CHAPTER 5 — Unit C

THE REQUIREMENTS WORKFLOW II

Slide 5C.3

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

Continued from Unit 5B

Slide 5C.4

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

«include» Relationship (contd)

Use case Estimate Payments and Grants for Week does not interact with an actor and therefore cannot be a use case in its own right– Instead, it is a portion of use case Estimate Funds

Available for Week, as reflected in the top diagram

Slide 5C.5

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

Revising the Requirements: MSG (contd)

A common side-effect of the iterative and incremental life-cycle model – Details that correctly have been postponed somehow get

forgotten– Two instances of this are described on the next slide

Slide 5C.6

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

Revising the Requirements: MSG (contd)

Details of use case Manage an Investment have been overlooked

Use case Manage a Mortgage to model– The addition of a new mortgage– The modification of an existing mortgage, or– The removal of an existing mortgage

has been totally forgotten

(Analogous to use case Manage an Investment)

Slide 5C.7

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

Use Case Manage an Investment

Slide 5C.8

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

Use Case Manage a Mortgage

Slide 5C.9

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

Fourth Iteration of the Revised Use-Case Diagram

The new use case is shaded

Slide 5C.10

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

Revising the Requirements: MSG (contd)

There is a further omission– Use case Produce a Report to print the three reports

» Investments report» Mortgages report» Results of weekly computation

has also been totally forgotten

Slide 5C.11

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

Produce a Report

Slide 5C.12

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

Produce a Report (contd)

Slide 5C.13

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

Fifth Iteration of the Revised Use-Case Diagram

The new use case, Produce a Report, is shaded

Slide 5C.14

Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.

Continued in Unit 5D