Package org.onebusaway.gtfs.model
Class WrongWayConcurrency
- java.lang.Object
-
- org.onebusaway.gtfs.model.IdentityBean<Integer>
-
- org.onebusaway.gtfs.model.WrongWayConcurrency
-
- All Implemented Interfaces:
Serializable,org.onebusaway.csv_entities.HasExtensions
public class WrongWayConcurrency extends IdentityBean<Integer>
An GTFS extension that allows for re-mapping of route + direction + stop tuples to a replacement stop. The specific use case example is for Subway real-time service that reports an invalid stop and needs to be corrected to an appropriate stop. Not to be confused with stop consolidation!- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WrongWayConcurrency()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDirectionId()AgencyAndIdgetFromStopId()IntegergetId()StringgetRouteId()AgencyAndIdgetToStopId()voidsetDirectionId(String directionId)voidsetFromStopId(AgencyAndId fromStopId)voidsetId(Integer id)voidsetRouteId(String routeId)voidsetToStopId(AgencyAndId toStopId)-
Methods inherited from class org.onebusaway.gtfs.model.IdentityBean
equals, getExtension, hashCode, putExtension
-
-
-
-
Method Detail
-
getId
public Integer getId()
- Specified by:
getIdin classIdentityBean<Integer>
-
setId
public void setId(Integer id)
- Specified by:
setIdin classIdentityBean<Integer>
-
getRouteId
public String getRouteId()
-
setRouteId
public void setRouteId(String routeId)
-
getDirectionId
public String getDirectionId()
-
setDirectionId
public void setDirectionId(String directionId)
-
getFromStopId
public AgencyAndId getFromStopId()
-
setFromStopId
public void setFromStopId(AgencyAndId fromStopId)
-
getToStopId
public AgencyAndId getToStopId()
-
setToStopId
public void setToStopId(AgencyAndId toStopId)
-
-