







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








The main aim of the entire activity is to automate the process of day to day activities of Hotel like Room activities, Admission of a New Customer, Assign a room according to customer’s demand, checkout of a computer and releasing the room and finally compute the bill etc. INTRODUCTION AND PROBLEM DESCRIPTION: I have tried my best to make the complicated process of HOTEL RESERVATIONSYSTEM easy by simple modeling of UML diagrams. The main purpose of my exercise is performing each User’s activity in computerized way rather than manually which is time consuming. This project is used by two types of users. Online Users. Administrator (management of the Hotel). Online users can see the required articles or news Administrator can maintain daily updates in the hotel records. Administrator ismust be an authorized user. He can further change the password. There is the facility for password recovery, logout etc. This system has been designed to computerize the following functions that are performed:
understanding of the system and the clear understanding of the system functionality will allow for the correct software to be developed for the end user. From this SRS, the system can be designed, constructed, and finally tested. OVERVIEW: The SRS is organized into two main sections. O v e r a l l D e s c r i p t i o n. S p e c i f i c R e q u i r e m e n t s. The Overall Description This section describes the general factors that affect the product and its requirements. PRODUCT PERSPECTIVE This online hotel reservation system is the stand-alone system. It Is totally self contained. Hardware Interfaces This system will be placed on PC’s throughout the hotel. Software Interfaces In this system, we maintain two data bases. These databases include hotel rooms and customer’s information. These can be modified by the end users. The room databases will include the room numbers and if they are vacant or occupied. The customers’ information database maintains all the information about the customer such as name, number of occupants, assigned room, default room rate, phone number, whether or not the room is guaranteed, credit card number etc. P r o d u c t F u n c t i o n s Reservation and Booking system
S o f t w a r e I n t e r f a c e s The system shall interface with an oracle or access database. Hardware Interfaces The system shall run on Microsoft Windows based system. Communication Interface The system shall be standalone product that does not require any communication interfaces. FUNCTIONAL REQUIREMENTS Functional requirements define the fundamental actions that system must perform. Two categories in Functional Requirements:
A Use Case specifies the behavior of a system or a part of a system and is a description of a set of sequences of actions. Use Case Diagram :Use case diagram shows the relationship among use cases within a system or semantic entity and their actors. The relationships area associations between the actors and the use cases, generalization between the actors. Actors in Online Hotel Reservation System: Client. Travel Agent. Hotel Receptionist. Hotel Administrator .Use cases with brief description: Inquire Information: The customer needs to interact with the hotel interface through the personal system. It involves set of actions. Reserve/Update Reservation: To reserve the room, the customer needs to interact with the website. If the customer already reserved room, want some updates regarding the increase in occupancy, he must able to update the data by using his login and password which can be provided by the administrator. Pay for Hotel: This involves set of actions. If the customer ready to book or reserve the room, he needs to enter his complete details and occupancy level. After furnish the details in the form, he demanded to pay the advance. That can be through credit card/debit card. He must enter the correct card number. Cancel Reservation: The system software should support all the requests made by the each authorized customer. If the customer not satisfied with the facilities and occupancy of each room after few hours he checked in, he may want to cancel the reservation for remaining hours. System software must be in a position that the payment for the staying hours should captured and cancel the reservation. Update Hotel Information: According to the customer feedback, the administrator is update the hotel information such as offers, discounts on rooms and meals provided by the hotel. When the customers’ checkout from the hotel, the database need to Update and show the availability to the new customers. Return Payment: This use case extends cancel reservation. Whenever the customer wants to cancel the reservation, system must cancel the reservation and return the payment which remains. Each and every transaction made by the customer or administrator must be updated with the customer database and room database. This is the brief explanation about the Use cases in the hotel reservation system which helps in modeling the dynamic aspects of the system. Generalization relationship exists between hotel receptionist and hotel administrator. The relationship between them like child and parent relation. Here Administrator assumes as a parent whereas Receptionist acts as a child.
Hotel. Room Type. Employee. Travel Agent. Hotel Booking. Room. Room Booking. Person. Client. Credit Card. Interfaces for Reservation System: Booking is an interface which can be declared to provide the operations such as doBooking(), cancelBooking() to the classes Employee, Travel Agent and Client where the implementation of those methods can be done. Here the relationship between the class and interface is the realization where classes realize the interface such that the interface give the contract and the classes need to carry out that work. This is the brief description about the class diagram and the classes, interfaces declared for the online hotel reservation system.
Collaboration diagrams are also interaction diagrams. They convey the same information as sequence diagrams, but they focus on object roles instead of the times that messages are sent. In the sequence diagram, object roles are the vertices and messages are the connecting links. The object-role rectangles are labled with either class or object names (or both). Class names are preceded by colons (:).Each message in collaboration diagram has a sequence number. The top level message is numbered 1.Messages at the same level have the same decimal prefix but suffixes of 1, 2, etc.In the diagram which is at next page, it is clear that the message of make Reaservation() or doBooking() passing from one object to another followed by the sequence number from one to another object as 1.1,1.1.1, 1.1.1.2, etc.
Activity Diagram: An activity diagram is essentially a fancy flowchart. Activity diagrams and state chart diagrams are related. While a state chart diagram focuses on an attention on an object undergoing a process, an activity diagram focuses on the flow of activities involved in a single process. The activity diagram show how the activities depend on one another. Diagram description: The activities are rounded rectangles. The activity diagram for the customer who wants to check out of the room from the hotel with swim lanes can be shown in the diagram. Each swim lane talks about each object i.e. which object is responsible for which activity. A single transition comes out of each activity, connecting it to the next activity .Here we are dealing with customer and receptionist/administrator. From the diagram, the activity started by the customer object which starts as request made by the customer wants to check out of the room at desk top interface. Then it given a form such that asking about the customer details which are already loaded in the database. If the customer enters the information which matches with the database information, then the customer bill should be printed. And then the sequence of activities is done step by step such that checkout customer, unassigned room, finally gives the customer bill to the customer. Then the customer gets the bill and simply pays by the credit card and simply leaves the room. If the details entered by the customer at the starting stage are not matched with the information from the database, the customer must be informed that he didn’t check into the hotel room.
Component Diagram: It helps to model the physical aspects of object-oriented systems. A component diagram shows the organization and dependencies among a set of components. We use the component diagrams to model the static implementation view of a system. This involves modeling the physical things that reside on anode such as executables, libraries, tables, files, and documents. A component diagram commonly contains: •Components. •Interfaces. •Relationships. Component diagrams mainly used to model source code, executable releases, physical databases and adaptable systems. In this online hotel reservation system we maintain mainly two databases i.e. customer database and room database. Mainly the information about the customer and rooms are stored in databases in tabular forms (relational).These tables are components. In the diagram, two components which are executable files areinquireroom.exe and inquire hotel.exe Which are having the documents regarding the available rooms and vacant rooms. And also the customer information. There is a dependency relationship between the two components in whichinquireroom.exe depends on inquirehotel.exe