@Override public String toString() { return "IpcVehicle [" + "vehicleId=" + avl.getVehicleId() + ", blockId=" + blockId + ", blockAssignmentMethod=" + blockAssignmentMethod + ", routeId=" + routeId + ", routeShortName=" + routeShortName + ", tripId=" + tripId + ", tripPatternId=" + tripPatternId + ", directionId=" + directionId + ", headsign=" + headsign + ", predictable=" + predictable + ", schedBasedPred=" + schedBasedPred + ", realTimeSchedAdh=" + realTimeSchedAdh + ", isDelayed=" + isDelayed + ", isLayover=" + isLayover + ", layoverDepartureTime=" + Time.timeStrNoTimeZone(layoverDepartureTime) + ", nextStopId=" + nextStopId + ", nextStopName=" + nextStopName + ", avl=" + avl + ", heading=" + heading + ", vehicleType=" + vehicleType + "]"; }
/** * GPS epoch time in msec. * * @return */ public long getGpsTime() { return avl.getTime(); }
public String getLicensePlate() { return avl.getLicensePlate(); }
public float getLongitude() { return avl.getLongitude(); }
public float getLatitude() { return avl.getLatitude(); }
/** @return Speed of vehicle, or null if speed not defined. */ public float getSpeed() { return avl.getSpeed(); }
public String getId() { return avl.getVehicleId(); }