Ejemplo n.º 1
0
 /**
  * Retrieves all rooms available at the hotel
  *
  * @generated NOT
  */
 public EList<Room> getAllRooms() {
   return roomHandling.getAllRooms();
 }
Ejemplo 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);
 }
Ejemplo 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);
 }
Ejemplo 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);
 }
Ejemplo 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);
 }