For the relational Hotel schema in the Exercises at the end of Chapter 4, suggest a number of methods that would be applicable to the system. Produce an object-oriented schema for the system.

What will be an ideal response?

Some methods might be:

createNewHotel destroyHotel changeHotelName

getHotelName

createNewRoom destroyRoom changeRoomPrice

changeRoomType getRoomPrice getRoomType

createNewGuest destroyGuest changeGuestName

changeGuestAddress getGuestName getGuestAddress

createNewBooking destroyBooking changeRoomNumber

changeDates getDateFrom getDateTo

Computer Science & Information Technology

You might also like to view...

The home page features a panel on the upper-right side that displays the most recent activity surrounding your pins and boards

Indicate whether the statement is true or false

Computer Science & Information Technology

Some monitors are referred to as green monitors. What does this term mean?

A) They are monochrome with a green text display. B) They have energy conserving capabilities. C) They are safer to work inside. D) They have a green tint because the CRT is going bad.

Computer Science & Information Technology