org.onebusaway.gtfs.model
Class Route
java.lang.Object
org.onebusaway.gtfs.model.IdentityBean<AgencyAndId>
org.onebusaway.gtfs.model.Route
- All Implemented Interfaces:
- Serializable
public final class Route
- extends IdentityBean<AgencyAndId>
- See Also:
- Serialized Form
Route
public Route()
Route
public Route(Route r)
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.