bank beispiel - bfhamrhein/ooad/bankaufgabe/bankloesung.pdf · 2015-04-30 · microsoft word -...

7
Bank Beispiel Use Case Diagram

Upload: vutuong

Post on 02-Mar-2019

213 views

Category:

Documents


0 download

TRANSCRIPT

Bank Beispiel

Use Case Diagram

USE CASE DESCRIPTION: CREATE ACCOUNT

UseCase Create Account

Identifier UC 0011

Version 0.1

Summary Create a new account for a person and deposit a positive amount of

money.

State Documented

Source O. Schmid (Bank Manager)

Actor BankOfficer

PrintingSystem

Precondition The person is a customer.

The person wants to have a new account.

Postcondition A new account is created for this customer and has a positive

balance

Base Sequence 1. Identify customer (see UC 00xy)

2. Define account type (private account, saving account, ...)

3. Initialize account (account number, transaction list, creation

date)

4. Process deposit transaction

Branch Sequence

Exception Sequence The account is created only if the customer makes a first deposit.

Sub UseCase process Transaction

Note A first transaction (money deposit) has to be performed immediately

after the creation of the account.

References

Priority Must

Comments

• Create Customer[Activity Diagram]

Execute Transaction[Activity Diagram]

Withdrawal process[Activity Diagram]

swimlanes[Activity Diagram]

figure : swimlanes[Activity Diagram]

Account States[Statemachine Diagram]

• Customer States[Statemachine Diagram]

Transaction States[Statemachine Diagram]