Example #1
0
 /**
  * Finds the room attributes with name that contains the given argument
  *
  * @generated NOT
  */
 public EList<RoomAttribute> findRoomAttribute(String name) {
   return roomAttributeHandling.findRoomAttribute(name);
 }
Example #2
0
 /**
  * Retrieves all room attributes of the current hotel
  *
  * @generated NOT
  */
 public EList<RoomAttribute> getAllRoomAttributes() {
   return roomAttributeHandling.getAllRoomAttributes();
 }
Example #3
0
 /**
  * Updates the given room attribute with the new parameters.
  *
  * @generated NOT
  */
 public boolean editRoomAttribute(
     RoomAttribute roomAttribute, String newName, String newDescription) {
   return roomAttributeHandling.editRoomAttribute(roomAttribute, newName, newDescription);
 }
Example #4
0
 /**
  * Attempts to remove the given room attribute from the list of available room attributes of the
  * current hotel.
  *
  * @generated NOT
  */
 public boolean removeRoomAttribute(RoomAttribute roomAttribute) {
   return roomAttributeHandling.removeRoomAttribute(roomAttribute);
 }
Example #5
0
 /**
  * Adds a room attribute with the given properties to the list of available room attributes at the
  * current hotel.
  *
  * @generated NOT
  */
 public RoomAttribute addRoomAttribute(String name, String description) {
   return roomAttributeHandling.addRoomAttribute(name, description);
 }