org.onebusaway.transit_data.model.tripplanning
Class LegBean

java.lang.Object
  extended by org.onebusaway.transit_data.model.tripplanning.LegBean
All Implemented Interfaces:
Serializable

public class LegBean
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
LegBean()
           
 
Method Summary
 double getDistance()
           
 long getEndTime()
           
 CoordinatePoint getFrom()
           
 String getMode()
           
 long getStartTime()
           
 List<StreetLegBean> getStreetLegs()
           
 CoordinatePoint getTo()
           
 TransitLegBean getTransitLeg()
           
 void setDistance(double distance)
           
 void setEndTime(long endTime)
           
 void setFrom(CoordinatePoint from)
           
 void setMode(String mode)
           
 void setStartTime(long startTime)
           
 void setStreetLegs(List<StreetLegBean> streetLegs)
           
 void setTo(CoordinatePoint to)
           
 void setTransitLeg(TransitLegBean transitLeg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LegBean

public LegBean()
Method Detail

getStartTime

public long getStartTime()

setStartTime

public void setStartTime(long startTime)

getEndTime

public long getEndTime()

setEndTime

public void setEndTime(long endTime)

getFrom

public CoordinatePoint getFrom()

setFrom

public void setFrom(CoordinatePoint from)

getTo

public CoordinatePoint getTo()

setTo

public void setTo(CoordinatePoint to)

getDistance

public double getDistance()

setDistance

public void setDistance(double distance)

getMode

public String getMode()

setMode

public void setMode(String mode)

getTransitLeg

public TransitLegBean getTransitLeg()

setTransitLeg

public void setTransitLeg(TransitLegBean transitLeg)

getStreetLegs

public List<StreetLegBean> getStreetLegs()

setStreetLegs

public void setStreetLegs(List<StreetLegBean> streetLegs)


Copyright © 2011 OneBusAway. All Rights Reserved.