RouteBean route = tripBean.getRoute();
monitoredVehicleJourney.LineRef = getIdWithoutAgency(route.getId());
monitoredVehicleJourney.DirectionRef = tripBean.getDirectionId();
monitoredVehicleJourney.PublishedLineName = tripBean.getTripHeadsign();
monitoredVehicleJourney.FramedVehicleJourneyRef = new FramedVehicleJourneyRef();
monitoredVehicleJourney.VehicleRef = vehicleId;
monitoredVehicleJourney.FramedVehicleJourneyRef.DataFrameRef = String.format(
"%1$tY-%1$tm-%1$td", serviceDate);
monitoredVehicleJourney.FramedVehicleJourneyRef.DatedVehicleJourneyRef = trip.getTripId();