... | ... | @@ -23,7 +23,7 @@ Possible results are: |
|
|
|
|
|
During the withdrawal, the user is able to choose between withdraw and deposit. In both cases he has to define an amount. Depending on the choice, either the specified amount is added to the account or, if the amount does not exceed the balance, subtracted from the account. Afterwards the user is able to finish the transaction (abort of the machine).
|
|
|
|
|
|
## An Example Class Diagram for the given Scenario
|
|
|
## An Example State Machine Diagram for the given Scenario
|
|
|
The following figure shows an example UML state machine diagram, which reflects the requirements mentioned in [Example Scenario](#example-scenario):
|
|
|
|
|
|
|
... | ... | |