Package it.hotel.controller.frontend.booking

Examples of it.hotel.controller.frontend.booking.BookingFrontendDTO


 
  /**
   * @param
   */
  public void validate(Object command, Errors errors) {
    BookingFrontendDTO booking = (BookingFrontendDTO) command;
    checkRequiredString(booking.getName(), "name", errors);
    checkRequiredString(booking.getSurname(), "surname", errors);
    checkRequiredRooms(booking.getRoomsToBooking(), "rooms", errors);
    checkRequireMail(booking.getMail(), "mail", errors);
   
  }
View Full Code Here


 
  @Override
  public void onSetUpInTransaction() throws Exception {
    // TODO Auto-generated method stub
   
    booking= new BookingFrontendDTO();
    booking.setBeginDate(CalendarUtils.GetGregorianCalendar("21/07/2009"));
    booking.setFinishDate(CalendarUtils.GetGregorianCalendar("22/07/2009"));
   
    Typology t= new Typology();
    t.setBeds(1);
View Full Code Here

TOP

Related Classes of it.hotel.controller.frontend.booking.BookingFrontendDTO

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.