The Hotel Reservation System Case Computer Science Essay

Published:

This essay has been submitted by a student. This is not an example of the work written by our professional essay writers.

Use Case Diagram and Class Diagram. Create a use case diagram and a class diagram from the following problem description of a hotel reservation system. Should you find ambiguities (or possibly contraditions) in the given documentation, then clearly write any assumptions that you might make in resolving them. If the purpose of a Use Case might not be clear from its name, then provide a one sentence description.

A.1 Case Study: Hotel Reservation System (excerpt from the ISO/IEC TR 14143-4)

A.1.1 Overview

The hotel reservation system is part of an accommodation system of a general hotel system. This section provides an overview of the requested system. The detailed functionality of the hotel reservation system together with the navigation to reach it within the hotel system will be described in the next section.

The reservation system supports the following business functions related to the letting of hotel rooms:

- maintain reservations

- confirm reservations

Room data used relates to room type, price, and description (in Dutch, English, French, or German), and anyone can make a reservation for a room type. The System confirms a reservation in either English, Dutch, German or French. It is possible to cancel a reservation.

The system uses a number of general data entities, which are maintained by other parts of the hotel accommodation system:

- HOTEL, data includes: name, address, telephone, telex, fax, hotel manager name,

- COUNTRY, data includes country code and country name, and

- ROOM and ROOM TYPE, describe a hotel room and the various room classes.

The hotel reservation system ensures consecutive numbering by storing the last issued reservation number in a file called "PARAMETERS."

The following general requirements apply to all parts of the hotel accommodation system:

- help information must be available on screen level and field level,

- error messages are standard on Line 24 of the screen.

A.1.2 Detailed specifications

To identify the type of data entered into the accommodation system the menu layouts in this specification use a string of "9" to denote numeric and a string of "x" to denote alphanumeric data.

A.1.2.1 Navigation

A.1.2.1.1 Main menu of hotel system

The main menu of the hotel system offers two choices: accommodation and invoice & payment. The reservation system is part of the accommodation system. Screen layout for the main menu:

Functions:

F10 : Exit application

Screen elements:

Menu choice, Hotel name

A.1.2.1.2 Accommodation menu selections

Screen layout for the accommodation menu:

Function:

F10 : Return to Main menu

Screen elements:

Menu choice, Hotel name

Note: The reservation system functions are reached via the first option: Reservation.

A.1.2.2 Functions

A.1.2.2.1 Function: RES Reservation

A reservation request can be entered using the screen RES. All data except the reservation number is entered. When changing the reservation data using screen RES, the reservation number can be found by name, or part of a name. All data, except reservation number, can be changed. If there is more than one reservation with the same name, the selection - screen (SEL- RES) is shown.

The system further checks if the stated quantity of rooms for the desired room type is available in the desired period (not occupied or not reserved). "Being occupied" is checked on the basis of the data: room type, start date, number of days, and quantity of reserved rooms.

If necessary more room types can be stored for the same period. Only room type and quantity of rooms can be entered.

If the request can be met, the acceptance screen ACP-RES stores the reservation and a confirmation of the reservation (CON-RES) is produced for the billing address. If the request cannot be met, room type report (RT-REP) is called to look up an alternative choice.

Used screens: RES (request for reservation), SEL-RES (selection reservations), ACP-RES (accept reservation), RT-REP (room type report), CON-RES (confirmation of reservation).

Screen layout for RES(ervation) function:

Functions:

F1 : Continue reservation for the same period

F2 : Confirm reservation

F3 : Change reservation data (except reservation number) of this reservation number

F10: Return to previous menu

Screen elements:

Arrival date

Street number

Name

City

Post code

Street

Telephone number

Country code

Hotel name

Language code

Number of days

Quantity

Reservation number

Room type

A.1.2.2.2 Function: ACP-RES Accept reservation

This function is performed by function RES when a reservation request can be met. It displays the reservation details and the assigned reservation number. An accepted reservation can then be confirmed.

Screen layout for ACP-RES function:

Functions:

F1 : Continue reservation

F2 : Accept reservation, print confirmation, and return to previous menu

F10: Return to previous menu

Screen Elements:

Arrival date

Name

Hotel name

Number of days

Quantity

Reservation number

Room type

A.1.2.2.3 Function: SEL-RES Select Reservation

Reservation report based on the partial name of the one who makes the reservation. This function is activated by RES when a reservation is accessed by billing name and there is more than one reservation stored for that name.

Screen layout for SEL-RES function:

Functions:

F1 : Select a reservation and return to previous screen

F9 : Return to previous screen

F10: Return to previous menu

Screen elements:

Arrival date

Name

City

Hotel name

Reservation number

A.1.2.2.4 Function: RT-REP Room Type Report

This report is provided when a requested room type is not available. Room type report shows the quantity of rooms which:

- are not occupied, and

- are not reserved

Screen layout for RT-REP function:

Functions:

F9 : Return to previous screen

F10: Return to previous menu

Screen elements:

Arrival date

Hotel name

Quantity

Number of days

Room type

A.1.2.2.5 Function: CON-RES Confirmation of the reservation

This function is performed when an accepted reservation is confirmed. The confirmation can be made in four languages ( EN, FR, GE, or NL).

Report elements:

<1> hotel name

<2> hotel street address

<3> postcode - hotel

<4> city - hotel

<5> telephone number - hotel

<6> fax - hotel

<7> name

<8> street address

<9> postcode

<10> city

<11> country

<12> reservation number

<13> date (system)

<14> number of days

<15> Arrival date

<16> room type

<17> quantity

<18> description of room type

<19> hotel manager

A.1.3 Description of Entities

The following business entities will be used by the Hotel Reservation System:

A.1.3.1 BILLING ADDRESS

A person or institution that will pay or has booked a reservation. The person or institution is identified by a system generated Billing-identification.

Data elements:

Billing-identification (key)

name

street address

post code

city

telephone number

country code

6

25

30

4

20

12

2

 

A.1.3.2 ROOM

Contains data about a room that can be let. There is at least 1 room and at most 30 rooms per room type.

Data elements:

Room number (key)

Room type

3

2

A.1.3.3 HOTEL

Contains data concerning the hotel that uses the system. The entity contains only one occurrence and can never contain more.

Data elements:

Hotel name (key)

Street address

City

Post code

Telephone number

Telex

Fax

Hotel manager

30

30

20

7

12

12

12

25

A.1.3.4 ROOM CLASS

Indicates the quality and price of a number of similar rooms. There are at most 10 room types.

Data elements:

Room type (key)

Price of accommodation

Description-EN

Description-FR

Description-GE

Description-NL

2

6

30

30

30

30

A.1.3.5 COUNTRY

Country where the person, who has made/ paid the reservation, lives. Do not confuse Country code with language. There are 4 languages supported by the system but the customers may live in many more countries.

Data elements:

Country code (key)

Country-EN

Country-FR

Country-GE

Country-NL

2

25

25

25

25

A.1.3.6 PARAMETERS

Parameter data for reserving rooms and producing invoices.

Data elements:

Last issued reservation number

Last issued invoice number

Last issued payment number

6

6

6

A.1.3.7 RESERVATION

T he number of rooms of a certain type that have been promised for a reservation. Language code can be one of the 4 supported languages (EN, FR, GE, NL).

Data elements:

Reservation number (key)

Start date

Number of days

Billing-identification

Language code

6

10

2

6

2

A.1.3.8 RESERVATION DETAIL

Denotes the quantity in a certain room type that has been promised for a reservation.

Data elements:

Reservation number (key)

Room type

Quantity

6

2

2

 

A2: Hotel Accommodation System (Reservations) - Initial Requirements

ï‚· A.2.1 Business Functions to be supported

The system supports the following administrative functions of a hotel business in relation to the letting of hotel rooms:

a) maintain reservations

1) create a reservation: obtain a reservation no. and enter all reservation details

2) update a reservation: change any reservation details except reservation number

3) continue a reservation: continue a complex reservation of more than one input screen

4) accept a reservation: finalise a reservation

b) confirm reservations

1) letter to client confirming the reservation details

c) reports

1) room type report: lists room availability from an arrival date for a number of days

2) reservation report: lists arrival date and reservation number for the reservation's billing name and address.

Room data used relates to room type, price, and description (in Dutch, English, French, or German).

Anyone can make a reservation for a room type. The System confirms a reservation in English, Dutch, German or French.

A.2.2 General requirements

The accommodation reservation system has to ensure consecutive and unique numbering of the reservation number.

The following general conventions apply to the accommodation system:

- identification - each functional screen should list the hotel name and the function name,

- navigation - function keys should be used to select, confirm, change, scroll, or continue business processes,

- help information must be available on screen level and field level, and

- error messages should be displayed when applicable on each screen.

A.2.3 Data Model

The general data files used by the accommodation reservation system include HOTEL, COUNTRY, ROOM, and ROOM TYPE.

These data files are maintained by other parts of the hotel system.

Entity Descriptions are as follows:

BILLING ADDRESS - A person or institution that will pay or has booked a reservation,

HOTEL - Data concerning the hotel that uses the system. The entity never contains more than one occurrence,

ROOM - A room, which can be let. There is at least one room and at most 30 rooms per room type,

ROOM CLASS - Indication of quality and price of a number of similar rooms. There are at most 10 room types,

COUNTRY - Country where the person, who has made/ paid the reservation, lives,

RESERVATION - Promise to a customer that during a certain period a stated number of rooms for stated room types can be accommodated, and

RESERVATION DETAIL - Number of rooms in a certain room type that has been promised for a reservation.

Writing Services

Essay Writing
Service

Find out how the very best essay writing service can help you accomplish more and achieve higher marks today.

Assignment Writing Service

From complicated assignments to tricky tasks, our experts can tackle virtually any question thrown at them.

Dissertation Writing Service

A dissertation (also known as a thesis or research project) is probably the most important piece of work for any student! From full dissertations to individual chapters, we’re on hand to support you.

Coursework Writing Service

Our expert qualified writers can help you get your coursework right first time, every time.

Dissertation Proposal Service

The first step to completing a dissertation is to create a proposal that talks about what you wish to do. Our experts can design suitable methodologies - perfect to help you get started with a dissertation.

Report Writing
Service

Reports for any audience. Perfectly structured, professionally written, and tailored to suit your exact requirements.

Essay Skeleton Answer Service

If you’re just looking for some help to get started on an essay, our outline service provides you with a perfect essay plan.

Marking & Proofreading Service

Not sure if your work is hitting the mark? Struggling to get feedback from your lecturer? Our premium marking service was created just for you - get the feedback you deserve now.

Exam Revision
Service

Exams can be one of the most stressful experiences you’ll ever have! Revision is key, and we’re here to help. With custom created revision notes and exam answers, you’ll never feel underprepared again.