【发布时间】:2014-02-09 20:41:33
【问题描述】:
我要为以下场景绘制 uml 用例图:
In the university to set up a new coffee management system. These are the (informal) requirements:
1. A coffee machine dispenses coffee at the press of a button.
2. There are different coffee flavors (espresso, cappuccino, or latte macchiato) with different
prices.
3. Every user has an account on the coffee management system.
4. Every user logs on to the system using some identification (a password or picture).
5. Users choose the coffees they had (or will have) and mark them as “dispensed”.
6. The price for the coffee is automatically deducted from their account.
7. A special user (the “administrator”) can recharge user’s accounts.
如何为上述场景创建一个用例,包括备选方案和例外情况。
我尝试绘制用例图,请如果有人可以检查它是否正确。提前致谢。
【问题讨论】: