Professional Documents
Culture Documents
SE Session1
SE Session1
SE Session1
Objectives
In this session, you will learn to:
NIIT Ltd.
Page 1 of 42
Page 2 of 42
NIIT Ltd.
Page 3 of 42
New York
Pittsburgh
Page 4 of 42
NIIT Ltd.
Sector
Days
Aircraft
Type
Local
Local
Departur Arrival
e Time
Time
Fares ($)
Business Economy
Class
Class
HA101
NY-CH
Wed, Sat
Airbus
08:55
12:00
330
250
HA222
NY-NO
Mon, Thu
Airbus
11:30
18:17
380
330
HA141
NY-MI
Tue, Fri
Boeing
06:30
11:45
310
260
HA901
NY-PI
Mon, Thu
Airbus
08:55
10:40
150
120
HA875
NY-ME
Tue-Sun
Boeing
06:30
10:10
330
240
HA102
CH-NY
Wed, Sat
Airbus
06:25
12:31
330
250
HA223
NO-NY
Mon, Thu
Airbus
06:20
12:31
380
330
HA142
ME-NY
Tue, Fri
Boeing
12:20
05:50
310
260
HA902
PI-NY
Mon, Thu
Airbus
07:00
08:30
150
100
HA876
ME-NY
Tue, Fri
Boeing
06:20
12:10
330
240
Page 5 of 42
Seat
Arrangement
AB
EF GH
Economy AB
CDEF
class
GH
Total Number of Seats
No. of
Rows
10
35
Total Seats
6 seats * 10 rows =
60 seats
8 seats * 35 rows =
280 seats
340 seats
NIIT Ltd.
No. of
Rows
4
30
Total Seats
10 seats * 4 rows
= 40 seats
10 seats * 30 rows
= 300 seats
340 seats
Page 6 of 42
Page 7 of 42
NIIT Ltd.
Page 8 of 42
Accepts the date, departure city, and destination city from the
person and checks for the availability of a seat on the requested
date.
Maintains details about the availability of seats and the seat in the
Reservation file.
Confirms the details with the prospective passenger and accepts the
remaining details.
Updates the seat availability status in the Reservation file and adds
the passenger
details to the Manifest file. The passenger is assigned a unique
Passenger Name Request (PNR) number.
Prints the ticket and gives it to the
passenger.
Collects the fare amount from the passenger.
Updates the Daily Collection file.
NIIT Ltd.
Page 9 of 42
NIIT Ltd.
Page 10 of 42
Retrieves the details from the Manifest file using the PNR number.
Verifies the details of the ticket and computes the refund amount.
Updates the seat availability status in the Reservations file and marks the
corresponding details of the Manifest file.
Makes the refund and prints the refund receipt.
Files the receipt along with the signature of the passenger.
Updates the Daily Collection file.
NIIT Ltd.
Page 11 of 42
NIIT Ltd.
Cancellation Time
More than one day before scheduled
departure of the flight
Cancellation Charges
NIL
Page 12 of 42
NIIT Ltd.
Page 13 of 42
Page 14 of 42
NIIT Ltd.
Allow an administrator to
enter flight, aircraft,
class, and sector details.
Page 15 of 42
Activity
diagram
(for any use
case)
State
diagram
(for any
object)
Communica
Sequence
tion
diagram
diagram
(for any use
(for any use
case)
case)
Class
diagram
Use case
diagram
NIIT Ltd.
Page 16 of 42
System Analysis
Page 17 of 42
NIIT Ltd.
Page 18 of 42
Counter assistants
Customers
Administrators
NIIT Ltd.
Page 19 of 42
Book tickets
Print tickets
Cancel tickets
NIIT Ltd.
Page 20 of 42
NIIT Ltd.
Page 21 of 42
NIIT Ltd.
Page 22 of 42
Page 23 of 42
To create the use case diagram for the proposed system, first
you need to identify the actors and the use cases.
The following actors will interact with the StarLine Airways
system:
NIIT Ltd.
Customer
Counter assistant
Operations executive
Administrator
Page 24 of 42
NIIT Ltd.
Customer
Counter assistant
Operations executive
Administrator
Page 25 of 42
NIIT Ltd.
Check
Availability
Reserve
Tickets
Print Tickets
Process
Payment
Cancel Tickets
Update
Reservation
Status
Validate
Passenger
Details
Check
Reservation
Status
Refund
Payment
Generate
Confirmed
Passengers
Report
Generate Waitlisted
Passengers
Report
Generate Daily
Collection
Report
Update Flight
Details
Update Aircraft
Details
Page 26 of 42
NIIT Ltd.
Page 27 of 42
Print
Tickets
Check
Availability
Customer
<<include>>
<<include>>
Reserve
Tickets
<<include>>
Cancel
Tickets
Counter Assistant
Check
Reservation
Status
Update
Reservation
Status
<<include>>
<<include>>
Validate
Passenger
Details
Refund
Payment
Generate Daily
Collection Report
Operations Executive
Process
Payment
Generate Confirmed
Passengers Report
Update Flight
Details
Update
Aircraft Details
Administrator
Generate Wait-listed
Passengers Report
NIIT Ltd.
Page 28 of 42
Page 29 of 42
NIIT Ltd.
Page 30 of 42
NIIT Ltd.
Page 31 of 42
NIIT Ltd.
Page 32 of 42
Ticket
NIIT Ltd.
Attributes
PassengerName
Visibility
Private
Age
Private
Address
Private
Contact_no
Private
Seat_preference
Private
Meal_preference
Private
Gender
Private
SSR
Private
PNR_no
Private
Ticket_no
Private
Date_of_issue
Private
Status
Private
Class
Private
Page 33 of 42
Flight
NIIT Ltd.
Attributes
Flight_no
Visibility
Private
Date_of_flight
Private
BusinessClass_availableseats
Private
EconomyClass_availableseats
Private
Flight_no
Private
From_city
Private
To_city
Private
Departure_time
Private
Arrival_time
Private
Days_of_flight
Private
Businessclass_fare
Private
Economyclass_fare
Private
Page 34 of 42
NIIT Ltd.
Attributes
Aircraft_name
Visibility
Private
Totalseats_businessclass
Private
Totalseats_economyclass
Private
Page 35 of 42
getPassengerDetails
()
setPassengerDetails
()
validateDetails()
Ticket
bookTicket()
printTicket()
cancelTicket()
printCancellationRe
ceipt()
processPayment()
NIIT Ltd.
Public
Public
Public
Public
Private
Public
Private
Private
Page 36 of 42
Operations
processRefund()
checkReservationSt
atus()
updateReservationS
tatus()
Flight
Reservati
on
updateSeatAvailabi
lity()
checkSeatAvailabil
ity()
NIIT Ltd.
Description
Computes the amount to be
refunded to the customer in
case of ticket cancellation.
Allows the customer to check
whether his/her reservation
status is confirmed or waiting
through the online portal.
Updates the status of a ticket
from confirmed to cancelled,
waiting to confirmed, or
waiting to cancelled.
Updates the number of seats
available in a particular class
of a flight, based on the
reservation or cancellation of
tickets.
Checks if seats are available
in a particular class of a
particular flight.
Visibility
Private
Public
Public
Public
Public
Page 37 of 42
Operations
getFlightDetails()
setFlightDetails()
matchSector()
Aircraft
NIIT Ltd.
getAircraftDetails
()
setAircraftDetails
()
Description
Retrieves the details of a
flight from the database.
Updates the flight details
based on inputs from a
system user.
Gets a flight that matches a
particular sector.
Retrieves the details of an
aircraft from the database.
Updates the aircraft details
after input from system user.
Visibility
Public
Public
Public
Public
Public
Page 38 of 42
NIIT Ltd.
Page 39 of 42
NIIT Ltd.
Page 40 of 42
-PNR_no: long
-Ticket_no: int
-Date_of_issue: date
-Status: string
-Class: string
+getPassengerDetails()
+setPassengerDetails()
+validateDetails()
+bookTicket()
-printTicket()
+cancelTicket()
+printCancellationReceipt()
-processPayment()
-processRefund()
+checkReservationStatus()
+updateReservationStatus()
Flight Reservation
-Flight_no: string
-Date_of_flight: date
-Businessclass_availableseats: int
-Economyclass_availableseats: int
+updateSeatAvailability()
+checkSeatAvailability()
1
Flight
Aircraft
-Aircraft_name: string
-Totalseats_businessclass: int
-Totalseats_economyclass: int
+getAircraftDetails()
+setAircraftDetails()
-Flight_no: int
-From_city: string
-To_city: string
-Departure_time: time
-Arrival_time: time
-Days_of_flight: string
-Businessclass_fare: float
-Economyclass_fare: float
+getFlightDetails()
+setFlightDetails()
+matchSector()
NIIT Ltd.
Page 41 of 42
Page 42 of 42