Package net.sf.czarrental.bl.reservation

Examples of net.sf.czarrental.bl.reservation.Customer.save()


      int price = (int) (Math.random() * 1500);
      Car vuz = new Car(spz, adresa.getIDaddress(), price, type);
      vuz.save();
    }
    Customer zakaznik = new Customer("Pepik", "telefon", "Adresa", 50);
    zakaznik.save();
    Reservation rezervace = new Reservation(zakaznik.getIDcus(), 20,
        new GregorianCalendar(2009, 12, 10).getTime(),
        new GregorianCalendar(2009, 12, 20).getTime(), "new", null,
        true);
    rezervace.save();
View Full Code Here


      vuz.save();
    }
    // vytvoreni zakaznika
    Customer zakaznik = new Customer("Pepik", "telefon", "Adresa", 50);
    // ulozeni zakaznika
    zakaznik.save();

    // vytvoreni rezervace
    Reservation rezervace = new Reservation(zakaznik.getIDcus(), 20,
        new GregorianCalendar(2009, 12, 10).getTime(),
        new GregorianCalendar(2009, 12, 20).getTime(), "new", null,
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.