Examples of CalendarServiceDataFactoryImpl


Examples of org.onebusaway.gtfs.impl.calendar.CalendarServiceDataFactoryImpl

        service.setData(data);
        return service;
    }

    public static CalendarServiceData createCalendarServiceData(GtfsRelationalDao dao) {
        CalendarServiceDataFactoryImpl factory = new CalendarServiceDataFactoryImpl();
        factory.setGtfsDao(dao);
        CalendarServiceData data = factory.createData();
        return data;
    }
View Full Code Here

Examples of org.onebusaway.gtfs.impl.calendar.CalendarServiceDataFactoryImpl

                hf.setFareServiceFactory(_fareServiceFactory);
                hf.setMaxStopToShapeSnapDistance(gtfsBundle.getMaxStopToShapeSnapDistance());

                loadBundle(gtfsBundle, graph, dao);

                CalendarServiceDataFactoryImpl csfactory = new CalendarServiceDataFactoryImpl();
                csfactory.setGtfsDao(dao);
                CalendarServiceData data = csfactory.createData();
                service.addData(data, dao);

                hf.setDefaultStreetToStopTime(gtfsBundle.getDefaultStreetToStopTime());
                hf.run(graph);
View Full Code Here

Examples of org.onebusaway.gtfs.impl.calendar.CalendarServiceDataFactoryImpl

    _excludeFutureServiceDatesInDays = excludeFutureServiceDatesInDays;
  }

  public void run() {

    CalendarServiceDataFactoryImpl factory = new CalendarServiceDataFactoryImpl();
    factory.setGtfsDao(_dao);
    factory.setExcludeFutureServiceDatesInDays(_excludeFutureServiceDatesInDays);
    CalendarServiceData data = factory.createData();
    data.makeReadOnly();

    try {

      ObjectSerializationLibrary.writeObject(
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.