0% found this document useful (0 votes)
41 views3 pages

Class Diagaram: Customer Creation

The document contains class diagrams and sequence diagrams describing a taxi booking system. The class diagram defines classes like Customer, TaxiDriver, Bookings etc. with their attributes and methods. The sequence diagram shows the steps involved when a customer books a limousine through a telephone operator, involving checking availability, assigning a driver, collecting passengers and updating records. The use case diagram depicts use cases like checking existing customers, making ordinary or special bookings, limousine booking, adding new customers etc.

Uploaded by

NirmalJeldi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views3 pages

Class Diagaram: Customer Creation

The document contains class diagrams and sequence diagrams describing a taxi booking system. The class diagram defines classes like Customer, TaxiDriver, Bookings etc. with their attributes and methods. The sequence diagram shows the steps involved when a customer books a limousine through a telephone operator, involving checking availability, assigning a driver, collecting passengers and updating records. The use case diagram depicts use cases like checking existing customers, making ordinary or special bookings, limousine booking, adding new customers etc.

Uploaded by

NirmalJeldi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

Class diagaram

NewCustomer
name
address
New Customer
name
creditCardInformation
createNewCustomer()
Special Booking
name
date
time
noOfPassengers
source
destination
bookSpecialTaxi()
Ordinar Booking
name
time
noOfPassengers
source
destination
bookOrdinarTaxi()
!imousine Booking
name
date
time
noOfPassengers
source
destination
c"eck#xistingCustomer()
c"eckTaxiStatus()
c"eckCreditCard()
book!imousine()
sendIn$oice()
% %&&n % %&&n
Customer Creation
''extend((
Bookings
bookingNo
bookingTpe
addNewBooking()
c"eckBooking!ist()
%&&n %&&n %&&n %&&n
''extend((
%&&n
%&&n
%&&n
%&&n
''extend((
%&&n
%&&n
%&&n
%&&n
''extend((
Telep"one Operator
name
date
time
newBooking()
cancelBooking()
)&&n % )&&n %
Add Booking
Secretar
taxi*ri$er
loginTime
logoutTime
collect+one()
fillTimeS"eet()
Taxi
taxiNo
taxiTpe
boardTaxi()
c"angeTaxi()
Customer
name
address
bookTaxi()
cancelTaxi()
"ireTaxi()
collectPassengers()
getIn$oice()
%
%
%
%
Collect Passengers
%
%&&n
%
%&&n
Book Taxi
Taxi Controller
taxiNo
$iewTaxiStatus()
updateTaxiStatus()
Status Booking,+*T
-obId
c"eckBooking!ist()
c"eck.ob!isting+*T()
updateBooking!ist()
update.ob!isting+*T()
Check/Update Job List
Check/Update Job/MDT List
Taxi *ri$er
name
taxino
source
destination
assign*ri$er()
getPament()
%&&n %&&n %&&n %&&n
Change Taxi
ire/Pa! Taxi
%&&n
%
%&&n
%
Assign Job
%
%&&n
%
%&&n
Update "tatus
#ie$/Update MDT
Colabration diagram
Customer
/ Telep"one
Operator
/ Bookings
/ !imousine
Booking
/ Status
Booking,+*T
/ New
Customer
C"eck #xisting Customer
C"eck Credit Card
%/ newBooking( ) 0/ addNewBooking( )
1/ book!imousine( )
2/ addNewBooking( )
3/ createNewCustomer( )
4/ c"eckBooking!ist( )
5/ sendIn$oice( )
Sequence diagram
Customer /
Customer
P"one Operator /
Telep"one Operator
Bookings /
Bookings
!imousine Booking /
!imousine Booking
New Customer /
New Customer
Status / Status
Booking,+*T
Controller / Taxi
Controller
Taxi *ri$er /
Taxi *ri$er
Taxi / Taxi
%/ newBooking( )
0/ addNewBooking( )
1/ book!imousine( )
3/ c"eck#xistingCustomer( )
2/ c"eckCreditCard( )
6/ book!imousine( )
5/ c"eckBooking!ist( )
4/ createNewCustomer( )
7/ getIn$oice( )
%%/ assign*ri$er( )
%)/ c"eckBooking!ist( )
%4/ collectPassengers( )
%0/ updateTaxiStatus( )
%2/ c"angeTaxi( )
%1/ c"angeTaxi( )
%3/ boardTaxi( )
Taxi Booking 8
Customer needs
to book a
limousine
%& Customer asks t"e operator to book a limousine
4& T"e Telep"one Operator collects t"e credit card info of
t"e customer
6& Taxi Controller c"ecks t"e Booking !ist for t"e da
and finds t"at a limousine "as to be sent
7& Taxi Controller assigns t"e -ob to a dri$er w"o "as
no -ob on t"e line
%)& Taxi dri$er boards t"e limousine and collects t"e
customer
0& Telep"one Operator c"ecks if t"e customer is
an existing customer
1& If customer is not an existing customer t"en t"e
operator creates a new profile for t"e customer
3& T"e operator c"ecks t"e booking list and finds t"at a
limousine is free on t"e date specified b t"e customer
%%& 9fter t"e dri$ers -ob is o$er "e come back to
t"e Office garage and c"anges to a regular taxi&
%0& T"e Taxi controller is informed about t"e
completion of t"e -ob as t"e controller updates t"e
booking list
2& T"e Telep"one Operator c"eck t"e credit card info of t"e
customer
5& T"e Telep"one Operator t"en books a limousine under
t"e customer on t"e date and time re:uested
Use case diagram
C"eck #xisting Customer
Sa$e Customer Information
Ordinar Booking
Special Booking
''include((
''include((
!imousine Booking Credit Card C"eck
''include((
''include((
9dd New Customer
''extend((
New Customer
Secretar
Total 9mount Collected
Time S"eet
Taxi *ri$er
9ssign *ri$er
+*T !isting
+*T ;pdation
Taxi Controller
Send In$oice
''include((
<ire Taxi
Book Taxi
''extend((
''extend((
''extend((
;pdated !ist of Bookings
Taxi Status !ist
Customer
sendIn$oice()
Cancel Taxi
Telep"one Operator

You might also like