Airlines Reservation System Analysis and Design
Airlines Reservation System Analysis and Design
Airlines Reservation System Analysis and Design
System
Table of Contents
1. SCOPE 3
1.1 AUDIENCE 3
1.2 ORGANIZATION 3
2. SYSTEM REQUIREMENTS SPECIFICATION 4
3. ACTIVTY DIAGRAM 5
3.1 ACTIVITY DIAGRAM FOR AIRLINES RESERVATION SYSTEM 6
4. USE CASE DIAGRAM 7
4.1 USE CASE DIAGRAM FOR AIRLINES RESERVATION SYSTEM 8
4.2 USE CASE DIAGRAM FOR USER REGISTRATION 8
4.3 USE CASE DIAGRAM FOR MEMBER LOGIN 9
4.4 USE CASE DIAGRAM FOR FLIGHT RESERVATION 9
1
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
4.5 USE CASE DIAGRAM FOR FLIGHT CANCELLATION 10
4.6 USE CASE DIAGRAM FOR AIRLINE ADMINISTRATION 10
5. UML INTERACTION DIAGRAMS 11
5.1 SEQUENCE DIAGRAMS 11
5.1.1 SEQUENCE DIAGRAM FOR USER REGISTRATION 12
5.1.2 SEQUENCE DIAGRAM FOR MEMBER LOGIN 12
5.1.3 SEQUENCE DIAGRAM FOR FLIGHT RESERVATION 13
5.1.4 SEQUENCE DIAGRAM FOR FLIGHT CANCELLATION 14
5.1.5 SEQUENCE DIAGRAM FOR AIRLINE ADMINISTRATION 15
5.2 COLLABORATION DIAGRAMS 16
5.2.1 COLLABORATION DIAGRAM FOR USER REGISTRATION 16
5.2.2 COLLABORATION DIAGRAM FOR MEMBER LOGIN 17
5.2.3 COLLABORATION DIAGRAM FOR FLIGHT RESERVATION 17
5.2.4 COLLABORATION DIAGRAM FOR FLIGHT CANCELLATION 18
5.2.5 COLLABORATION DIAGRAM FOR AIRLINE ADMINISTRATION 18
6. CLASS DIAGRAM 19
6.1 CLASS DIAGRAM FOR AIRLINES RESERVATION SYSTEM 20
7. STATE TRANSITION DIAGRAM 21
7.1 STATE TRANSITION DIAGRAM FOR AIRLINES RESERVATION SYSTEM 22
8. COMPONENT DIAGRAM 23
8.1 COMPONENT DIAGRAM FOR AIRLINES RESERVATION SYSTEM 23
9. DEPLOYMENT DIAGRAM 24
9.1 DEPLOYMENT DIAGRAM FOR AIRLINES RESERVATION SYSTEM 24
2
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
1. Scope :
1.1 Audience :
The intended users are the customers and the administrators who use the Airlines
Reservation System.
1.2 Organization :
This document describes the Airlines Reservation System requirements in terms of
system requirement, executive summary and analysis and design diagrams.
The scope of this project work is to draw and describe the UML diagrams for the
application “Airlines Reservation System”.
3
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
System Abstract –
The Airlines Reservation system facilitates the user to view the flight schedules, inquire about
the flight details, availability of seats and many more.
The major functionality of system is to allow the user to book and cancels the flights as per user
requirements.
It also provides the administrator or manager to modify existing flights or to introduce new
flights in the schedule.
A. USE CASE SPECIFICATION:<LOGIN>
1.USE CASE NAME:LOGIN
1.1.DESCRIPTION:This feature is used to enable the user to login into airline reservation
system.
2.FLOW OF EVENTS:
2.1.BASIC FLOW:
1.The user will enter the username and password.
2.If the entered details are correct then the user is allowed to access the software.
3.Then user is allowed to create account for reservations.
2.2.ALTERNATIVE FLOW:
1.If login fails suitable retry options are available
2.And an error message is displayed stating'invalid username or password'.
2.3.SPECIFIC RECQUIREMENTS:(NON-FUNCTIONAL RECQUIREMENTS)
The username and password should be at length of atleast 8 characters.The password
should contain special characters numbers and alphabets.
2.4.PRE CONDITION:
The user should login only using theii ID and password.
2.5.POST CONDITION:
4
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
Now the software validates the entered username and password.If incorrect it will show a
error message as incorrect.
2.6.EXTENSION POINT:
Not applicable.
2.FLOW OF EVENTS:
2.1.BASIC FLOW:
1.The passenger can fill up a form to provide there details.
2.The passenger should provide infromation which are compulsory in the form.
3.Personel account is created with the corresponding details.
4.Then user is taken to check the availability of flights.
2.2.ALTERNATIVE FLOW:
1.If any compulsory infromation are not filled a pop message will appear on the screen.
2.The user should fill up the left area.
3.And now an account is created with the provided details and takes to next page.
2.3.SPECIFIC RECQUIREMENTS:
Not applicable
2.4.PRE CONDITION:
The provided details should be true and valid.
2.5.POST CONDITION:
The submitted details will be saved and a success message is displayed in a popup dialogue
box.
2.6.EXTENSION POINT:
once the personel account is created it goes to check the flights and other facilities .
5
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
2.FLOW OF EVENTS:
2.1.BASIC FLOW:
1.The passenger can give the date and check with the flight seats available.
2.the passenger can also check with their respective classes.
3.the passenger can check the cost of flight seats.
4.they can check with their needed extra facilities.
5.Then user can confirm their booking in the next page.
2.2.ALTERNATIVE FLOW:
1.An error message is displayed if there is no flight in the provided date.
2.And shows other options available.
2.3.SPECIFIC RECQUIREMENTS:(NON-FUNCTIONAL RECQUIRMENTS)
Provide a valid date.
2.4.PRE CONDITION:
The flight detail for which the availability is viewed has to be already prescent in the
database.
2.5.POST CONDITION:
if any option is unsuccessfull then suitable retry options are available.
2.6.EXTENSION POINT:
After choosing the suitable flights they can confirm their booking in next page.
6
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
2.FLOW OF EVENTS:
2.1.BASIC FLOW:
1.the passenger can enter the start and destination place.
2.the passenger can also provide the date and time of flight.
3.the passenger can also select the number of respective seats wanted.
3.Now the availability is checked and booking can be confirmed.
4.if user have any inconveniences they can cancel their ticket in next page.
2.2.ALTERNATIVE FLOW:
1.If booking fails suitable retry options are available.
2.And an error message is displayed stating'booking is not confirmed'.
2.3.SPECIFIC RECQUIREMENTS:(UI RECQUIREMENTS)
The input details should be valid.
2.4.PRE CONDITION:
review of the booking ticket is shown to the passenger before booking is confirmed and
then the ticket is booked.
2.5.POST CONDITION:
An error message is displayed if the ticket is not booked.
2.6.EXTENSION POINT:
Booking is confirmed and proceed to make payment.
7
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
2.FLOW OF EVENTS:
2.1.BASIC FLOW:
1.Many payment methods are shown to the passenger to make there payment.
2.Passenger should give the bank details for the respective payment method.
3.An OTP pin is send through the phone number or Email id to confirm the payment.
4.And the payment is validated with the bank.
4.The payment is made after the verification and validation.
2.2.ALTERNATIVE FLOW:
1.If verification or validation fails suitable retry options are available.
2.And an error message is displayed stating'Payment cancelled'.
2.3.SPECIFIC RECQUIREMENTS:(UI RECQUIREMENTS)
Provided payment details should be valid.
2.4.PRE CONDITION:
Payment should be make with correct details.A messsge is sent to the email after payment
is done and a report is generated.
2.5.POST CONDITION:
Now the software validates the entered details to make payment.If incorrect it will show a
error message as incorrect.
2.6.EXTENSION POINT:
Not applicable.
2.FLOW OF EVENTS:
2.1.BASIC FLOW:
1.The booking is cancelled by the passenger .
8
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
2.The corresponding reason for cancellation is asked to the passenger.
3.And the reason of cancellation is send to the admin.
2.2.ALTERNATIVE FLOW:
1.The cancellation is confirmed.
2.the feedback is also fetched from the passenger.
3.The money is refunded to the passenger.
2.3.SPECIFIC RECQUIREMENTS:(UI RECQUIREMENTS)
The ticket details for cancellation should be given correctly.
2.4.PRE CONDITION:
The passenger should enter a valid feedback to cancel the ticket.
2.5.POST CONDITION:
Now the software validates the entered details and feedback.And the ticket is cancelled.
2.6.EXTENSION POINT:
Not applicable.
2.FLOW OF EVENTS:
2.1.BASIC FLOW:
1.Name of the flight,date and time has to be entered by the employee.
2.The report is generated and displayed.
2.2.ALTERNATIVE FLOW:
1.If task fails suitable retry options are available.
2.And an error message is displayed stating'report generation failed'.
2.3.SPECIFIC RECQUIREMENTS:
The input details should be valid.
2.4.PRE CONDITION:
9
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
The available number of seats and booking details after reservation has to be updated in the
database for the flight.
2.5.POST CONDITION:
Now the software validates if successful,generated report is displayed.Error message and
suitable retry options are provided if generation of report fails.
2.6.EXTENSION POINT:
Not applicable.
3. Activity Diagram:
Activity diagram models the logic from workflow to use cases to methods. It borrows most
of the notations from the flowchart but has added the concept of concurrency to support
many modern applications. The arrow traces the flow from beginning to end through decision
and loops, while identifying each logic steps in the process.
Activity diagrams are typically used for business process modeling, for modeling the logic
captured by a single use case or usage scenario, or for modeling the detailed logic of a
business rule. Although UML activity diagrams could potentially model the internal logic of
a complex operation it would be far better to simply rewrite the operation so that it is simple
enough that you don’t require an activity diagram. In many ways UML activity diagrams are
the object-oriented equivalent of flow charts and data flow diagrams (DFDs) from structured
development.
The easiest way to visualize an Activity diagram is to think of a flowchart of a code. The
flowchart is used to depict the business logic flow and the events that cause decisions and
actions in the code to take place.
Activity diagrams represent the business and operational workflows of a system. An Activity
diagram is a dynamic diagram that shows the activity and the event that causes the object to
be in the particular state.
So, what is the importance of an Activity diagram, as opposed to a State diagram? A State
diagram shows the different states an object is in during the lifecycle of its existence in the
system, and the transitions in the states of the objects. These transitions depict the activities
causing these transitions, shown by arrows.
An Activity diagram talks more about these transitions and activities causing the changes in
the object states.
10
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
Activity diagrams are useful because:
11
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
12
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
Determining features (requirements). New use cases often generate new requirements as
the system is analyzed and the design takes shape.
Communicating with clients. Their notational simplicity makes use case diagrams a good
way for developers to communicate with clients.
Generating test cases. The collection of Diagrams for a use case may suggest a suite of test
cases for those Diagrams.
The various use-case Diagrams for the system are as shown in below diagram.
User - User in the system enquiry about flight details and register to become a member
and make reservation and cancellation.
Member - Member within the system make reservation to book flight or perform cancellation
and print ticket.
Admin - Admin/manager generates report and update the flight schedule.
Create account - Allow user to register to create an account so user can make reservation and
.
Login - Allow member to login to access the account.
Reservation - Member make reservation by entering flight details, passenger details to book
ticket.
Cancellation - Member make cancellation by updating passenger details or reservation
details.
Payment - Allow member to make payment.
Payment Validation - Allow credit card processor to validate the credit card details.
Help center - Allow passenger to contact incase of emergencyin the flight details.
Report Generation - Allow admin to generate report based on requirements.
13
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
14
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
15
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
16
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
1. They have a narrow focus that helps us to see the specific questions, commands and
data communicated during the execution of a specific task.
2. They explicitly identify the communication required to fulfill an interaction. They
help us to identify the interfaces required by the classes.
3. They identify the objects that take part in the interaction. They help us to validate the
features of a class.
4. They identify the data passed as part of the interaction.
17
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
18
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
19
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
20
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
21
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
objects is denoted by arrows. To identify the sequence of invocation of these objects, a
number is placed next to each of these arrows.
1. Shows the structural requirement for completing a task. They identify the objects that
participate in an interaction.
2. Shows the interface requirement for a particular class.
3. Identify the data that is passed as a part of the interaction.
22
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
23
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
24
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
6. Class Diagram
Class diagram, one of the most commonly used diagrams in object-oriented system, models
the static design view for a system. The static view mainly supports the functional
requirements of a system – the services the system should provide to the end users. We will
see from our practical experience that lots of fun comes out when modeling out system with
class diagrams.
A class diagram shows a set of classes, interfaces, and collaborations and their relationships.
Class diagrams involve global system description, such as the system architecture, and detail
aspects such as the attributes and operations within a class as well. The most common
contents of a class diagram are:
1. Classes
2. Interfaces
3. Collaborations
4. Dependency, generalization, and association relationships
5. Notes and constraints
The class diagram models the definition of resources of the system. The class diagram is the
source for code generation and the target for reverse engineering.
25
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
26
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
The state transition diagram represents a single object. It shows how external factors cause
changes in the object over its lifetime. It captures the behavior of a software system. They
provide an excellent way of modeling communications that occurs with external entities via a
protocol or event.
State diagrams are used to give an abstract description of the behavior of a system. This
behavior is analyzed and represented in series of events that could occur in one or more
possible states. Hereby "each diagram usually represents objects of a single class and tracks
the different states of its objects through the system".
The following are the basic notational elements that can be used to make up a diagram:
1. Identify the specific responses of an object to everything that can happen to the
object.
2. Identifies what events an object will and will not respond.
3. Validate the data needed to define the state of the object and the attributes affected by
the change.
4. Helps in finding the internal effects of behavior that can not be seen using interaction
based diagrams.
27
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
28
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
8. Component Diagram :
The component diagram represents pieces of software in the implementation environment. It
models the implementation view of the software. We can use component to represent source
code, XML or any piece of software. When using large software system it is common to
break the software in to manageable subsystems. In UML component classifier represents
this. A component is a replaceable, executable piece of larger system whose implementation
details are hidden. The functionality provided by a component is specified by a set of
provided interfaces that the component realizes. In addition to providing interfaces, a
component may require interfaces in order to perform. These are called required interfaces.
Components are designed to be reused.
<<GUI>> <<INFRASTRUCTURE>>
WEB FLIGHT RESERVATION
BROWSER SYSTEM
MYSQL
29
TH
MCA 4 SEMESTER
Object Oriented Modeling and Design Airlines Reservation
System
9. Deployment Diagram :
The deployment diagram models the hardware of the implementing environment. Each node
on a deployment diagram typically represents the type of hardware such as disk drive, a
client PC, a server or a processor. A node may also represent a human being or organizational
unit. Nodes are like classes. They represent a type of device, not a specific device, and the
features of each device. Like classes they are related using association that explains how the
nodes may be connected.
Deployment diagrams are valuable because:
1. They model the hardware platform for a system.
2. Identify hardware capabilities that affects performance planning and software
configuration.
30
TH
MCA 4 SEMESTER