source: main/eko-disco-specs/trunk/use-cases/sample.rst @ 10737

Last change on this file since 10737 was 10584, checked in by uli, 11 years ago

Add initial docs.

File size: 2.6 KB
Line 
1Sample-Use-Case: Withdraw Money from ATM
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
12Short Description
13-----------------------------------------------------------------------
14
15An account holder is paid a requested amount of money and the account
16is charged this amount.
17
18
19Actor(s)
20-----------------------------------------------------------------------
21
22Account holder, Accounting System
23
24
25Trigger(s)
26-----------------------------------------------------------------------
27
28The account holder puts a debit card into the ATM slot.
29
30
31Result(s)
32-----------------------------------------------------------------------
33
34The account holder got an amount of money. The account has been
35charged. The account holder got back the debit card.
36
37
38Incoming Data
39-----------------------------------------------------------------------
40
41PIN, requested amount
42
43
44Outgoing Data
45-----------------------------------------------------------------------
46
47Data leaving the system _during_ use case. Includes only data not
48existing any more after use-case has been finished. For instance
49screen messages, etc.
50
51
52Precondition(s)
53-----------------------------------------------------------------------
54
55The ATM is ready to receive a debit card.
56
57
58Postcondition(s)
59-----------------------------------------------------------------------
60
61The ATM is ready to receive a debit card.
62
63
64Invariant(s)
65-----------------------------------------------------------------------
66
67
68
69
70Essential Steps
71-----------------------------------------------------------------------
72
73* Authenticate account holder
74* Get requested amount
75* Check possibility to withdraw
76* Charge account
77* Pay amount
78
79
80Open Issues
81-----------------------------------------------------------------------
82
83
84
85
86Change Log
87-----------------------------------------------------------------------
88
89+------------+----------+------------+--------------------------------+
90| Timestamp  | Who      | New Status | What                           |
91+------------+----------+------------+--------------------------------+
92| 2013-09-04 | uli      | init       | Initial samples                |
93+------------+----------+------------+--------------------------------+
94
95
96Remarks
97-----------------------------------------------------------------------
98
99
100.. raw:: latex
101
102      \pagebreak[4]
Note: See TracBrowser for help on using the repository browser.