Package it.hotel.model.booking

Examples of it.hotel.model.booking.IBooking


   * This method validates required fields for booking such as beginDate
   * and finishDate.
   * @param
   */
  public void validate(Object command, Errors errors) {
      IBooking booking = (IBooking)command;
      checkRequiredString(booking.getBeginDate(), "beginDate", errors);
      checkRequiredString(booking.getFinishDate(), "finishDate", errors);
      isEndGreatBegin(booking, errors);
      isBeginBeforeToday(booking , errors);
  }
View Full Code Here

TOP

Related Classes of it.hotel.model.booking.IBooking

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.