org.onebusaway.transit_data_federation.impl.realtime
public class BlockLocationRecord extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BlockLocationRecord.Builder |
Constructor and Description |
---|
BlockLocationRecord() |
Modifier and Type | Method and Description |
---|---|
static BlockLocationRecord.Builder |
builder() |
org.onebusaway.gtfs.model.AgencyAndId |
getBlockId() |
Double |
getDistanceAlongBlock() |
Double |
getDistanceAlongTrip() |
int |
getId() |
CoordinatePoint |
getLocation() |
Double |
getLocationLat() |
Double |
getLocationLon() |
Double |
getOrientation()
In degrees, 0º is East, 90º is North, 180º is West, and 270º is South
|
EVehiclePhase |
getPhase() |
Double |
getScheduleDeviation() |
long |
getServiceDate() |
String |
getStatus() |
long |
getTime() |
org.onebusaway.gtfs.model.AgencyAndId |
getTimepointId() |
long |
getTimepointPredictedTime() |
long |
getTimepointScheduledTime() |
org.onebusaway.gtfs.model.AgencyAndId |
getTripId() |
org.onebusaway.gtfs.model.AgencyAndId |
getVehicleId() |
boolean |
isDistanceAlongBlockSet() |
boolean |
isLocationSet() |
boolean |
isOrientationSet() |
boolean |
isScheduleDeviationSet() |
String |
toString() |
public static BlockLocationRecord.Builder builder()
public int getId()
public org.onebusaway.gtfs.model.AgencyAndId getBlockId()
public org.onebusaway.gtfs.model.AgencyAndId getTripId()
public long getServiceDate()
public long getTime()
public boolean isScheduleDeviationSet()
public Double getScheduleDeviation()
public boolean isDistanceAlongBlockSet()
public Double getDistanceAlongBlock()
public Double getDistanceAlongTrip()
public boolean isLocationSet()
public Double getLocationLat()
public Double getLocationLon()
public CoordinatePoint getLocation()
public boolean isOrientationSet()
public Double getOrientation()
public org.onebusaway.gtfs.model.AgencyAndId getTimepointId()
public long getTimepointScheduledTime()
public long getTimepointPredictedTime()
public EVehiclePhase getPhase()
public String getStatus()
public org.onebusaway.gtfs.model.AgencyAndId getVehicleId()
Copyright © 2014 OneBusAway. All Rights Reserved.