org.onebusaway.transit_data_federation.model
Class StopSequence

java.lang.Object
  extended by org.onebusaway.container.model.IdentityBean<Integer>
      extended by 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

Constructor Summary
StopSequence()
           
 
Method Summary
 String getDirectionId()
           
 Integer getId()
           
 org.onebusaway.gtfs.model.Route getRoute()
           
 org.onebusaway.gtfs.model.AgencyAndId getShapeId()
           
 List<StopEntry> getStops()
           
 int getTripCount()
           
 List<BlockTripEntry> getTrips()
           
 void setDirectionId(String directionId)
           
 void setId(Integer id)
           
 void setRoute(org.onebusaway.gtfs.model.Route route)
           
 void setShapeId(org.onebusaway.gtfs.model.AgencyAndId shapeId)
           
 void setStops(List<StopEntry> stops)
           
 void setTripCount(int tripCount)
           
 void setTrips(List<BlockTripEntry> trips)
           
 String toString()
           
 
Methods inherited from class org.onebusaway.container.model.IdentityBean
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StopSequence

public StopSequence()
Method Detail

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.