Package models.transit

Examples of models.transit.TripPattern.resequenceTripStops()


     
      TripPattern pattern = TripPattern.findById(patternId);
      ServiceCalendar calendar = ServiceCalendar.findById(calendarId);
     
      // ensure that the trip pattern sequence isn't broken
      pattern.resequenceTripStops();
     
      List<Trip> trips  = Trip.find("pattern = ? and serviceCalendar = ? ORDER by id", pattern, calendar).fetch();
      List<TripPatternStop> stopList  = TripPatternStop.find("pattern = ? ORDER BY stopSequence", pattern).fetch();
       
      StringWriter csvString = new StringWriter();
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.