UML
1. use case diagram 用例图
矩形框 system boundary 系统边界
用例之间的关系:《include》,《extend》
基用例 - - -《include》 - - > 包含用例
扩展用例 - - 《extend》- - ->基用例
business progress业务逻辑(过程)--步骤--操作--动作--事件
头脑风暴brand storming:从需求取信息
(1)找到所有user cos:patron、cafeteriastaff、menu manager、meal deliverer、super manager
(2)按用户分析业务过程
Patron | Cafeteria staff | Menu manager | Meal deliverer | Super manager |
Register | Register | Register | Register |
|
Login | Login | Login | Login | Login |
Order meal | Request Meal Delivery
| Create, View, Modify, Delete Cafeteria Menus and Food items (8) | Print delivery instructions |
|
Create,View,Modify,and DeleteMealSubscriptions(4) |
|
|
|
|
Register for Meal Payment Options |
|
|
|
|
(3)按业务过程找用例
Business progress | Actor |
Login | Patron、cs、mm、md、sm |
Register |
|
|
|
|
|
(4)找用例边界
(5)基本步骤、分支(可选)步骤