四川大学数据结构实验Lab4_1

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

Create a Use-Case Diagram

4-1

⎭ ⎭ ⎭

Lab 4-1

Create a Use-Case Diagram

In this lab, you will model a use-case diagram in the following two ways:

⎭ An actor and all its use cases ⎭

One use case and all its relationships

You will also attach flow of events (use-case specifications) to individual use cases and a project artifact that supports the use-case model. Attaching this documentation helps maintain traceability between the use-case model and requirements and can be directly accessed from the Rational Rose tool.

Before You Begin

Do not begin this lab until you’ve completed the appropriate information in Module 4: The Use-Case Model in the Student Manual.

Objective

In Lab 4-1, you ’ll do the following tasks to create the use-case diagrams and attach the supporting artifacts: 1. Add use-case diagrams to the browser. 2. Add actors and use cases to the diagram. 3. Attach use-case flows of events. 4. Attach a project artifact.

Fundamentals of Rational Rose Student Workbook

4-2

Lab Outcome

Two completed use-case diagrams showing different aspects of the use-case model and important artifacts attached that support the use-case model

Lab Artifacts

⎭ Use-Case Diagram (Global View) ⎭ Supporting artifacts (text files) ⎭ Lab4_1.mdl file ⎭

Lab4_2.mdl file

Fundamentals of Rational Rose Student Workbook Use-Case Diagram (Global View)

4-3

Fundamentals of Rational Rose Student Workbook

4-4

Task 1: Add the Use-Case Diagrams to the Browser

We are using a modified Rational Unified Process framework and have already added our actors and use cases under the Actors and Use Cases packages respectively. Work from the diagram on the previous page.

Steps Comments

1.

Open Lab4_1.mdl. In the browser,

expand the Use Case View and then expand the Use-Case Model package. Take a moment to look at the actors under the Actors package and the use cases under the Use Cases package.

2. Create two new use-case diagrams under

the Use-Case model package in the

browser, and name one Realtor View and the other Maintain Personal Planner View .

We are creating a use-case diagram that shows a single actor and all its use cases (Realtor actor) and another that shows a single use case and all its relationships

(Maintain Personal Planner use case).

See the figure below.

3. Continue to Task 2 on the next page to add actors and use cases to the use-case diagrams.

相关文档
最新文档