Example #1
0
 /**
  * Unbinds a room attribute from a room type
  *
  * @generated NOT
  */
 public boolean removeAttributeFromRoomType(RoomType roomType, RoomAttribute roomAttribute) {
   return roomTypeHandling.removeAttributeFromRoomType(roomType, roomAttribute);
 }
Example #2
0
 /**
  * Finds the room types with name that contains the given argument
  *
  * @generated NOT
  */
 public EList<RoomType> findRoomType(String name) {
   return roomTypeHandling.findRoomType(name);
 }
Example #3
0
 /**
  * Binds a room attribute to a room type.
  *
  * @generated NOT
  */
 public boolean addAttributeToRoomType(RoomType roomType, RoomAttribute roomAttribute) {
   return roomTypeHandling.addAttributeToRoomType(roomType, roomAttribute);
 }
Example #4
0
 /**
  * Retrieves a list of all available room types at the current hotel.
  *
  * @generated NOT
  */
 public EList<RoomType> getAllRoomTypes() {
   return roomTypeHandling.getAllRoomTypes();
 }
Example #5
0
 /**
  * Attempts to remove the given room type from the list of available room types of the current
  * hotel.
  *
  * @generated NOT
  */
 public boolean removeRoomType(RoomType roomType) {
   return roomTypeHandling.removeRoomType(roomType);
 }
Example #6
0
 /**
  * Updates the given room type with the new parameters.
  *
  * @generated NOT
  */
 public boolean editRoomType(RoomType roomType, String newName, int newCapacity, int newCost) {
   return roomTypeHandling.editRoomType(roomType, newName, newCapacity, newCost);
 }
Example #7
0
 /**
  * Adds a room type with the given properties to the list of available room types at the current
  * hotel.
  *
  * @generated NOT
  */
 public RoomType addRoomType(String name, int capacity, int cost) {
   return roomTypeHandling.addRoomType(name, capacity, cost);
 }