Esempio n. 1
0
 /**
  * Retrieves all rooms available at the hotel
  *
  * @generated NOT
  */
 public EList<Room> getAllRooms() {
   return roomHandling.getAllRooms();
 }
Esempio n. 2
0
 /**
  * Searches for rooms among the available at the hotel with name that contains the given argument
  *
  * @generated NOT
  */
 public EList<Room> findRoom(String roomName) {
   return roomHandling.findRoom(roomName);
 }
Esempio n. 3
0
 /**
  * Attempts to remove the given room from the list of available rooms of the current hotel.
  *
  * @generated NOT
  */
 public boolean removeRoom(Room room) {
   return roomHandling.removeRoom(room);
 }
Esempio n. 4
0
 /**
  * Updates the room with the given name with the new parameters.
  *
  * @generated NOT
  */
 public boolean editRoom(Room room, RoomType newRoomType, String newRoomName) {
   return roomHandling.editRoom(room, newRoomType, newRoomName);
 }
Esempio n. 5
0
 /**
  * Adds a room with the given properties to the list of available rooms at the current hotel.
  *
  * @generated NOT
  */
 public Room addRoom(RoomType roomType, String roomName) {
   return roomHandling.addRoom(roomType, roomName);
 }