Sei sulla pagina 1di 15

USE-CASE DIAGRAM (E-TICKETING) :

LOGIN

TRAIN LIST

SEARCH FOR TRAIN

SELECT DESTINATION

TRAIN
SENIOR CITIZEN DATABASE

PASSENGER
PERSONAL DETAILS

SEATS CHECKING

CONFIRM TICKET

PAYMENT

BANKING
SYSTEM
RESERVATION

PRINT TICKET

VERIFY PNR

UPDATE DATABASE

TICKET CANCEL
ACTIVITY DIAGRAM

LOGIN

Availability
seats
checking

place
availabilty()

available=true incorrect
correct

reserve ticket
waiting list

PAYMENT
validation

Check train
code

code

verify

Notavailable
available

EXIT
SEQUENCE DIAGRAM:

LOGIN:

USER FROM CONTROLLE CONTROLLER


OF
BOOKING R OF
RESERVATIO
BOOKING
Login search

To controller

To database

Validating
login

Form send If valid()

Display correct form

If invalid()

Form send

Invalid login
TRAIN SEARCH:

USER FROM CONTROLLE CONTROLLER


OF
BOOKING R OF
RESERVATIO
BOOKING
Train search

To controller

To database

Check if train
list

If available()

Display train no and name send list

If unavailable()

Send list

Display not

valid()

SEATS CHECKING:

USER FROM CONTROLLE CONTROLLER


OF
BOOKING R OF
RESERVATIO
Information searching

To controller

To database

Check
availability

If available()

Controller sends to form

Availability is displayed if unavailable()

Controller sends to form

No availability is displayed

CONFIRM TICKET:

USER FROM CONTROLLE CONTROLLER


OF
BOOKING R OF
RESERVATIO
Confirming ticket

To controller

To database

Check
details

If valid()

Send form

Confirm ticket if invalid()

send form

waiting list

PAYMENT:

USER FROM CONTROLLE CONTROLLER


OF
BOOKING R OF
RESERVATIO
BOOKING
Information searching

To controller

To database

Check the
amt

If correct()

send slip

display paid print receipt if incorrect()

send slip

display unpaid

TICKET CANCEL

USER FROM CONTROLLE CONTROLLER


OF
BOOKING R OF
RESERVATIO
BOOKING
control ticket
To controller

To database

Checking train
no

If correct()

Send form

Display cancelled if incorrect()

send form

display not cancelled

CLASS DIAGRAM – E-TICKETING


passenger
name : char;
age : int;
gender : char;
trainName : char;
trainNumber : int;
classType : char;
no.OfSeats : int; form
source : char; +thePassenger +theForm
destination : char; fillForm()
cardNumber : int; ticketIssued()
bankNumber : int; form()
bankName : char;
+theForm
details()
reserve()
cancel()
passenger()

+thePassenger

+theDataBaseAdministration
bank
customerId : char;
databasadministration
cardNumber : int;
bankName : char;
bankNumber : int; +theDataBaseAdministration verify()
reserve()
+theBank cancel()
verify()
transaction() transaction()
bank() dataBaseAdministration()

COMPONENT DIAGRAM – E-TICKETING


visual basic - Ms Access -
front end back end

DEPLOYMENT DIAGRAM – E-TICKETING

User 1

E-ticketting system

user 2

user n

PACKAGE DIAGRAM – E-TICKETING


UI

swing applet web

Domain

PASSENGER FORM DBA

Technical services

logging security banking

STATE CHART DIAGRAM – E-TICKETING


event

id le d i s p la y sd is p la y p a s s e n g e r v ieswe sle c t io n opf a s s e n g e r e n t e r s d e tac oilsm f o r t


t r a in lis t t r a in a v a ila b ilit y

re try ()
r e q u ir e m e n t u n a v a il a b le
u n a v a ila b le

r e q u ir e m e n t a v a ila b le

c a n c e l r e s e r v a t io n ( )
c a n c e lla t io n

if r e s e r v e d t ic k e t ( s ) h a s t o b e c a n c e lle d

t ic k e t( s ) r e s e r v a ti o n r e s e r v e t ic k e t ( sa v) a ila b le
r e s e r v e d t ic k e t ( s ) r e s e r v e d
c a n c e lle d

r e s e r v a tio n s u c c e s f u l
w a it i n g li s t

s y s te m p ro c e s s e n d s R AC