/** * Unbinds a room attribute from a room type * * @generated NOT */ public boolean removeAttributeFromRoomType(RoomType roomType, RoomAttribute roomAttribute) { return roomTypeHandling.removeAttributeFromRoomType(roomType, roomAttribute); }
/** * Finds the room types with name that contains the given argument * * @generated NOT */ public EList<RoomType> findRoomType(String name) { return roomTypeHandling.findRoomType(name); }
/** * Binds a room attribute to a room type. * * @generated NOT */ public boolean addAttributeToRoomType(RoomType roomType, RoomAttribute roomAttribute) { return roomTypeHandling.addAttributeToRoomType(roomType, roomAttribute); }
/** * Retrieves a list of all available room types at the current hotel. * * @generated NOT */ public EList<RoomType> getAllRoomTypes() { return roomTypeHandling.getAllRoomTypes(); }
/** * 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); }
/** * 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); }
/** * 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); }