org.onebusaway.transit_data_federation.impl.transit_graph
Class StopEntryImpl

java.lang.Object
  extended by 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)
           
 
Method Summary
 void addBlockStopTripIndex(BlockStopSequenceIndex index)
           
 void addFrequencyStopTimeIndex(FrequencyBlockStopTimeIndex stopTimeIndex)
           
 void addFrequencyStopTripIndex(FrequencyStopTripIndex index)
           
 void addStopTimeIndex(BlockStopTimeIndex stopTimeIndex)
           
 int compareTo(StopEntry o)
          Comparable Interface
 List<FrequencyBlockStopTimeIndex> getFrequencyStopTimeIndices()
           
 List<FrequencyStopTripIndex> getFrequencyStopTripIndices()
           
 StopHops getHops()
           
 org.onebusaway.gtfs.model.AgencyAndId getId()
          StopEntry Interface
 int getIndex()
           
 double getStopLat()
           
 CoordinatePoint getStopLocation()
           
 double getStopLon()
           
 List<BlockStopTimeIndex> getStopTimeIndices()
           
 List<BlockStopSequenceIndex> getStopTripIndices()
           
 StopTransfers getTransfers()
           
 void setHops(StopHops hops)
           
 void setIndex(int index)
           
 void setTransfers(StopTransfers transfers)
           
 String toString()
          Object Interface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StopEntryImpl

public StopEntryImpl(org.onebusaway.gtfs.model.AgencyAndId id,
                     double lat,
                     double lon)
Method Detail

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 © 2011 OneBusAway. All Rights Reserved.