Examples of StopTimeGroupBean


Examples of org.onebusaway.transit_data.model.StopTimeGroupBean

    List<TripHeadsignStopTimeGroupKey> sortedKeys = keyCounts.getSortedKeys();

    for (int i = 0; i < sortedKeys.size() - 1; i++) {

      TripHeadsignStopTimeGroupKey key = sortedKeys.get(i);
      StopTimeGroupBean group = new StopTimeGroupBean();

      String groupId = Integer.toString(groups.size());
      group.setId(groupId);

      String tripHeadsign = key.getTripHeadsign();
      group.setTripHeadsign(tripHeadsign);

      applyGroupIdForGroupKey(stopTimesForDirection, key, groupId);

      groups.add(group);
    }
View Full Code Here

Examples of org.onebusaway.transit_data.model.StopTimeGroupBean

    for (ContinuesAsStopTimeGroupKey key : sortedKeys) {

      AgencyAndId lineId = key.getLineId();
      if (lineId == null)
        continue;
      StopTimeGroupBean group = new StopTimeGroupBean();

      String groupId = Integer.toString(groups.size());
      group.setId(groupId);

      RouteBean route = _routeBeanService.getRouteForId(lineId);
      group.setContinuesAs(route);

      applyGroupIdForGroupKey(stopTimesForDirection, key, groupId);

      groups.add(group);
    }
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.