org.onebusaway.transit_data_federation.model
Class StopSequence
java.lang.Object
org.onebusaway.container.model.IdentityBean<Integer>
org.onebusaway.transit_data_federation.model.StopSequence
- All Implemented Interfaces:
- Serializable
public class StopSequence
- extends IdentityBean<Integer>
A stop sequence is a unique sequence of stops visited by a transit trip. So
typically, multiple trips will often refer to the same stop sequence, but not
always.
- Author:
- bdferris
- See Also:
StopSequencesService
,
Serialized Form
StopSequence
public StopSequence()
getId
public Integer getId()
- Specified by:
getId
in class IdentityBean<Integer>
setId
public void setId(Integer id)
- Specified by:
setId
in class IdentityBean<Integer>
getRoute
public org.onebusaway.gtfs.model.Route getRoute()
setRoute
public void setRoute(org.onebusaway.gtfs.model.Route route)
getStops
public List<StopEntry> getStops()
setStops
public void setStops(List<StopEntry> stops)
getTrips
public List<BlockTripEntry> getTrips()
setTrips
public void setTrips(List<BlockTripEntry> trips)
getTripCount
public int getTripCount()
setTripCount
public void setTripCount(int tripCount)
getDirectionId
public String getDirectionId()
setDirectionId
public void setDirectionId(String directionId)
getShapeId
public org.onebusaway.gtfs.model.AgencyAndId getShapeId()
setShapeId
public void setShapeId(org.onebusaway.gtfs.model.AgencyAndId shapeId)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012 OneBusAway. All Rights Reserved.