Você está na página 1de 19

DETAILED DESIGN

Table of Contents (Re-generate the TOC after modifications to the document)


! INTROD"CTION!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! #
$! GLO%AL DATA STR"CT"RES AND S&ARED DATA '"NCTIONS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!#
(! DETAILED DESIGN!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! #
3.1. MODULE NAME AND DESCRIPTION.................................................................................................................4
3.1.2. Design Alternatives................................................................................................................ 4
3.1.3. Design Details........................................................................................................................ 4
3.1.4. Global Data Structures References....................................................................................... 4
3.1.5. Module Specific Data Structures............................................................................................ 4
3.1.6. !ternal "nterfaces................................................................................................................. 4
3.1.#. Assu$ptions.......................................................................................................................... 4
#! CRITICAL '"NCTIONS AND 'OC"S 'OR TESTING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!)
4.1. OPERATIONAL CONCEPTS AND SCENARIOS.....................................................................................................5
)! LI*ITATIONS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! )
+! TRACEA%ILIT, TO RE-"IRE*ENTS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! )
.! OT&ERS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! )
/! ACRON,*S AND GLOSSAR,!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! )
Detai0ed Design
! Introduction
Brief details on the following should be given here.
a) Background
b)Scope & objectives
c) High level design summar
d) !eferences to all relevant documents.
1. Introduction
2.1 Project Title

Bank Simulator
Various Teller transations in a !an" su# as Custo$er aount nu$!er%A$ount
&e'osite&%A$ount (it#&ra(n%A$ount trans)erre& to ot#er aounts%Alternate
aount nu$!er%*alane a$ount are ollete& an& store& in t#e &ata!ase.

Mana+er 'er)or$s t#e tas" o) u'&atin+%,ie(in+ transational &etails t#at
are store& in t#e &ata!ase.
Teller an ,ie( t#e transational &etails an& usto$er &etails.
1.2 Background
-ront.en& /0AVA
*a".en& /Orale1i
Conneti,it2/0D*C

2.2 1.3 Purpose / Scope of the Project

To on&ut transations in a !an" su# as &e'osition3 (it#&ra(3 trans)er
a$ount an& to 'er)or$ ,arious o'erations on it.
1.4 odule !escription
A&$inistrator 4Mana+er5
Teller

Detai0ed Design
1.4.1 Su"#module !escription

Mana+er $o&ule
A&& Custo$er Details
A&& Teller Details
U'&ate Transational Details
Vie( Custo$er Transational Details
Vie( Teller Transational &etails
Teller $o&ule
U'&ate Custo$er Details
Vie( Custo$er Details

$! G0o1a0 Data Structures and Shared Data 'unctions
2. $igh %e&el !esign '&er&ie(

2.1 S)stem '"jecti&e
T#is s2ste$ is 'ro'ose& to o!tain an i&ea re+ar&in+ t#e transations o) a
re+ion !ase& on t#e &etails )urnis#e&. T#is )ailitates t#e user4$ana+er5 to +et a
lear 'iture a!out t#e !an".
Securit)*
Onl2 aut#entiate& users are allo(e& to aess t#is a''liation to a,oi&
unaut#entiate& users to aess t#e a''liation. It 'ro,i&es +reater Seurit2.
Detai0ed Design
+easi"ilit)*
An2 $o&i)iations to t#e a''liation an !e $a&e in )urt#er i) nee&e&.
Porta"ilit)*
Sine t#e a''liation is &e,elo'e& on a 6a,a 'lat)or$% its 'lat)or$
in&e'en&ent.

2.3 ,elation to -.ternal -n&ironment
T#e 0&" 1.5 !uil&s on t#e e7istin+ te#nolo+ies inlu&es t#e !ase 0a,a
su''ort su# s(in+ a''liations.
2.3 !esign /onsiderations
In Disussion -oru$% To' Do(n Inte+ration is use&. Usin+ t#is% all t#e
$o&ules o$'risin+ a $a6or )untion are inte+rate&. T#is allo(s an o'erational
)untion to !e &e$onstrate& 'rior to o$'letion o) entire s2ste$.
Mo&ules are inte+rate& !2 $o,in+ &o(n(ar&s.
De't#.-irst or *rea&t#.-irst $anner.
ISS0-S*
Inte+ration testin+ !e+ins (it# a so)t(are struture (ere alle& su!.ele$ents
are si$ulate& !2 stu!s. A stu! is a si$'li)ie& 'ro+ra$ or &u$$2 $o&ule &esi+ne&
to 'ro,i&e t#e res'onse t#at (oul& !e 'ro,i&e& !2 t#e real su!.ele$ents.
Detai0ed Design
A stu! allo(s testin+ o) allin+ 'ro+ra$ ontrol an& inter)ae orretness. A
stu! is re'lae& !2 t#e unit teste& $o&ules or !uil&s as an inte+ration testin+
'roee&s. T#is 'roess ontinues one ele$ent at a ti$e until t#e entire s2ste$ #as
!een inte+rate& an& teste&
(! Detai0ed Design
(!!$! Design A0ternati2es
(!!(! Design Detai0s
(!S3stems O2er2ie4
S3stem o15ecti2e6
The objective of the project is to facilitate the manager and teller to
perform various operations like creating account " creating user" depositing mone"
withdraw mone " performing mone transfer operations and maintaining overall
transactions records.
(!a)*odu0es6
The modules included this project are
#anager
Teller
Su1 *odu0es6
!*anager *odu0e
$ogin
Create %ccount
%dd &ser
'eposit %mount
(ithdraw %mount
Transfer %mount
Transaction 'etails


Login6
%llows the manager)admin)*teller to login into the Bank Simulator application b
giving correct user+id and password. ,f the given data is wrong then an error message
will be displaed.
Detai0ed Design


Selecting various functions such as creating an account"viewing dail transactions and
teller transaction are performed here.

Create Account6
This application allows the manager to create a new account" b giving username and
selecting a role )teller or customer).
Detai0ed Design

Transactions6
This application allows the manager to update a customer-s transaction b
entering account number" username and selecting a transaction tpe.

De7osit Amount6
%llows manager to deposit and update the amount in a user account.
Detai0ed Design

8ithdra4 Amount6
%llows the manager to withdraw a particular amount from a customer account.

Transfer Amount6
%llows the manager to transfer to transfer particular amount to alternate account
number.
Detai0ed Design

Transactiona0 detai0s6
'isplas all the transactions with following details.
Transaction ,'
Transaction date
Transaction details
'ebit*Credit
Balance
Te00er Transactions Detai0s.
,t allows manager to view Transaction 'etails performed b Teller such as
%ccount number
Transaction tpe
%mount

Detai0ed Design

Dai03 Transaction Detai0s6
%llows manager to view dail transactions.This includes
&sername
%ccount number
Transaction tpe
Customer number

$!Te00er *odu0e
Detai0ed Design
$ogin
'eposit %mount
(ithdraw %mount
Transfer %mount
Transaction 'etails
Teller Transaction 'etails
$/0,1.

S2$2CT T!%1S%CT,/1S.
This application allows the teller to update a customer-s transaction and also to
view his transactions.

T!%1S%CT,/1.
Detai0ed Design
This application allows the teller to update a customer-s transaction b entering
account number" username and selecting a transaction tpe
)'eposit*(ithdraw*Transfer).

'23/S,T.
This allows the teller to update the deposit amount of a customer b selecting
deposit tpe.
(,TH'!%(.
Detai0ed Design
T!%1S42! .
%llows teller to transfer an amount to alternate account number.

T2$$2! T!%1S%CT,/1.
This application allows a teller to view his own transactions such as
Detai0ed Design
%ccount number
Transaction tpe
%mount

(!!#! G0o1a0 Data Structures References
The 0lobal 'ata structures and*or functions referred and modified b this module should be stated. This ma be
a subset of the entire set of global structures*functions as defined in section 5 above.
(!!)! E9terna0 Interfaces
Interface ,e1uirements
0ser Interfaces*
T#e user interats (it# t#e 'a+e. T#is a''liation &one !2 usin+ 0a,a
'a+es su''orte& !2 s(in+. T#e user interats (it# t#e s2ste$ t#rou+# 0a,a
a''liation.
-or E7a$'le/ T#e a&$inistrator lo+in t#e a''liation
/ommunication Interface*
T#e Co$$uniation Inter)ae !et(een t#e )ront en& an& t#e !a" en& o)
t#e a''liation is 'ro,i&e& !2 0a,a Data!ase Conneti,it2 40D*C5.
Detai0ed Design
-or E7a$'le/ One t#e a&$inistrator lo+ins into t#e a''liation (it# t#eir
o(n userna$e an& 'ass(or&% t#e &etails entere& !2 t#e a&$inistrator is
,ali&ate& in t#e &ata!ase !2 usin+ 0D*C.
S)stem Interface*
T#e so)t(are is to !e &e,elo'e& in 0AVA En,iron$ent% (#i# #as in.!uilt
ross 'lat)or$ a'a!ilities.
Detai0ed Design
USER CASE DIA8RAM/
Detai0ed Design
ER DIA8RAM/
LO8IN
9IT:DRA9
AMOUNT
DEPOSIT
AMOUNT
TRANS-ER
AMOUNT
CREATE USER
ACCOUNT
TELLE R
TRANSACTION
2324-,
T-%%-,
DAIL;
TRANSACTION
Detai0ed Design
#! Critica0 'unctions and 'ocus for Testing
&ser name field should not be blank
%ccount number should not be less than si6 numbers
MANA8ER CREATE
S
TELLER
'ass(or&
-ull na$e
User na$e
Reenter

'ass(or&
Roles
User na$e
'ass(or&
1
N
CUSTOMER
Aount
Nu$!er
Userna$
Pass(or&
N
Transatio
n A$ount
TRANSACTIONS
AountNu$!er
9it#&ra(
Transation Date
Alternate
Transation ID
De'osit

*alane
Trans)er
A$ount
Transation
ID
VIE9 TRAN
ACTIONS
ACTION
S
N
1
1
1
N
Detai0ed Design
3assword should be greater than eight characters
#inimum account balance should be greater than !s.788
)!Limitations
!estricted to modif the settings.
Teller cannot view the dail transactions
!
+!tracea1i0it3 to Re:uirements
Based on the user re9uirements the following details are matched with the
functional specifications
&ni9ue username
&ni9ue account number
1umber of transactions
!eport 0eneration
.! Acron3ms and G0ossar3
:'BC+:ava 'atabase Connectivit
0&,+0raphical &ser ,nterface
:;#+:ava ;irtual #achine
/'BC+/pen 'ata Base connectivit

Você também pode gostar