org.onebusaway.transit_data_federation.impl.transit_graph
Class StopEntryImpl
java.lang.Object
org.onebusaway.transit_data_federation.impl.transit_graph.StopEntryImpl
- All Implemented Interfaces:
- Serializable, Comparable<StopEntry>, StopEntry
public class StopEntryImpl
- extends Object
- implements StopEntry, Serializable
- See Also:
- Serialized Form
Constructor Summary |
StopEntryImpl(org.onebusaway.gtfs.model.AgencyAndId id,
double lat,
double lon)
|
StopEntryImpl
public StopEntryImpl(org.onebusaway.gtfs.model.AgencyAndId id,
double lat,
double lon)
setIndex
public void setIndex(int index)
addStopTimeIndex
public void addStopTimeIndex(BlockStopTimeIndex stopTimeIndex)
getStopTimeIndices
public List<BlockStopTimeIndex> getStopTimeIndices()
addFrequencyStopTimeIndex
public void addFrequencyStopTimeIndex(FrequencyBlockStopTimeIndex stopTimeIndex)
getFrequencyStopTimeIndices
public List<FrequencyBlockStopTimeIndex> getFrequencyStopTimeIndices()
addBlockStopTripIndex
public void addBlockStopTripIndex(BlockStopSequenceIndex index)
getStopTripIndices
public List<BlockStopSequenceIndex> getStopTripIndices()
addFrequencyStopTripIndex
public void addFrequencyStopTripIndex(FrequencyStopTripIndex index)
getFrequencyStopTripIndices
public List<FrequencyStopTripIndex> getFrequencyStopTripIndices()
getTransfers
public StopTransfers getTransfers()
setTransfers
public void setTransfers(StopTransfers transfers)
getHops
public StopHops getHops()
setHops
public void setHops(StopHops hops)
getId
public org.onebusaway.gtfs.model.AgencyAndId getId()
StopEntry
Interface
- Specified by:
getId
in interface StopEntry
getStopLat
public double getStopLat()
- Specified by:
getStopLat
in interface StopEntry
getStopLon
public double getStopLon()
- Specified by:
getStopLon
in interface StopEntry
getStopLocation
public CoordinatePoint getStopLocation()
- Specified by:
getStopLocation
in interface StopEntry
getIndex
public int getIndex()
- Specified by:
getIndex
in interface StopEntry
toString
public String toString()
Object
Interface
- Overrides:
toString
in class Object
compareTo
public int compareTo(StopEntry o)
Comparable
Interface
- Specified by:
compareTo
in interface Comparable<StopEntry>
Copyright © 2012 OneBusAway. All Rights Reserved.