四川大学数据结构实验Lab4_1

上传人:f****u 文档编号:116272643 上传时间:2019-11-16 格式:PDF 页数:8 大小:58.03KB
返回 下载 相关 举报
四川大学数据结构实验Lab4_1_第1页
第1页 / 共8页
四川大学数据结构实验Lab4_1_第2页
第2页 / 共8页
四川大学数据结构实验Lab4_1_第3页
第3页 / 共8页
四川大学数据结构实验Lab4_1_第4页
第4页 / 共8页
四川大学数据结构实验Lab4_1_第5页
第5页 / 共8页
点击查看更多>>
资源描述

《四川大学数据结构实验Lab4_1》由会员分享,可在线阅读,更多相关《四川大学数据结构实验Lab4_1(8页珍藏版)》请在金锄头文库上搜索。

1、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

2、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 youve completed the appropriate information i

3、n Module 4: The Use-Case Model in the Student Manual. Objective In Lab 4-1, youll 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. At

4、tach 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 (

5、text files) Lab4_1.mdl file Lab4_2.mdl file Fundamentals of Rational Rose Student Workbook 4-3 Use-Case Diagram (Global View) 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 alread

6、y added our actors and use cases under the Actors and Use Cases packages respectively. Work from the diagram on the previous page. Steps Comments Steps Comments 1.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 act

7、ors under the Actors package and the use cases under the Use Cases package. 2.2. Create two new use-case diagrams under the Use-Case model package in the browser, and name one Realtor ViewRealtor View and the other Maintain Personal Planner ViewMaintain Personal Planner View. We are creating a use-c

8、ase 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.3. Continue to Task 2 on the next page to add actors and use cases to the use-case diagrams. Fu

9、ndamentals of Rational Rose Student Workbook 4-5 Task 2: Add the Actors and Use Cases to Diagram Steps Comments Steps Comments 1.1. Double-click the Realtor ViewRealtor View use-case diagram icon in your browser. The diagram window is opened. 2.2. Using the diagram on page 4-3 or the global use-case

10、 diagram in your existing model, determine the use cases associated with the Realtor actor. You may have to expand some packages to find the actors and use cases that you need. 3.3. Drag the Realtor actor and its use cases from the browser into the diagram window. Arrange the diagram accordingly. No

11、tice that the association relationships are also added automatically. We already added these relationships when we created the global use-case diagram. 4.4. Repeat steps 1 through 3 for the Maintain Personal PlannerMaintain Personal Planner use-case diagram. See the figures below. 5.5. Continue to T

12、ask 3 on the next page to add use-case flows of events. Fundamentals of Rational Rose Student Workbook 4-6 Task 3: Add Use-Case Flow of Events Well now attach the following use-case flow of events under the appropriate use-case package. Apply For Loan (ApplyForLoan.txt) Maintain Personal Planner (Ma

13、intainPersonalPlanner.txt) Search For A Home (SearchForHome.txt) Steps Comments Steps Comments 1.1. Right-click the Apply for LoanApply for Loan use-case package, and then click to select a new file. 2.2. From the Rose2002 directory, select the ApplyForLoan.txt file to attach it under the use-case p

14、ackage. You can now double-click the file to open it from Rose. 3.3. Repeat steps 1 and 2 for the two other use-case flows of events. See the figure below. 4.4. Continue to Task 4 on the next page to add the Problem Statement to the use- case model. Fundamentals of Rational Rose Student Workbook 4-7

15、 Task 4: Add Project Artifact Attach the Home Realty Systems Problem Statement (ProblemStatement.txt) to the use-case model. Remember that you want to attach this document to the overall use-case model and not not to a specific use case. Leave your model file open for Lab 4-2: Create an Activity Dia

16、gram. Try These Activities If there is time, explore the following features in Rational Rose: Add text to the documentation window to describe one of your use-case diagrams. Change the line and/or fill color of a use case. Return to your Student Manual to discuss activity diagrams. Leave your model file open for Lab 4-2: Create an Activity Diagram. Fundamentals of Rational Rose Student Workbook 4-8

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > 其它办公文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号