org.onebusaway.transit_data_federation.impl.transit_graph
Class TripEntryImpl

java.lang.Object
  extended by org.onebusaway.transit_data_federation.impl.transit_graph.TripEntryImpl
All Implemented Interfaces:
Serializable, TripEntry

public class TripEntryImpl
extends Object
implements TripEntry, Serializable

See Also:
Serialized Form

Constructor Summary
TripEntryImpl()
           
 
Method Summary
 BlockEntryImpl getBlock()
           
 String getDirectionId()
           
 org.onebusaway.gtfs.model.AgencyAndId getId()
          TripEntry Interface
 RouteEntry getRoute()
           
 RouteCollectionEntry getRouteCollection()
           
 org.onebusaway.gtfs.model.calendar.LocalizedServiceId getServiceId()
           
 org.onebusaway.gtfs.model.AgencyAndId getShapeId()
           
 List<StopTimeEntry> getStopTimes()
           
 double getTotalTripDistance()
           
 void setBlock(BlockEntryImpl block)
           
 void setDirectionId(String directionId)
           
 void setId(org.onebusaway.gtfs.model.AgencyAndId id)
           
 void setRoute(RouteEntryImpl route)
           
 void setServiceId(org.onebusaway.gtfs.model.calendar.LocalizedServiceId serviceId)
           
 void setShapeId(org.onebusaway.gtfs.model.AgencyAndId shapeId)
           
 void setStopTimes(List<StopTimeEntry> stopTimes)
           
 void setTotalTripDistance(double totalTripDistance)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TripEntryImpl

public TripEntryImpl()
Method Detail

setId

public void setId(org.onebusaway.gtfs.model.AgencyAndId id)

setRoute

public void setRoute(RouteEntryImpl route)

setDirectionId

public void setDirectionId(String directionId)

setBlock

public void setBlock(BlockEntryImpl block)

setServiceId

public void setServiceId(org.onebusaway.gtfs.model.calendar.LocalizedServiceId serviceId)

setShapeId

public void setShapeId(org.onebusaway.gtfs.model.AgencyAndId shapeId)

setStopTimes

public void setStopTimes(List<StopTimeEntry> stopTimes)

setTotalTripDistance

public void setTotalTripDistance(double totalTripDistance)

getId

public org.onebusaway.gtfs.model.AgencyAndId getId()
TripEntry Interface

Specified by:
getId in interface TripEntry

getRoute

public RouteEntry getRoute()
Specified by:
getRoute in interface TripEntry

getRouteCollection

public RouteCollectionEntry getRouteCollection()
Specified by:
getRouteCollection in interface TripEntry

getDirectionId

public String getDirectionId()
Specified by:
getDirectionId in interface TripEntry

getBlock

public BlockEntryImpl getBlock()
Specified by:
getBlock in interface TripEntry

getServiceId

public org.onebusaway.gtfs.model.calendar.LocalizedServiceId getServiceId()
Specified by:
getServiceId in interface TripEntry

getShapeId

public org.onebusaway.gtfs.model.AgencyAndId getShapeId()
Specified by:
getShapeId in interface TripEntry

getStopTimes

public List<StopTimeEntry> getStopTimes()
Specified by:
getStopTimes in interface TripEntry

getTotalTripDistance

public double getTotalTripDistance()
Specified by:
getTotalTripDistance in interface TripEntry
Returns:
distance, in meters

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 OneBusAway. All Rights Reserved.