Package models.gtfs

Examples of models.gtfs.GtfsAgency.save()


         
        for (org.onebusaway.gtfs.model.Agency gtfsAgency : reader.getAgencies()) {
          
          GtfsAgency agency = new GtfsAgency(gtfsAgency);
          agency.snapshot = snapshotMerge.snapshot;
          agency.save();
     
        }
       
        snapshotMerge.snapshot.agencyCount = store.getAllAgencies().size();
        snapshotMerge.snapshot.routeCount = store.getAllRoutes().size();
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.