Package org.onebusaway.transit_data.model.schedule

Examples of org.onebusaway.transit_data.model.schedule.StopTimeBean


    BlockStopTimeBean bean = new BlockStopTimeBean();
    bean.setAccumulatedSlackTime(blockStopTime.getAccumulatedSlackTime());
    bean.setBlockSequence(blockStopTime.getBlockSequence());
    bean.setDistanceAlongBlock(blockStopTime.getDistanceAlongBlock());

    StopTimeBean stopTimeAsBean = _stopTimeBeanService.getStopTimeAsBean(blockStopTime.getStopTime());
    bean.setStopTime(stopTimeAsBean);

    return bean;
  }
View Full Code Here


  }

  @Override
  public StopTimeBean getStopTimeAsBean(StopTimeEntry stopTime) {

    StopTimeBean bean = new StopTimeBean();
    bean.setArrivalTime(stopTime.getArrivalTime());
    bean.setDepartureTime(stopTime.getDepartureTime());
    bean.setDropOffType(stopTime.getDropOffType());
    bean.setPickupType(stopTime.getPickupType());

    StopBean stopBean = _stopBeanService.getStopForId(stopTime.getStop().getId());
    bean.setStop(stopBean);

    return bean;
  }
View Full Code Here

TOP

Related Classes of org.onebusaway.transit_data.model.schedule.StopTimeBean

Copyright © 2018 www.massapicom. 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.