详细设计

lesson16

Posted by Hanxu on June 30, 2018

第16周

本周学习了详细设计相关知识,以下是lesson16的作业内容。


详细设计 - 使用交互图和设计类图实现用例

1. 使用ECB实现make reservation用例详细设计

1.1 用例简介

** Make Reservation **

  • Search Hotel
    • include
      • Type in the Destination City
      • Select the Check in Date
      • Select the Check Out Date
      • Submit the Request [Search System]
    • extend
      • Search Again
  • Choose Hotel
    • include
      • Select a Hotel
      • Submit Reservation Request [Selection System]
    • extend
      • Modify the Information
  • Choose Room Type
    • include
      • Specify Required Rooms
      • Specify the Number of Adults and Children in Each Room
  • Confirm Reservation
    • include
      • Provide Full Name
      • Provide Email Address
      • Pay Money[Payment Authorization Service]
      • Secure the Reservation [email]
    • extend
      • Show Booking Details
      • Remove the Item from the Basket

用例允许用户搜索酒店,选择酒店,选择房型,确认预定。

用例图: task1

1.2 顺序图

1.2

1.3 类图

1.3

2. 将逻辑设计类图映射到实际项目框架的包图,用树形结构表述实现的包和类

package