public String retrieveReservation() {
//System.out.println("Resid: " + this.resId);
ReservationIDHelper ridHelper = new ReservationIDHelper();
Integer tempRes = ridHelper.formattedtoId(this.resId);
Reservation res = hm.getReservation(tempRes);
if (res != null) {
this.firstname = res.getFirstname();
this.lastname = res.getLastname();
SimpleDateFormat format =
new SimpleDateFormat("MM/dd/yy");
this.arrivalDate = format.format(res.getArrivalDate());
this.numGuests = res.getNumGuests();
this.numNights = res.getNumNights();
Hotel h = res.getHotel();
this.hotelId = h.getHotelId();
this.hotelName = h.getName();
return "retrieve_reservation_success";
} else {
return "retrieve_reservation_error";