/** Sets the Rental object */ public void setRental(Rental rental) { this.rentalId = rental.getId(); setDirty(); }