addToReferences(blockTrip.getTrip());
bean.setTripId(blockTrip.getTrip().getId());
List<BlockStopTimeV2Bean> blockStopTimes = new ArrayList<BlockStopTimeV2Bean>();
for (BlockStopTimeBean blockStopTime : blockTrip.getBlockStopTimes()) {
BlockStopTimeV2Bean stopTimeBean = getBlockStopTime(blockStopTime);
blockStopTimes.add(stopTimeBean);
}
bean.setBlockStopTimes(blockStopTimes);
return bean;