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 __________ structure indexes page table entries by frame number rather than by virtual page number.

A) ?hash table ? B) ?segment table C) ?page table ? D) ?inverted page table

Computer Science & Information Technology

The ____________________ is the name of the court that has authority to rule with reference to specific persons or subject matter.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The Internet is the world's largest WAN.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which of the following actions would change the format of selected text or a selected text box?

What will be an ideal response?

Computer Science & Information Technology