[10781] | 1 | Withdraw Money from ATM |
---|
[10584] | 2 | *********************************************************************** |
---|
| 3 | |
---|
| 4 | .. Description of a use case |
---|
| 5 | .. The description must be formulated as seen from system (not: actors) |
---|
| 6 | .. Describes those changes an (outside) actor can notice |
---|
| 7 | .. Short and abstract as possible, as long as necessary. |
---|
| 8 | .. Each use case must have at least one actor involved |
---|
| 9 | .. Each use case must have a trigger and a result |
---|
| 10 | |
---|
| 11 | |
---|
| 12 | Short Description |
---|
| 13 | ----------------------------------------------------------------------- |
---|
| 14 | |
---|
| 15 | An account holder is paid a requested amount of money and the account |
---|
| 16 | is charged this amount. |
---|
| 17 | |
---|
| 18 | |
---|
| 19 | Actor(s) |
---|
| 20 | ----------------------------------------------------------------------- |
---|
| 21 | |
---|
| 22 | Account holder, Accounting System |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | Trigger(s) |
---|
| 26 | ----------------------------------------------------------------------- |
---|
| 27 | |
---|
| 28 | The account holder puts a debit card into the ATM slot. |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | Result(s) |
---|
| 32 | ----------------------------------------------------------------------- |
---|
| 33 | |
---|
| 34 | The account holder got an amount of money. The account has been |
---|
| 35 | charged. The account holder got back the debit card. |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | Incoming Data |
---|
| 39 | ----------------------------------------------------------------------- |
---|
| 40 | |
---|
| 41 | PIN, requested amount |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | Outgoing Data |
---|
| 45 | ----------------------------------------------------------------------- |
---|
| 46 | |
---|
| 47 | Data leaving the system _during_ use case. Includes only data not |
---|
| 48 | existing any more after use-case has been finished. For instance |
---|
| 49 | screen messages, etc. |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | Precondition(s) |
---|
| 53 | ----------------------------------------------------------------------- |
---|
| 54 | |
---|
| 55 | The ATM is ready to receive a debit card. |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | Postcondition(s) |
---|
| 59 | ----------------------------------------------------------------------- |
---|
| 60 | |
---|
| 61 | The ATM is ready to receive a debit card. |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | Invariant(s) |
---|
| 65 | ----------------------------------------------------------------------- |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | Essential Steps |
---|
| 71 | ----------------------------------------------------------------------- |
---|
| 72 | |
---|
| 73 | * Authenticate account holder |
---|
| 74 | * Get requested amount |
---|
| 75 | * Check possibility to withdraw |
---|
| 76 | * Charge account |
---|
| 77 | * Pay amount |
---|
| 78 | |
---|
| 79 | |
---|
| 80 | Open Issues |
---|
| 81 | ----------------------------------------------------------------------- |
---|
| 82 | |
---|
| 83 | |
---|
| 84 | |
---|
| 85 | |
---|
| 86 | Remarks |
---|
| 87 | ----------------------------------------------------------------------- |
---|
| 88 | |
---|
| 89 | |
---|
| 90 | .. raw:: latex |
---|
| 91 | |
---|
[10780] | 92 | \ |
---|