/**
  *
  * <!-- begin-user-doc -->
  * Checks in all rooms bookings related to a reservation
  * <!-- end-user-doc -->
  */
 public void CheckInAllGuests(Reservation reservation) {
   for (RoomBooking roomBooking : reservation.getRoombooking()) {
     int roomNr = roombookings.checkIn(roomBooking);
     if (roomNr > 0)
       System.out.println(
           "Guest "
               + roomBooking.getRoomresponsible().getFirstName()
               + " "
               + roomBooking.getRoomresponsible().getLastName()
               + " got room number "
               + roomNr);
   }
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  */
 public void cancel(Reservation reservation) {
   reservation.setIsCanceled(true);
   for (RoomBooking booking : reservation.getRoombooking()) {
     booking.setIsCanceled(true);
   }
 }