SlideShare a Scribd company logo
INNOVATION
             in
    Software Engineering

Topic: Sequence Diagram of
Hotel Management System




                  Made by:-

                  Sushil Kumar Mishra (ECE-I)

                  Roll no. – 05311502809



             1
Overview
A sequence diagram shows, as parallel vertical lines (lifelines), different processes or objects that live
simultaneously, and, as horizontal arrows, the messages exchanged between them, in the order in which
they occur. This allows the specification of simple runtime scenarios in a graphical manner.

For instance, the UML 1.x diagram on the right describes the sequences of messages of a (simple)
restaurant system. This diagram represents a Patron ordering food and wine, drinking wine then eating
the food, and finally paying for the food. The dotted lines extending downwards indicate the timeline. Time
flows from top to bottom. The arrows represent messages (stimuli) from an actor or object to other
objects. For example, the Patron sends message 'pay' to the Cashier. Half arrows indicate asynchronous
method calls.




      Example:




                                                      2
Sequence Diagram - Login



                                             : SignIn.aspx                                                   : EditAccount.aspx
       : User

            1: user provides requested information

                                                                        2: new                      : User


                                                      3: verifyLogin(userName:String,password:String)


                                                     4: Verify




                                                                                   5: [IsVerify]




 Sequence diagram shows that user successfully login for editing
 his/her account




                                                                    3
Sequence Diagram– Making a
Reservation


                                              : FindHotel.aspx                                 : Hotel Chain                                         : HotelResult.aspx               : RoomPref erences.aspx                                                                            :Conf irmReserv ation.aspx
               : User



                   1: prov ide requested inf ormation
                                                         2: f indHotel(city :String, state:String)


                                                                                                                   3: new                  : Hotel


                                                                                                      4: f indHotel(city :String, state:String)




                                                        5: v erif y
                                                                                                       6: [IsVerif y ]




                                                                            7: selectHotel()
                                                                                                                                                                      8: room pref erences




                                                                                                      9: select room pref erences

                                                                                                                                                                                                            10: new              : Room


                                                                                                                                                                                                           11: getRoomAv l()


                                                                                                                                                                                                 12: v erif y

                                                                                                        13: reserv e

                                                                                                                                                                                                                           14: [IsVerif y ] new                         : Reserv ation


                                                                                                                                                                                                                   15: makeReserv ation(r:Reserv ation)




                                                                                                                                                                                                 16: Verif y




                                                                                                                                                                                                                                       17: [IsVerif y ] conf irmation




 This sequence diagram shows successf ull reserv ation and user already logged in.
 Operation Signature:
 getRoomAv l(hotelID : String, bedTy pe : String, smoking : String, checkIn : Date, checkOut : Date) : Room




                                                                                                                                                         4
Sequence Diagram–Canceling
a Reservation

                                : CancelReservation.aspx                                                 : ConfirmCancelReservation.aspx
  : User

       1: provides requested information
                                                            2: new                       : Reservation


                                              3: getReservation(reservationNumber:Integer)


                  4: cancel()



                                             5: cancelReservation(reservationNumber:Integer)




                                            6: verify


                                                                             7: [IsVerify]




                                                                  5
Sequence Diagram–
Requesting an Account


                                               : RequestAccount.aspx                                               : Mail
                   : Agent




                       1: provide requested information

                                                                          2: new               : TravelAgent


                                                                        3: requestAccount()

                                                            4: verify

                                                                         5: [verify] sendMail(e_address:String)




 The sequence diagram shows that the travel agent successfully applies to an account.
 Operation Signature:
 requestAccount(userName : String, email : String, password : String, companyName : String, status : String, phone : String, address : String,
 city : String, state : String, zip : String) : Boolean




                                                                            6
Sequence Diagram–
Generating a Report


                                   : Report.aspx                                              : TravelAgent
  : Agent




       1: provides requested information
                                            2: generateReport(startingDate:Date, endingDate:Date)




                  3: Report




                                                     7

More Related Content

What's hot

Hotel Object Oriented Analysis
Hotel Object Oriented AnalysisHotel Object Oriented Analysis
Hotel Object Oriented AnalysisMadhani Harsh
 
Hostel Management System(HMS)
Hostel Management  System(HMS)Hostel Management  System(HMS)
Hostel Management System(HMS)
Omkar Walavalkar
 
Online Hotel Management System
Online Hotel Management SystemOnline Hotel Management System
Online Hotel Management System
Sanu Subham
 
Hotel reservation system
Hotel reservation systemHotel reservation system
Hotel reservation system
Sundas Kayani
 
Hotel Management System SRS
Hotel Management System SRS Hotel Management System SRS
Hotel Management System SRS
Paras
 
Hotel Management System
Hotel Management System Hotel Management System
Hotel Management System
Kusum Sankhala
 
PPT FOR ONLINE HOTEL MANAGEMENT
PPT FOR ONLINE HOTEL MANAGEMENTPPT FOR ONLINE HOTEL MANAGEMENT
PPT FOR ONLINE HOTEL MANAGEMENT
Jaya0006
 
Leave Management System: Software Requirements Specification Document(SRS)
Leave Management System: Software Requirements Specification Document(SRS) Leave Management System: Software Requirements Specification Document(SRS)
Leave Management System: Software Requirements Specification Document(SRS)
Abhilasha Lahigude
 
Hotel reservation system
Hotel reservation systemHotel reservation system
Hotel reservation system
Manoj Malshan
 
Hotel Management System
Hotel Management SystemHotel Management System
Hotel Management System
Adil Ayyaz
 
Hotel Reservation System Project
Hotel Reservation System ProjectHotel Reservation System Project
Hotel Reservation System Project
raj_qn3
 
Hms project report
Hms project reportHms project report
Hms project report
Simranjitkaur89
 
Hotel Management with Hibernate MVC Minor Project
Hotel Management with Hibernate MVC Minor ProjectHotel Management with Hibernate MVC Minor Project
Hotel Management with Hibernate MVC Minor Project
james parmar
 
Documentation project of college management [1]
Documentation project of college management [1]Documentation project of college management [1]
Documentation project of college management [1]
Priyaranjan Verma
 
Presentation Of Hostel Management System SRS
Presentation Of Hostel Management System SRSPresentation Of Hostel Management System SRS
Presentation Of Hostel Management System SRS
hira akram
 
Hotel management system
Hotel management systemHotel management system
Hotel management system
Roni Roy
 
Hotel management synopsis
Hotel management synopsisHotel management synopsis
Hotel management synopsis
Rahulraj Nirala
 
Hotel management present
Hotel management presentHotel management present
Hotel management present
Arman Ahmed
 
Hostel management system (5)
Hostel management system (5)Hostel management system (5)
Hostel management system (5)
PRIYANKMZN
 
Payroll Management System
Payroll Management SystemPayroll Management System
Payroll Management System
Dheeraj Jha
 

What's hot (20)

Hotel Object Oriented Analysis
Hotel Object Oriented AnalysisHotel Object Oriented Analysis
Hotel Object Oriented Analysis
 
Hostel Management System(HMS)
Hostel Management  System(HMS)Hostel Management  System(HMS)
Hostel Management System(HMS)
 
Online Hotel Management System
Online Hotel Management SystemOnline Hotel Management System
Online Hotel Management System
 
Hotel reservation system
Hotel reservation systemHotel reservation system
Hotel reservation system
 
Hotel Management System SRS
Hotel Management System SRS Hotel Management System SRS
Hotel Management System SRS
 
Hotel Management System
Hotel Management System Hotel Management System
Hotel Management System
 
PPT FOR ONLINE HOTEL MANAGEMENT
PPT FOR ONLINE HOTEL MANAGEMENTPPT FOR ONLINE HOTEL MANAGEMENT
PPT FOR ONLINE HOTEL MANAGEMENT
 
Leave Management System: Software Requirements Specification Document(SRS)
Leave Management System: Software Requirements Specification Document(SRS) Leave Management System: Software Requirements Specification Document(SRS)
Leave Management System: Software Requirements Specification Document(SRS)
 
Hotel reservation system
Hotel reservation systemHotel reservation system
Hotel reservation system
 
Hotel Management System
Hotel Management SystemHotel Management System
Hotel Management System
 
Hotel Reservation System Project
Hotel Reservation System ProjectHotel Reservation System Project
Hotel Reservation System Project
 
Hms project report
Hms project reportHms project report
Hms project report
 
Hotel Management with Hibernate MVC Minor Project
Hotel Management with Hibernate MVC Minor ProjectHotel Management with Hibernate MVC Minor Project
Hotel Management with Hibernate MVC Minor Project
 
Documentation project of college management [1]
Documentation project of college management [1]Documentation project of college management [1]
Documentation project of college management [1]
 
Presentation Of Hostel Management System SRS
Presentation Of Hostel Management System SRSPresentation Of Hostel Management System SRS
Presentation Of Hostel Management System SRS
 
Hotel management system
Hotel management systemHotel management system
Hotel management system
 
Hotel management synopsis
Hotel management synopsisHotel management synopsis
Hotel management synopsis
 
Hotel management present
Hotel management presentHotel management present
Hotel management present
 
Hostel management system (5)
Hostel management system (5)Hostel management system (5)
Hostel management system (5)
 
Payroll Management System
Payroll Management SystemPayroll Management System
Payroll Management System
 

Viewers also liked

Domain Modeling
Domain ModelingDomain Modeling
Domain Modeling
Harsh Jegadeesan
 
Hotel management or reservation system document
Hotel management or reservation system document Hotel management or reservation system document
Hotel management or reservation system document
prabhat kumar
 
Software engineering
Software engineeringSoftware engineering
Software engineering
Hitesh Mohapatra
 
SRS document for Hotel Management System
SRS document for Hotel Management SystemSRS document for Hotel Management System
SRS document for Hotel Management System
Charitha Gamage
 
Documentation Hotel Management System
Documentation Hotel Management SystemDocumentation Hotel Management System
Documentation Hotel Management System
Salman Dayal
 
Software project management
Software project managementSoftware project management
Software project managementR A Akerkar
 
Software engineering presentation
Software engineering presentationSoftware engineering presentation
Software engineering presentationMJ Ferdous
 

Viewers also liked (8)

Domain Modeling
Domain ModelingDomain Modeling
Domain Modeling
 
Hotel management or reservation system document
Hotel management or reservation system document Hotel management or reservation system document
Hotel management or reservation system document
 
Software engineering
Software engineeringSoftware engineering
Software engineering
 
Domain model
Domain modelDomain model
Domain model
 
SRS document for Hotel Management System
SRS document for Hotel Management SystemSRS document for Hotel Management System
SRS document for Hotel Management System
 
Documentation Hotel Management System
Documentation Hotel Management SystemDocumentation Hotel Management System
Documentation Hotel Management System
 
Software project management
Software project managementSoftware project management
Software project management
 
Software engineering presentation
Software engineering presentationSoftware engineering presentation
Software engineering presentation
 

More from Sushil Mishra

Heart beat monitor using AT89S52 microcontroller
Heart beat monitor using AT89S52 microcontrollerHeart beat monitor using AT89S52 microcontroller
Heart beat monitor using AT89S52 microcontroller
Sushil Mishra
 
Opt sim manual
Opt sim manualOpt sim manual
Opt sim manual
Sushil Mishra
 
Consumer electronics lab manual
Consumer electronics lab manualConsumer electronics lab manual
Consumer electronics lab manual
Sushil Mishra
 
Summer training at Doordarshan presentation
Summer training at Doordarshan presentationSummer training at Doordarshan presentation
Summer training at Doordarshan presentation
Sushil Mishra
 
List of microcontroller 8051 projects
List of microcontroller 8051 projectsList of microcontroller 8051 projects
List of microcontroller 8051 projects
Sushil Mishra
 
Trigger and cursor program using sql
Trigger and cursor program using sqlTrigger and cursor program using sql
Trigger and cursor program using sqlSushil Mishra
 
c-programming-using-pointers
c-programming-using-pointersc-programming-using-pointers
c-programming-using-pointers
Sushil Mishra
 
microprocessor 8086 lab manual !!
microprocessor 8086 lab manual !!microprocessor 8086 lab manual !!
microprocessor 8086 lab manual !!Sushil Mishra
 
Tachometer using AT89S52 microcontroller with motor control
Tachometer using AT89S52 microcontroller with motor controlTachometer using AT89S52 microcontroller with motor control
Tachometer using AT89S52 microcontroller with motor control
Sushil Mishra
 
Report on industrial training at DDK, Mandi House, Delhi -01
Report on industrial training at DDK, Mandi House, Delhi -01Report on industrial training at DDK, Mandi House, Delhi -01
Report on industrial training at DDK, Mandi House, Delhi -01
Sushil Mishra
 
Quiz using C++
Quiz using C++Quiz using C++
Quiz using C++
Sushil Mishra
 
Mythological calender using C++
Mythological calender using C++Mythological calender using C++
Mythological calender using C++
Sushil Mishra
 
Laser, its working & hazards
Laser, its working & hazardsLaser, its working & hazards
Laser, its working & hazards
Sushil Mishra
 
Designing a notch filter using orcad 15.3
Designing a notch filter using orcad 15.3Designing a notch filter using orcad 15.3
Designing a notch filter using orcad 15.3
Sushil Mishra
 

More from Sushil Mishra (14)

Heart beat monitor using AT89S52 microcontroller
Heart beat monitor using AT89S52 microcontrollerHeart beat monitor using AT89S52 microcontroller
Heart beat monitor using AT89S52 microcontroller
 
Opt sim manual
Opt sim manualOpt sim manual
Opt sim manual
 
Consumer electronics lab manual
Consumer electronics lab manualConsumer electronics lab manual
Consumer electronics lab manual
 
Summer training at Doordarshan presentation
Summer training at Doordarshan presentationSummer training at Doordarshan presentation
Summer training at Doordarshan presentation
 
List of microcontroller 8051 projects
List of microcontroller 8051 projectsList of microcontroller 8051 projects
List of microcontroller 8051 projects
 
Trigger and cursor program using sql
Trigger and cursor program using sqlTrigger and cursor program using sql
Trigger and cursor program using sql
 
c-programming-using-pointers
c-programming-using-pointersc-programming-using-pointers
c-programming-using-pointers
 
microprocessor 8086 lab manual !!
microprocessor 8086 lab manual !!microprocessor 8086 lab manual !!
microprocessor 8086 lab manual !!
 
Tachometer using AT89S52 microcontroller with motor control
Tachometer using AT89S52 microcontroller with motor controlTachometer using AT89S52 microcontroller with motor control
Tachometer using AT89S52 microcontroller with motor control
 
Report on industrial training at DDK, Mandi House, Delhi -01
Report on industrial training at DDK, Mandi House, Delhi -01Report on industrial training at DDK, Mandi House, Delhi -01
Report on industrial training at DDK, Mandi House, Delhi -01
 
Quiz using C++
Quiz using C++Quiz using C++
Quiz using C++
 
Mythological calender using C++
Mythological calender using C++Mythological calender using C++
Mythological calender using C++
 
Laser, its working & hazards
Laser, its working & hazardsLaser, its working & hazards
Laser, its working & hazards
 
Designing a notch filter using orcad 15.3
Designing a notch filter using orcad 15.3Designing a notch filter using orcad 15.3
Designing a notch filter using orcad 15.3
 

Sequence Diagram of Hotel Management System

  • 1. INNOVATION in Software Engineering Topic: Sequence Diagram of Hotel Management System Made by:- Sushil Kumar Mishra (ECE-I) Roll no. – 05311502809 1
  • 2. Overview A sequence diagram shows, as parallel vertical lines (lifelines), different processes or objects that live simultaneously, and, as horizontal arrows, the messages exchanged between them, in the order in which they occur. This allows the specification of simple runtime scenarios in a graphical manner. For instance, the UML 1.x diagram on the right describes the sequences of messages of a (simple) restaurant system. This diagram represents a Patron ordering food and wine, drinking wine then eating the food, and finally paying for the food. The dotted lines extending downwards indicate the timeline. Time flows from top to bottom. The arrows represent messages (stimuli) from an actor or object to other objects. For example, the Patron sends message 'pay' to the Cashier. Half arrows indicate asynchronous method calls. Example: 2
  • 3. Sequence Diagram - Login : SignIn.aspx : EditAccount.aspx : User 1: user provides requested information 2: new : User 3: verifyLogin(userName:String,password:String) 4: Verify 5: [IsVerify] Sequence diagram shows that user successfully login for editing his/her account 3
  • 4. Sequence Diagram– Making a Reservation : FindHotel.aspx : Hotel Chain : HotelResult.aspx : RoomPref erences.aspx :Conf irmReserv ation.aspx : User 1: prov ide requested inf ormation 2: f indHotel(city :String, state:String) 3: new : Hotel 4: f indHotel(city :String, state:String) 5: v erif y 6: [IsVerif y ] 7: selectHotel() 8: room pref erences 9: select room pref erences 10: new : Room 11: getRoomAv l() 12: v erif y 13: reserv e 14: [IsVerif y ] new : Reserv ation 15: makeReserv ation(r:Reserv ation) 16: Verif y 17: [IsVerif y ] conf irmation This sequence diagram shows successf ull reserv ation and user already logged in. Operation Signature: getRoomAv l(hotelID : String, bedTy pe : String, smoking : String, checkIn : Date, checkOut : Date) : Room 4
  • 5. Sequence Diagram–Canceling a Reservation : CancelReservation.aspx : ConfirmCancelReservation.aspx : User 1: provides requested information 2: new : Reservation 3: getReservation(reservationNumber:Integer) 4: cancel() 5: cancelReservation(reservationNumber:Integer) 6: verify 7: [IsVerify] 5
  • 6. Sequence Diagram– Requesting an Account : RequestAccount.aspx : Mail : Agent 1: provide requested information 2: new : TravelAgent 3: requestAccount() 4: verify 5: [verify] sendMail(e_address:String) The sequence diagram shows that the travel agent successfully applies to an account. Operation Signature: requestAccount(userName : String, email : String, password : String, companyName : String, status : String, phone : String, address : String, city : String, state : String, zip : String) : Boolean 6
  • 7. Sequence Diagram– Generating a Report : Report.aspx : TravelAgent : Agent 1: provides requested information 2: generateReport(startingDate:Date, endingDate:Date) 3: Report 7