Ejemplo n.º 1
0
 /**
  * Unbinds a room attribute from a room type
  *
  * @generated NOT
  */
 public boolean removeAttributeFromRoomType(RoomType roomType, RoomAttribute roomAttribute) {
   return roomTypeHandling.removeAttributeFromRoomType(roomType, roomAttribute);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 3
0
 /**
  * Binds a room attribute to a room type.
  *
  * @generated NOT
  */
 public boolean addAttributeToRoomType(RoomType roomType, RoomAttribute roomAttribute) {
   return roomTypeHandling.addAttributeToRoomType(roomType, roomAttribute);
 }
Ejemplo n.º 4
0
 /**
  * Retrieves a list of all available room types at the current hotel.
  *
  * @generated NOT
  */
 public EList<RoomType> getAllRoomTypes() {
   return roomTypeHandling.getAllRoomTypes();
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }