org.onebusaway.transit_data_federation.bundle.tasks.transfer_pattern.graph
Class AbstractTPOfflineBlockVertex

java.lang.Object
  extended by org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertex
      extended by org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertexWithEdges
          extended by org.onebusaway.transit_data_federation.bundle.tasks.transfer_pattern.graph.AbstractTPOfflineBlockVertex
All Implemented Interfaces:
Cloneable, HasStopTimeInstanceTransitVertex, HasStopTransitVertex, TransitVertex, org.opentripplanner.routing.core.HasEdges, org.opentripplanner.routing.core.Vertex
Direct Known Subclasses:
TPOfflineBlockArrivalVertex, TPOfflineBlockDepartureVertex, TPOfflineTransferVertex

public abstract class AbstractTPOfflineBlockVertex
extends AbstractVertexWithEdges
implements HasStopTransitVertex, HasStopTimeInstanceTransitVertex


Field Summary
protected  StopTimeInstance _instance
           
 
Fields inherited from class org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertex
_context
 
Constructor Summary
AbstractTPOfflineBlockVertex(GraphContext context, StopTimeInstance instance)
           
 
Method Summary
 boolean equals(Object obj)
           
 StopTimeInstance getInstance()
           
 StopEntry getStop()
           
 org.onebusaway.gtfs.model.AgencyAndId getStopId()
           
 double getX()
           
 double getY()
           
 int hashCode()
          Object Interface
 
Methods inherited from class org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertexWithEdges
getDegreeIn, getDegreeOut, getIncoming, getOutgoing
 
Methods inherited from class org.onebusaway.transit_data_federation.impl.otp.graph.AbstractVertex
distance, distance, getContext, getCoordinate, getDistanceToNearestTransitStop, getLabel, getName, setDistanceToNearestTransitStop
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.onebusaway.transit_data_federation.impl.otp.graph.TransitVertex
getContext
 
Methods inherited from interface org.opentripplanner.routing.core.Vertex
toString
 

Field Detail

_instance

protected final StopTimeInstance _instance
Constructor Detail

AbstractTPOfflineBlockVertex

public AbstractTPOfflineBlockVertex(GraphContext context,
                                    StopTimeInstance instance)
Method Detail

getInstance

public StopTimeInstance getInstance()
Specified by:
getInstance in interface HasStopTimeInstanceTransitVertex

getStop

public StopEntry getStop()
Specified by:
getStop in interface HasStopTransitVertex

getStopId

public org.onebusaway.gtfs.model.AgencyAndId getStopId()
Specified by:
getStopId in interface org.opentripplanner.routing.core.Vertex
Overrides:
getStopId in class AbstractVertex

getX

public double getX()
Specified by:
getX in interface org.opentripplanner.routing.core.Vertex

getY

public double getY()
Specified by:
getY in interface org.opentripplanner.routing.core.Vertex

hashCode

public int hashCode()
Object Interface

Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2011 OneBusAway. All Rights Reserved.