SlideShare ist ein Scribd-Unternehmen logo
1 von 16
T.Z.A.S.P. MANDAL'S
PRAGATI COLLEGE OF ARTS, COMMERCE AND
               SCIENCE

                   S.Y. B.Sc. (IT)


         A CASE STUDY REPORT ON
        HOTEL MANAGEMENT SYSTEM




          PRESENTED ON: 15 / 10 / 2009

    ABLY GUIDED BY Madam Mrs. Rupali Patil

                 SUBMITTED BY

1. Miss Ashwini Vaykole         - Roll No. 14
2. Miss Priyanka Khedlekar      - Roll No. 29
3. Miss Ashwini Godage          - Roll No. 15
4. Miss Namrita Sundarraj       - Roll No. 34
INDEX


1. Introduction
     • Problem Statement
     • Analysis
     • Requirement Specification

2. Domain Modelling
    • Identifying Classes
    • Identifying Attributes
    • Identifying Methods
    • Inheritance Relationship

3. Use-case Modelling
    • Identifying Actors
    • Developing Use-cases
    • Developing Interaction Sequence Diagrams

4. Completing Analysis Model

5. Implementation

6. Conclusion
INTRODUCTION

   • PROBLEM STATEMENT


       The system to be developed is intended to support day-to-day operations
of hotel management system by improving the various processes such as
making reservations, assuring bills, allocating tables, providing services to
customers, etc. All hotels currently operate all its administration using
handwritten forms stored in large folders (files). These forms contain various
slots. Each of these slots contains the requirements of every customer,
availability of resources that are demanded by customer, his personal
information and other necessary things that are essential for maintaining the
hotel records. Accurate and precise description in these forms are required in
order to avoid collision and rectify mistakes and also for future reference and
improve the working of hotel management system. Further, remarks are added
to these records to keep track of various events (situations). The problem arises
when these forms are misplaced, or lost, clashes may occur during entering
similar records or searching for the specific record location.


   • ANALYSIS


        The numerous problems identified with the manual system affect the
regular functioning of the hotel. Since the manual system is slow, this can lead
to operational problems such as the customer may be prevented from using the
facilities (services) which may be available but may appear to the hotel staff
that the particular service is already engaged. As the process is manual, there is
no backup system if the forms (sheets) gets destroyed and retrieving the same is
not as easy as there is no record of what had been lost. Finally, it is very time
consuming to get even minute details of the simple information that has been
lost.

      For these reasons, the system that is developed should be automated for
minimizing human error, improving the accuracy of the system and to make it
easy for hotel staff to transfer all the manual details to the new system. When
new entries are recorded or changes are made to the existing entries, the display
should be immediately updated so that hotel staffs are always working with the
latest information available. Operations of the system will be as far as possible
by direct manipulation of the data presented on the screen. For example, it
should be possible to change the time of the booking, or the table it is allocated
to, simply by dragging the booking to an appropriate place on the screen.

        From the above discussion, we can conclude that we should develop a
system that provides the core functionality which simplifies the maintenance of
essential records. So, to implement this basic requirement is the ability to
manipulate records and update records with essential details during the working
hours of the hotel. Thus, it would be possible to use the system as a replacement
for the existing manual system, and then to develop additional functionality in
later iterations.




   • REQUIREMENT SPECIFICATION


      In order to make the system efficient and upgraded in terms of
its usage, the hotel intends to develop a software program that
performs the following basic operations:

      •   Customer Registration
      •   Booking Transactions
      •   Ordering Transactions
      •   Billing Operation
      •   Payment Operation
      •   Storing Operation (.i.e. keeping track of all these transactions
          till the customer check – outs )

      For this we will perform various steps of an object oriented
design process in order to provide a complete solution to the problem
specified. We begin our design process by presenting specification
that specifies the overall purpose of hotel management system and
determines precisely what functionality the system must include.

     In hotel management system loaging and boarding section
consist of registering a user (i.e. providing the customer's identity)
followed by the other transaction's he make’s. To do this, our software
model should interact with the basic information database of our hotel
(restaurant details, number of rooms available etc).

                 After the system successfully executes transactions,
the system should redisplay the main menu so that the user can
perform additional transactions. If the user chooses to exit the system,
the screen should display a thank you message, and then display the
welcome message for the next user.


                  DOMAIN MODELLING

  • IDENTIFYING CLASSES

        Now we need to identify classes so that we can build the hotel
management system by analyzing the noun and noun phrases that
appear in the requirement specification (problem statement). We may
decide that some of these nouns and noun phrases are attributes of
other classes in the system. For example, if we consider process as
one class it can be the attribute of the transaction class which
describes it specifically. We may also conclude that some of the
nouns do not corresponds to the parts of the system and thus should
not be modeled at all. For example, Funds so fig (a) lists the noun and
noun phrases which are required in the system. We list them from list
from left to right in the order in which they appear in the problem
statement. However we list only singular form of each noun or noun
phrases. We create classes only that have significance in the hotel
management system. We do not need to model amount as a class
because amount is not a part of our system. We do not model bills or
forms as a class because these are physical objects in the real world,
but they are not a part of what is being automated.
Noun and noun phrases

    Customer                       Catering
    Contact number                 Room Service
    Name                           Account Number
    Address                        Hygiene
    Enquiry                        Restaurant
    Booking system                 Telephone section
    Booking                        Payment system
    Date and time                  Payment
    Table                          Amount
    Room                           Advance
    Hall                           Credit card
    Type                           Cash
    Capacity                       Engine
    Ordering system                Cashier
    Order                          Transactions
    Meal                            Bill
    Beverages                      Bill number
    Quantity                       Duration
    Services                       Balance
    Manager                        Tax
    Duty                            Discount
    Staff
    Department


       The classes identified above may appear in more than one
transaction. In our simplified hotel system, the class’s cash and
cheque can be used as attributes of other classes. Likewise, the nouns
account number and amount represent significant pieces of
information in our system. They are important attributes of of
payment (class). These classes possess specific attributes needed for
executing the transactions they represent. For example, a cashier
needs to know the amount of money the user wants to pay in advance.
A balance enquiry, however, does not require any additional
information.
• IDENTIFYING ATTRIBUTES

           We can identify many attributes of the classes in our system
by looking for descriptive words and phrases as mentioned in the
table. For each one, we find that class which plays a significant role in
our system so that we can create an attribute and assign it to one or
more of the classes identified in the above section. We also create
attributes to represent any additional data that a class may need.
Identified any nouns or phrases refers to the characteristics of the
class in the system. For example, the previous section describes the
steps taken to obtain a payment so; we list cash and cheque next to the
class payment. The classes balance and advance share two attributes.
Each transaction involves a bill number and amount that corresponds
to the account of the customer making the transaction. So we assign
an integer attribute bill number and amount to each transaction class
to identify the customer account to which an object of the class
applies.

      Descriptive nouns and phrases also suggest some differences in
the attributes required by each transaction. The previous phase
indicates that to obtain the payment by means of cash or cheque we
must enter a specific amount of money to be deposited respectively.
Thus, we assign to class’s cash and cheque an attribute amount to
store the value supplied by the user. The amount of money related to
cash and cheque are defining characteristics of these transactions that
the system requires for them to take place. The class balance however,
needs no additional data to perform its task – it requires only an
account number to indicate the account whose balance should be
retrieved.

      The class attributes are placed in the middle compartment
classes rectangle beneath the name. The attribute declaration contains
three pieces of information about the attribute that is the attribute
name, attribute type and attribute value. Data types can be used to
show the type of attribute (integer, double or Boolean). We can also
indicate an initial value for an attribute but if an attribute has no initial
value specified, only its name and type are shown (separated by
colon). For example, the quantity attribute of class room is an integer.
Here we show no initial value because the value of this attribute is a
number that we do not yet know – it will be determined at execution
time when the quantity will be entered by the customer.

                          Room                  Meal
                         Quantity           Type
                                            Price



                                    Figure (a)

The class diagram in above figure (a) provides a solid basis for the
structure of our model but the diagram is not complete. We need to
identify the operation that the objects will perform during the program
execution.


   • IDENTIFYING METHODS ( OPERATIONS )


      An operation is a service that objects of a class provide to clients
of the class. The operations of a class are placed and represented in
the bottom compartment of the class's rectangle. Operations are
named and in addition can have arguments and return results, like
functions in programming languages. The parameter and return types
of operations can be either name of data types, as used for specifying
attributes types, all the information apart from the operations name is
optional. As little or as much information can be provided as is
appropriate at the stage that the development process has reached.

      The classes that play a major role in achieving system goals and
requirements by using their methods are as follows:
Customer Class: Customer is an individual who interacts with the
system by means of ordering, booking and payment and has its own
details.

Enquiry Class : This is a class that provides sufficient information
to the customer's needs.

Booking Class : This is a class that allows the customer to book the
facilities granted by the hotel.

Order Class      : It is a class that serves as a customer's request for
something to be supplied.

Manager Class : A manager is an individual who manages staff, an
organization and acts as an interface between system and the
customer by solving all queries.

Bill Class        : It is a class that serves as a written statement of
charges for services.

Payment Class      : It is a class that keeps track of transaction, type,
date, time, amount, quantity and balance.


  • INHERITANCE RELATIONSHIP


      Inheritance is the process by which properties of a class are
automatically defined for all descendant classes. More precisely, all
the attributes and operations defined in the ancestors of a class are
also features of the class itself. This provides the means whereby
common features shared by a number of classes can be defined in one
place and yet made available in a number of different classes.
For example, in case of ordering, this diagram states that all the
classes including the parent class and child class have price, quantity
and type attributes, and operations to access these attributes. These
features are defined in the parent (root) class that is ordering.




                USE CASE MODELLING

  • IDENTIFYING ACTORS AND DEVELOPING USE-
     CASES

     The use – case view describes the externally visible
behavior of the system. In so far, as software development
begins with the consideration of the requirements of the
proposed system, therefore the use – case view limitedly
forces the subsequent development.

     The use - case view presents a structured view of systems
functionality. It does this by defining a number of actors,
which model the roles that users can play when interacting
with the system and describing the use-cases that those actors
can participate in. Due to this, a specific task can be defined
that user can access in the system. Thus, the use- case view
contains the use-cases which define the complete functionality
of the system (or at least the functionality which defines the
current process).

     Here we have described the use – cases for the booking
system which allows users to make use of automated booking
sheet, the ordering system and the payment system in the
similar manner. This graphical representation shows the actors
(may be a staff or a customer) which specifies the task that
user would recognize as a part of their normal job (that is its
duty), the use – cases that determines the behavior of actors
and the connections between them. These actors are
represented by a stylized icon of a person and the use – cases
by ovals containing the name of the use-case. Where an actor
participates in or can perform a particular use-case, this
relationship is shown by connecting the actor to the relevant
use-case. It is also possible to define the shared behavior that
is common to more than one use-case. For example, a
customer who brings up the restaurant to make a booking will
speak to an employee of the restaurant who will record the
booking of the system. To do this, the employee will need to
act as receptionist, even if this is not their formal job
description, and interact with the system in some way. In this
situation, the employee is considered to be an instance of
receptionist actor, and the interaction that takes place between
them and the system is an instance of the use-case. The details
of what happens in different instances of the use-case can vary
in many ways. For example, the receptionist will have to enter
specific data for each new booking, such as the names and
phone numbers of different customers and this data will vary
from instance to instance.

     There may arise a situation that if there was no suitable
table available at the time the customer requested, an instance
of use-case might not in fact result in a booking being made.
Therefore, a use-case description should involve a large
amount of data in a systematic way so that such occurrences
may be avoided.
• INTERACTION DIAGRAMS


      The fig (e) shows the sequence interaction diagram showing the
interaction between the customer and the system. The classifier roles
involved in the interaction are displayed at the top of the diagram. The
vertical dimension in the sequence diagram represents time and the
messages in an interaction are drawn from top to bottom of the
diagram, in the order that they are sent. Each role has a dashed line
known as its lifeline extending below it. Lifeline indicates the period
of time during which objects playing that role actually exists. In the
figure, all objects exist throughout the entire interaction but some
objects are not required till the end.

       The messages are shown as arrows leading from the lifeline of
the sender of the message to that of the receiver. When the message is
sent, control passes from sender of the message to the receiver. The
period of time during which an object is processing is shown on
lifeline as an arrow rectangle whose talk is connected to the message.
When an object finishes processing a message, control returns to the
sender of the message. This marks the end of the processing
corresponding to that message and is shown by the arrow going back
from the bottom of the rectangle back to the lifeline of the role that
sent the message. These messages are shown with solid arrowhead. In
the course of processing a message, an object may send messages to
other objects.
COMPLETING THE ANALYSIS MODEL
      Figure (f) shows the class diagram for system including
the information and decisions which are derived for carrying
out realizations of the use – cases. This information is about
booking system, ordering system and the payment system
which are the essential elements of our system. This diagram
also contains the information about domain model such as
relationships between the customers: booking, ordering and
payment classes. Here, the user's actions are considered as
messages and are passed between the objects of the classes in
the direction of the process being carried out. Also, the objects
in this system have been assigned a number of roles to clarify
the organization of the system. Thus, we have defined all the
possible course of events that occur during the functioning of
the system.
IMPLEMENTATION
      The documentation produced during the analysis and design
activates describes the logical structure of the software application.
This describes the system basically as a collection of classes, possibly
subdivided into a number of packages. The dynamic behavior of
instances of the classes is further defined by means of interaction
diagrams.

       When the system is implemented, these classes are represented
in some way in the programming language being used. At this point,
the system for the first time takes on a physical form typically as a
collection of files of source code. The source code is then compiled,
generating various objects, executable or library files. Finally, these
files are executed on one or more processors, possibly in combination
with other resources.


     Class booking
     {
     private:
               int cover;
               setcover();
     public :
               int date;
               int arrtime;
               int deptime;
               setarrtime();
               setdeptime();
               getdate();
     };


      A constructor is defined to initialize the values of the attributes,
but it is declared to be private, so that instances of the class can only
be created by subclasses. Note that constructors are often omitted
from class diagrams, but are required in implementations of classes.
Attributes of the class are represented with data types. Operations of
the class are defined as methods with appropriate implementations.

When a class is implemented, the visibility of its members needs to be
considered. If visibility has not been specified by the designer, a
useful rule of thumb for implementing attributes and operations is to
transform attributes into private fields of the implementation class,
and operations into public methods of the class. This reflects a widely
adopted policy on the implementation of classes, which states that a
class's data should be private and only accessible through its
operational interface. An exception to this rule occurs when attributes
of a class need to be accessible to instances of subclasses.
CONCLUSION

  From the above analysis we conclude as under:

1. Receptionist is always equipped with the latest and updated
   status about the booking by the customer.
2. The system provides details about CHECK-IN/CHECK-OUT
   status of the customer.
3. The system provides details about the BILLING/PAYMENT
   status for the customer.
4. The system provides complete information about the customer
   such as Name/Address/Occupation/Purpose of visit/Duration of
   stay/Contact No., etc.
5. The system helps avoid unnecessary documentation and record
   keeping. Eliminate paper work but at the same time memorizes
   each and every activity performed/demanded by the customer
   during his/her stay. Moreover these are sequentially noted/
   recorded and can easily be monitored thereby exercising full
   control on the services rendered to the customer.
6. The system provides round-the-clock updated information/status
   about the customer.

Weitere ähnliche Inhalte

Was ist angesagt?

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
 
Sequence diagram for employee management system(EMS)
Sequence diagram for employee management system(EMS)Sequence diagram for employee management system(EMS)
Sequence diagram for employee management system(EMS)Achal (अचल) Porwal
 
Employee management system Project
Employee management system ProjectEmployee management system Project
Employee management system ProjectFaizanAnsari89
 
Airline Management System [for presentation]
Airline Management System [for presentation]Airline Management System [for presentation]
Airline Management System [for presentation]SH Rajøn
 
Hotel Management System
Hotel Management SystemHotel Management System
Hotel Management SystemAdil Ayyaz
 
Hotel management system
Hotel management systemHotel management system
Hotel management systemPraveen M
 
Hotel management synopsis
Hotel management synopsisHotel management synopsis
Hotel management synopsisRahulraj Nirala
 
Online Hotel Management System
Online Hotel Management SystemOnline Hotel Management System
Online Hotel Management SystemSanu Subham
 
Hotel management
Hotel managementHotel management
Hotel managementArman Ahmed
 
Hotel management system By Harsh & aditya Mathur.
Hotel management system By  Harsh & aditya  Mathur.Hotel management system By  Harsh & aditya  Mathur.
Hotel management system By Harsh & aditya Mathur.Harsh Mathur
 
Hotel reservation system
Hotel reservation systemHotel reservation system
Hotel reservation systemManoj Malshan
 
online hotel management system
online hotel management system online hotel management system
online hotel management system ANSHUL GUPTA
 
Hotel Reservation System Project
Hotel Reservation System ProjectHotel Reservation System Project
Hotel Reservation System Projectraj_qn3
 
Hotel managementsystemcorrectfinalsrs
Hotel managementsystemcorrectfinalsrsHotel managementsystemcorrectfinalsrs
Hotel managementsystemcorrectfinalsrsvidya_shankar
 
RAVI RANA HOTEL MANAGEMENT PPT
RAVI RANA HOTEL MANAGEMENT PPTRAVI RANA HOTEL MANAGEMENT PPT
RAVI RANA HOTEL MANAGEMENT PPTSameer Gurjar
 
Car rental Project Ppt
Car rental Project PptCar rental Project Ppt
Car rental Project Pptrahul85rkm
 
Online Hotel Management System
Online Hotel Management SystemOnline Hotel Management System
Online Hotel Management SystemAbdullah Almasud
 
Hotel management system presentation
Hotel management system presentationHotel management system presentation
Hotel management system presentationjoilrahat
 

Was ist angesagt? (20)

Hotel management
Hotel managementHotel management
Hotel management
 
Hotel management or reservation system document
Hotel management or reservation system document Hotel management or reservation system document
Hotel management or reservation system document
 
Sequence diagram for employee management system(EMS)
Sequence diagram for employee management system(EMS)Sequence diagram for employee management system(EMS)
Sequence diagram for employee management system(EMS)
 
Employee management system Project
Employee management system ProjectEmployee management system Project
Employee management system Project
 
Hotel manaement
Hotel manaementHotel manaement
Hotel manaement
 
Airline Management System [for presentation]
Airline Management System [for presentation]Airline Management System [for presentation]
Airline Management System [for presentation]
 
Hotel Management System
Hotel Management SystemHotel Management System
Hotel Management System
 
Hotel management system
Hotel management systemHotel management system
Hotel management system
 
Hotel management synopsis
Hotel management synopsisHotel management synopsis
Hotel management synopsis
 
Online Hotel Management System
Online Hotel Management SystemOnline Hotel Management System
Online Hotel Management System
 
Hotel management
Hotel managementHotel management
Hotel management
 
Hotel management system By Harsh & aditya Mathur.
Hotel management system By  Harsh & aditya  Mathur.Hotel management system By  Harsh & aditya  Mathur.
Hotel management system By Harsh & aditya Mathur.
 
Hotel reservation system
Hotel reservation systemHotel reservation system
Hotel reservation system
 
online hotel management system
online hotel management system online hotel management system
online hotel management system
 
Hotel Reservation System Project
Hotel Reservation System ProjectHotel Reservation System Project
Hotel Reservation System Project
 
Hotel managementsystemcorrectfinalsrs
Hotel managementsystemcorrectfinalsrsHotel managementsystemcorrectfinalsrs
Hotel managementsystemcorrectfinalsrs
 
RAVI RANA HOTEL MANAGEMENT PPT
RAVI RANA HOTEL MANAGEMENT PPTRAVI RANA HOTEL MANAGEMENT PPT
RAVI RANA HOTEL MANAGEMENT PPT
 
Car rental Project Ppt
Car rental Project PptCar rental Project Ppt
Car rental Project Ppt
 
Online Hotel Management System
Online Hotel Management SystemOnline Hotel Management System
Online Hotel Management System
 
Hotel management system presentation
Hotel management system presentationHotel management system presentation
Hotel management system presentation
 

Ähnlich wie Object oriented programming

Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programmingashu6
 
HOTEL MANAGEMENT SYSTEM vi.docx
HOTEL MANAGEMENT SYSTEM vi.docxHOTEL MANAGEMENT SYSTEM vi.docx
HOTEL MANAGEMENT SYSTEM vi.docxKartikeySingh87567
 
Online Hotel Reservation System PPT
Online Hotel Reservation System PPTOnline Hotel Reservation System PPT
Online Hotel Reservation System PPTsurabhi shinde
 
Vertical Story Slicing Takes the Cake!
Vertical Story Slicing Takes the Cake!Vertical Story Slicing Takes the Cake!
Vertical Story Slicing Takes the Cake!kporemski
 
Mathematical iii
Mathematical iiiMathematical iii
Mathematical iiiasyidari
 
Hotel Management System
Hotel Management System Hotel Management System
Hotel Management System Kusum Sankhala
 
Lecture7 use case modeling
Lecture7 use case modelingLecture7 use case modeling
Lecture7 use case modelingShahid Riaz
 
IT Requirements (Stage 3)In addition to the functional requireme.docx
IT Requirements (Stage 3)In addition to the functional requireme.docxIT Requirements (Stage 3)In addition to the functional requireme.docx
IT Requirements (Stage 3)In addition to the functional requireme.docxpriestmanmable
 
hotel management dbms.docx
 hotel management dbms.docx hotel management dbms.docx
hotel management dbms.docxKaranamManideep1
 
Hotel Booking Management System PHP.pptx
Hotel Booking Management System PHP.pptxHotel Booking Management System PHP.pptx
Hotel Booking Management System PHP.pptxriohaven45
 
HOTEL-MANAGEMENT-SYSTEM-PPT.pptx
HOTEL-MANAGEMENT-SYSTEM-PPT.pptxHOTEL-MANAGEMENT-SYSTEM-PPT.pptx
HOTEL-MANAGEMENT-SYSTEM-PPT.pptxMohdSalman912203
 
HOTEL-MANAGEMENT-SYSTEM-PPT.pptx
HOTEL-MANAGEMENT-SYSTEM-PPT.pptxHOTEL-MANAGEMENT-SYSTEM-PPT.pptx
HOTEL-MANAGEMENT-SYSTEM-PPT.pptxjaideepkumar2113
 
HOTEL-MANAGEMENT-SYSTEM-PPT.ppt
HOTEL-MANAGEMENT-SYSTEM-PPT.pptHOTEL-MANAGEMENT-SYSTEM-PPT.ppt
HOTEL-MANAGEMENT-SYSTEM-PPT.pptShrutiPanda12
 
Re-Serve Project Definition Document
Re-Serve Project Definition DocumentRe-Serve Project Definition Document
Re-Serve Project Definition Documentsean
 

Ähnlich wie Object oriented programming (20)

Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
HOTEL MANAGEMENT SYSTEM vi.docx
HOTEL MANAGEMENT SYSTEM vi.docxHOTEL MANAGEMENT SYSTEM vi.docx
HOTEL MANAGEMENT SYSTEM vi.docx
 
Online Hotel Reservation System PPT
Online Hotel Reservation System PPTOnline Hotel Reservation System PPT
Online Hotel Reservation System PPT
 
Vertical Story Slicing Takes the Cake!
Vertical Story Slicing Takes the Cake!Vertical Story Slicing Takes the Cake!
Vertical Story Slicing Takes the Cake!
 
Architecture Design
Architecture DesignArchitecture Design
Architecture Design
 
Mathematical iii
Mathematical iiiMathematical iii
Mathematical iii
 
Hotel Management System
Hotel Management System Hotel Management System
Hotel Management System
 
Lecture7 use case modeling
Lecture7 use case modelingLecture7 use case modeling
Lecture7 use case modeling
 
Resume
ResumeResume
Resume
 
IT Requirements (Stage 3)In addition to the functional requireme.docx
IT Requirements (Stage 3)In addition to the functional requireme.docxIT Requirements (Stage 3)In addition to the functional requireme.docx
IT Requirements (Stage 3)In addition to the functional requireme.docx
 
Wk 3 - computers
Wk 3 - computersWk 3 - computers
Wk 3 - computers
 
Soa Meets Roi
Soa Meets RoiSoa Meets Roi
Soa Meets Roi
 
hotel management dbms.docx
 hotel management dbms.docx hotel management dbms.docx
hotel management dbms.docx
 
Hotel Booking Management System PHP.pptx
Hotel Booking Management System PHP.pptxHotel Booking Management System PHP.pptx
Hotel Booking Management System PHP.pptx
 
HOTEL-MANAGEMENT-SYSTEM-PPT.pptx
HOTEL-MANAGEMENT-SYSTEM-PPT.pptxHOTEL-MANAGEMENT-SYSTEM-PPT.pptx
HOTEL-MANAGEMENT-SYSTEM-PPT.pptx
 
HOTEL-MANAGEMENT-SYSTEM-PPT.pptx
HOTEL-MANAGEMENT-SYSTEM-PPT.pptxHOTEL-MANAGEMENT-SYSTEM-PPT.pptx
HOTEL-MANAGEMENT-SYSTEM-PPT.pptx
 
HOTEL-MANAGEMENT-SYSTEM-PPT.ppt
HOTEL-MANAGEMENT-SYSTEM-PPT.pptHOTEL-MANAGEMENT-SYSTEM-PPT.ppt
HOTEL-MANAGEMENT-SYSTEM-PPT.ppt
 
QueuePro Description
QueuePro DescriptionQueuePro Description
QueuePro Description
 
Re-Serve Project Definition Document
Re-Serve Project Definition DocumentRe-Serve Project Definition Document
Re-Serve Project Definition Document
 
A141363 tk1
A141363 tk1A141363 tk1
A141363 tk1
 

Kürzlich hochgeladen

Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 

Kürzlich hochgeladen (20)

Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 

Object oriented programming

  • 1. T.Z.A.S.P. MANDAL'S PRAGATI COLLEGE OF ARTS, COMMERCE AND SCIENCE S.Y. B.Sc. (IT) A CASE STUDY REPORT ON HOTEL MANAGEMENT SYSTEM PRESENTED ON: 15 / 10 / 2009 ABLY GUIDED BY Madam Mrs. Rupali Patil SUBMITTED BY 1. Miss Ashwini Vaykole - Roll No. 14 2. Miss Priyanka Khedlekar - Roll No. 29 3. Miss Ashwini Godage - Roll No. 15 4. Miss Namrita Sundarraj - Roll No. 34
  • 2. INDEX 1. Introduction • Problem Statement • Analysis • Requirement Specification 2. Domain Modelling • Identifying Classes • Identifying Attributes • Identifying Methods • Inheritance Relationship 3. Use-case Modelling • Identifying Actors • Developing Use-cases • Developing Interaction Sequence Diagrams 4. Completing Analysis Model 5. Implementation 6. Conclusion
  • 3. INTRODUCTION • PROBLEM STATEMENT The system to be developed is intended to support day-to-day operations of hotel management system by improving the various processes such as making reservations, assuring bills, allocating tables, providing services to customers, etc. All hotels currently operate all its administration using handwritten forms stored in large folders (files). These forms contain various slots. Each of these slots contains the requirements of every customer, availability of resources that are demanded by customer, his personal information and other necessary things that are essential for maintaining the hotel records. Accurate and precise description in these forms are required in order to avoid collision and rectify mistakes and also for future reference and improve the working of hotel management system. Further, remarks are added to these records to keep track of various events (situations). The problem arises when these forms are misplaced, or lost, clashes may occur during entering similar records or searching for the specific record location. • ANALYSIS The numerous problems identified with the manual system affect the regular functioning of the hotel. Since the manual system is slow, this can lead to operational problems such as the customer may be prevented from using the facilities (services) which may be available but may appear to the hotel staff that the particular service is already engaged. As the process is manual, there is no backup system if the forms (sheets) gets destroyed and retrieving the same is not as easy as there is no record of what had been lost. Finally, it is very time consuming to get even minute details of the simple information that has been lost. For these reasons, the system that is developed should be automated for minimizing human error, improving the accuracy of the system and to make it easy for hotel staff to transfer all the manual details to the new system. When new entries are recorded or changes are made to the existing entries, the display should be immediately updated so that hotel staffs are always working with the
  • 4. latest information available. Operations of the system will be as far as possible by direct manipulation of the data presented on the screen. For example, it should be possible to change the time of the booking, or the table it is allocated to, simply by dragging the booking to an appropriate place on the screen. From the above discussion, we can conclude that we should develop a system that provides the core functionality which simplifies the maintenance of essential records. So, to implement this basic requirement is the ability to manipulate records and update records with essential details during the working hours of the hotel. Thus, it would be possible to use the system as a replacement for the existing manual system, and then to develop additional functionality in later iterations. • REQUIREMENT SPECIFICATION In order to make the system efficient and upgraded in terms of its usage, the hotel intends to develop a software program that performs the following basic operations: • Customer Registration • Booking Transactions • Ordering Transactions • Billing Operation • Payment Operation • Storing Operation (.i.e. keeping track of all these transactions till the customer check – outs ) For this we will perform various steps of an object oriented design process in order to provide a complete solution to the problem specified. We begin our design process by presenting specification that specifies the overall purpose of hotel management system and determines precisely what functionality the system must include. In hotel management system loaging and boarding section consist of registering a user (i.e. providing the customer's identity)
  • 5. followed by the other transaction's he make’s. To do this, our software model should interact with the basic information database of our hotel (restaurant details, number of rooms available etc). After the system successfully executes transactions, the system should redisplay the main menu so that the user can perform additional transactions. If the user chooses to exit the system, the screen should display a thank you message, and then display the welcome message for the next user. DOMAIN MODELLING • IDENTIFYING CLASSES Now we need to identify classes so that we can build the hotel management system by analyzing the noun and noun phrases that appear in the requirement specification (problem statement). We may decide that some of these nouns and noun phrases are attributes of other classes in the system. For example, if we consider process as one class it can be the attribute of the transaction class which describes it specifically. We may also conclude that some of the nouns do not corresponds to the parts of the system and thus should not be modeled at all. For example, Funds so fig (a) lists the noun and noun phrases which are required in the system. We list them from list from left to right in the order in which they appear in the problem statement. However we list only singular form of each noun or noun phrases. We create classes only that have significance in the hotel management system. We do not need to model amount as a class because amount is not a part of our system. We do not model bills or forms as a class because these are physical objects in the real world, but they are not a part of what is being automated.
  • 6. Noun and noun phrases Customer Catering Contact number Room Service Name Account Number Address Hygiene Enquiry Restaurant Booking system Telephone section Booking Payment system Date and time Payment Table Amount Room Advance Hall Credit card Type Cash Capacity Engine Ordering system Cashier Order Transactions Meal Bill Beverages Bill number Quantity Duration Services Balance Manager Tax Duty Discount Staff Department The classes identified above may appear in more than one transaction. In our simplified hotel system, the class’s cash and cheque can be used as attributes of other classes. Likewise, the nouns account number and amount represent significant pieces of information in our system. They are important attributes of of payment (class). These classes possess specific attributes needed for executing the transactions they represent. For example, a cashier needs to know the amount of money the user wants to pay in advance. A balance enquiry, however, does not require any additional information.
  • 7. • IDENTIFYING ATTRIBUTES We can identify many attributes of the classes in our system by looking for descriptive words and phrases as mentioned in the table. For each one, we find that class which plays a significant role in our system so that we can create an attribute and assign it to one or more of the classes identified in the above section. We also create attributes to represent any additional data that a class may need. Identified any nouns or phrases refers to the characteristics of the class in the system. For example, the previous section describes the steps taken to obtain a payment so; we list cash and cheque next to the class payment. The classes balance and advance share two attributes. Each transaction involves a bill number and amount that corresponds to the account of the customer making the transaction. So we assign an integer attribute bill number and amount to each transaction class to identify the customer account to which an object of the class applies. Descriptive nouns and phrases also suggest some differences in the attributes required by each transaction. The previous phase indicates that to obtain the payment by means of cash or cheque we must enter a specific amount of money to be deposited respectively. Thus, we assign to class’s cash and cheque an attribute amount to store the value supplied by the user. The amount of money related to cash and cheque are defining characteristics of these transactions that the system requires for them to take place. The class balance however, needs no additional data to perform its task – it requires only an account number to indicate the account whose balance should be retrieved. The class attributes are placed in the middle compartment classes rectangle beneath the name. The attribute declaration contains three pieces of information about the attribute that is the attribute name, attribute type and attribute value. Data types can be used to show the type of attribute (integer, double or Boolean). We can also
  • 8. indicate an initial value for an attribute but if an attribute has no initial value specified, only its name and type are shown (separated by colon). For example, the quantity attribute of class room is an integer. Here we show no initial value because the value of this attribute is a number that we do not yet know – it will be determined at execution time when the quantity will be entered by the customer. Room Meal Quantity Type Price Figure (a) The class diagram in above figure (a) provides a solid basis for the structure of our model but the diagram is not complete. We need to identify the operation that the objects will perform during the program execution. • IDENTIFYING METHODS ( OPERATIONS ) An operation is a service that objects of a class provide to clients of the class. The operations of a class are placed and represented in the bottom compartment of the class's rectangle. Operations are named and in addition can have arguments and return results, like functions in programming languages. The parameter and return types of operations can be either name of data types, as used for specifying attributes types, all the information apart from the operations name is optional. As little or as much information can be provided as is appropriate at the stage that the development process has reached. The classes that play a major role in achieving system goals and requirements by using their methods are as follows:
  • 9. Customer Class: Customer is an individual who interacts with the system by means of ordering, booking and payment and has its own details. Enquiry Class : This is a class that provides sufficient information to the customer's needs. Booking Class : This is a class that allows the customer to book the facilities granted by the hotel. Order Class : It is a class that serves as a customer's request for something to be supplied. Manager Class : A manager is an individual who manages staff, an organization and acts as an interface between system and the customer by solving all queries. Bill Class : It is a class that serves as a written statement of charges for services. Payment Class : It is a class that keeps track of transaction, type, date, time, amount, quantity and balance. • INHERITANCE RELATIONSHIP Inheritance is the process by which properties of a class are automatically defined for all descendant classes. More precisely, all the attributes and operations defined in the ancestors of a class are also features of the class itself. This provides the means whereby common features shared by a number of classes can be defined in one place and yet made available in a number of different classes.
  • 10. For example, in case of ordering, this diagram states that all the classes including the parent class and child class have price, quantity and type attributes, and operations to access these attributes. These features are defined in the parent (root) class that is ordering. USE CASE MODELLING • IDENTIFYING ACTORS AND DEVELOPING USE- CASES The use – case view describes the externally visible behavior of the system. In so far, as software development begins with the consideration of the requirements of the proposed system, therefore the use – case view limitedly forces the subsequent development. The use - case view presents a structured view of systems functionality. It does this by defining a number of actors, which model the roles that users can play when interacting with the system and describing the use-cases that those actors can participate in. Due to this, a specific task can be defined that user can access in the system. Thus, the use- case view contains the use-cases which define the complete functionality of the system (or at least the functionality which defines the current process). Here we have described the use – cases for the booking system which allows users to make use of automated booking sheet, the ordering system and the payment system in the similar manner. This graphical representation shows the actors
  • 11. (may be a staff or a customer) which specifies the task that user would recognize as a part of their normal job (that is its duty), the use – cases that determines the behavior of actors and the connections between them. These actors are represented by a stylized icon of a person and the use – cases by ovals containing the name of the use-case. Where an actor participates in or can perform a particular use-case, this relationship is shown by connecting the actor to the relevant use-case. It is also possible to define the shared behavior that is common to more than one use-case. For example, a customer who brings up the restaurant to make a booking will speak to an employee of the restaurant who will record the booking of the system. To do this, the employee will need to act as receptionist, even if this is not their formal job description, and interact with the system in some way. In this situation, the employee is considered to be an instance of receptionist actor, and the interaction that takes place between them and the system is an instance of the use-case. The details of what happens in different instances of the use-case can vary in many ways. For example, the receptionist will have to enter specific data for each new booking, such as the names and phone numbers of different customers and this data will vary from instance to instance. There may arise a situation that if there was no suitable table available at the time the customer requested, an instance of use-case might not in fact result in a booking being made. Therefore, a use-case description should involve a large amount of data in a systematic way so that such occurrences may be avoided.
  • 12. • INTERACTION DIAGRAMS The fig (e) shows the sequence interaction diagram showing the interaction between the customer and the system. The classifier roles involved in the interaction are displayed at the top of the diagram. The vertical dimension in the sequence diagram represents time and the messages in an interaction are drawn from top to bottom of the diagram, in the order that they are sent. Each role has a dashed line known as its lifeline extending below it. Lifeline indicates the period of time during which objects playing that role actually exists. In the figure, all objects exist throughout the entire interaction but some objects are not required till the end. The messages are shown as arrows leading from the lifeline of the sender of the message to that of the receiver. When the message is sent, control passes from sender of the message to the receiver. The period of time during which an object is processing is shown on lifeline as an arrow rectangle whose talk is connected to the message. When an object finishes processing a message, control returns to the sender of the message. This marks the end of the processing corresponding to that message and is shown by the arrow going back from the bottom of the rectangle back to the lifeline of the role that sent the message. These messages are shown with solid arrowhead. In the course of processing a message, an object may send messages to other objects.
  • 13. COMPLETING THE ANALYSIS MODEL Figure (f) shows the class diagram for system including the information and decisions which are derived for carrying out realizations of the use – cases. This information is about booking system, ordering system and the payment system which are the essential elements of our system. This diagram also contains the information about domain model such as relationships between the customers: booking, ordering and payment classes. Here, the user's actions are considered as messages and are passed between the objects of the classes in the direction of the process being carried out. Also, the objects in this system have been assigned a number of roles to clarify the organization of the system. Thus, we have defined all the possible course of events that occur during the functioning of the system.
  • 14. IMPLEMENTATION The documentation produced during the analysis and design activates describes the logical structure of the software application. This describes the system basically as a collection of classes, possibly subdivided into a number of packages. The dynamic behavior of instances of the classes is further defined by means of interaction diagrams. When the system is implemented, these classes are represented in some way in the programming language being used. At this point, the system for the first time takes on a physical form typically as a collection of files of source code. The source code is then compiled, generating various objects, executable or library files. Finally, these files are executed on one or more processors, possibly in combination with other resources. Class booking { private: int cover; setcover(); public : int date; int arrtime; int deptime; setarrtime(); setdeptime(); getdate(); }; A constructor is defined to initialize the values of the attributes, but it is declared to be private, so that instances of the class can only
  • 15. be created by subclasses. Note that constructors are often omitted from class diagrams, but are required in implementations of classes. Attributes of the class are represented with data types. Operations of the class are defined as methods with appropriate implementations. When a class is implemented, the visibility of its members needs to be considered. If visibility has not been specified by the designer, a useful rule of thumb for implementing attributes and operations is to transform attributes into private fields of the implementation class, and operations into public methods of the class. This reflects a widely adopted policy on the implementation of classes, which states that a class's data should be private and only accessible through its operational interface. An exception to this rule occurs when attributes of a class need to be accessible to instances of subclasses.
  • 16. CONCLUSION From the above analysis we conclude as under: 1. Receptionist is always equipped with the latest and updated status about the booking by the customer. 2. The system provides details about CHECK-IN/CHECK-OUT status of the customer. 3. The system provides details about the BILLING/PAYMENT status for the customer. 4. The system provides complete information about the customer such as Name/Address/Occupation/Purpose of visit/Duration of stay/Contact No., etc. 5. The system helps avoid unnecessary documentation and record keeping. Eliminate paper work but at the same time memorizes each and every activity performed/demanded by the customer during his/her stay. Moreover these are sequentially noted/ recorded and can easily be monitored thereby exercising full control on the services rendered to the customer. 6. The system provides round-the-clock updated information/status about the customer.