Package trams.data

Examples of trams.data.RouteSchedule.addService()


        Service theService = new Service();
        theService.addStop(new Stop("Rathaus Pankow", Calendar.getInstance()));
        theService.addStop(new Stop("Pankow Kirche", Calendar.getInstance()));
        theService.addStop(new Stop("S + U Pankow", Calendar.getInstance()));
        RouteSchedule theRouteSchedule = new RouteSchedule();
        theRouteSchedule.addService(theService);
        theRouteSchedule.setRouteNumber(routeNumber);
        theRouteSchedule.setScheduleNumber(scheduleNumber);
        theRouteSchedule.setDelayInMins(delayInMins);
        return theRouteSchedule;
        //session.save(theRouteSchedule);
View Full Code Here


        Service theService = new Service();
        theService.addStop(new Stop("Rathaus Pankow", Calendar.getInstance()));
        theService.addStop(new Stop("Pankow Kirche", Calendar.getInstance()));
        theService.addStop(new Stop("S + U Pankow", Calendar.getInstance()));
        RouteSchedule theRouteSchedule = new RouteSchedule();
        theRouteSchedule.addService(theService);
        theRouteSchedule.setRouteNumber("2A");
        theRouteSchedule.setScheduleNumber(1);
        theRouteSchedule.setDelayInMins(5);
        //session.save(theRouteSchedule);
       
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.