org.onebusaway.transit_data_federation.impl.otp.graph
Class EdgeNarrativeImpl

java.lang.Object
  extended by org.onebusaway.transit_data_federation.impl.otp.graph.EdgeNarrativeImpl
All Implemented Interfaces:
org.opentripplanner.routing.core.EdgeNarrative, org.opentripplanner.routing.core.MutableEdgeNarrative

public class EdgeNarrativeImpl
extends Object
implements org.opentripplanner.routing.core.EdgeNarrative, org.opentripplanner.routing.core.MutableEdgeNarrative


Constructor Summary
EdgeNarrativeImpl(org.opentripplanner.routing.core.Vertex fromVertex, org.opentripplanner.routing.core.Vertex toVertex)
           
 
Method Summary
 double getDistance()
           
 org.opentripplanner.routing.core.Vertex getFromVertex()
          EdgeNarrative Interface
 com.vividsolutions.jts.geom.Geometry getGeometry()
           
 org.opentripplanner.routing.core.TraverseMode getMode()
           
 String getName()
           
 Set<String> getNotes()
           
 org.opentripplanner.routing.core.Vertex getToVertex()
           
 org.onebusaway.gtfs.model.Trip getTrip()
           
 boolean isRoundabout()
           
 void setFromVertex(org.opentripplanner.routing.core.Vertex fromVertex)
          MutableEdgeNarrative Interface
 void setToVertex(org.opentripplanner.routing.core.Vertex toVertex)
           
 String toString()
          Object Interface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EdgeNarrativeImpl

public EdgeNarrativeImpl(org.opentripplanner.routing.core.Vertex fromVertex,
                         org.opentripplanner.routing.core.Vertex toVertex)
Method Detail

setFromVertex

public void setFromVertex(org.opentripplanner.routing.core.Vertex fromVertex)
MutableEdgeNarrative Interface

Specified by:
setFromVertex in interface org.opentripplanner.routing.core.MutableEdgeNarrative

setToVertex

public void setToVertex(org.opentripplanner.routing.core.Vertex toVertex)
Specified by:
setToVertex in interface org.opentripplanner.routing.core.MutableEdgeNarrative

getFromVertex

public org.opentripplanner.routing.core.Vertex getFromVertex()
EdgeNarrative Interface

Specified by:
getFromVertex in interface org.opentripplanner.routing.core.EdgeNarrative

getToVertex

public org.opentripplanner.routing.core.Vertex getToVertex()
Specified by:
getToVertex in interface org.opentripplanner.routing.core.EdgeNarrative

getMode

public org.opentripplanner.routing.core.TraverseMode getMode()
Specified by:
getMode in interface org.opentripplanner.routing.core.EdgeNarrative

getName

public String getName()
Specified by:
getName in interface org.opentripplanner.routing.core.EdgeNarrative

getGeometry

public com.vividsolutions.jts.geom.Geometry getGeometry()
Specified by:
getGeometry in interface org.opentripplanner.routing.core.EdgeNarrative

getDistance

public double getDistance()
Specified by:
getDistance in interface org.opentripplanner.routing.core.EdgeNarrative

getTrip

public org.onebusaway.gtfs.model.Trip getTrip()
Specified by:
getTrip in interface org.opentripplanner.routing.core.EdgeNarrative

isRoundabout

public boolean isRoundabout()
Specified by:
isRoundabout in interface org.opentripplanner.routing.core.EdgeNarrative

getNotes

public Set<String> getNotes()
Specified by:
getNotes in interface org.opentripplanner.routing.core.EdgeNarrative

toString

public String toString()
Object Interface

Overrides:
toString in class Object


Copyright © 2011 OneBusAway. All Rights Reserved.