org.onebusaway.gtfs.model
Class Route

java.lang.Object
  extended by org.onebusaway.gtfs.model.IdentityBean<AgencyAndId>
      extended by org.onebusaway.gtfs.model.Route
All Implemented Interfaces:
Serializable

public final class Route
extends IdentityBean<AgencyAndId>

See Also:
Serialized Form

Constructor Summary
Route()
           
Route(Route r)
           
 
Method Summary
 Agency getAgency()
           
 String getColor()
           
 String getDesc()
           
 AgencyAndId getId()
           
 String getLongName()
           
 String getShortName()
           
 String getTextColor()
           
 int getType()
           
 String getUrl()
           
 void setAgency(Agency agency)
           
 void setColor(String color)
           
 void setDesc(String desc)
           
 void setId(AgencyAndId id)
           
 void setLongName(String longName)
           
 void setShortName(String shortName)
           
 void setTextColor(String textColor)
           
 void setType(int type)
           
 void setUrl(String url)
           
 String toString()
           
 
Methods inherited from class org.onebusaway.gtfs.model.IdentityBean
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Route

public Route()

Route

public Route(Route r)
Method Detail

getId

public AgencyAndId getId()
Specified by:
getId in class IdentityBean<AgencyAndId>

setId

public void setId(AgencyAndId id)
Specified by:
setId in class IdentityBean<AgencyAndId>

getAgency

public Agency getAgency()

setAgency

public void setAgency(Agency agency)

getShortName

public String getShortName()

setShortName

public void setShortName(String shortName)

getLongName

public String getLongName()

setLongName

public void setLongName(String longName)

getDesc

public String getDesc()

setDesc

public void setDesc(String desc)

getType

public int getType()

setType

public void setType(int type)

getUrl

public String getUrl()

setUrl

public void setUrl(String url)

getColor

public String getColor()

setColor

public void setColor(String color)

getTextColor

public String getTextColor()

setTextColor

public void setTextColor(String textColor)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 OneBusAway. All Rights Reserved.