public final class Route extends IdentityBean<AgencyAndId>
| Modifier and Type | Method and Description |
|---|---|
Agency |
getAgency() |
int |
getBikesAllowed() |
String |
getColor() |
String |
getDesc() |
AgencyAndId |
getId() |
String |
getLongName() |
int |
getRouteBikesAllowed()
Deprecated.
|
String |
getShortName() |
String |
getTextColor() |
int |
getType() |
String |
getUrl() |
void |
setAgency(Agency agency) |
void |
setBikesAllowed(int bikesAllowed) |
void |
setColor(String color) |
void |
setDesc(String desc) |
void |
setId(AgencyAndId id) |
void |
setLongName(String longName) |
void |
setRouteBikesAllowed(int routeBikesAllowed)
Deprecated.
|
void |
setShortName(String shortName) |
void |
setTextColor(String textColor) |
void |
setType(int type) |
void |
setUrl(String url) |
String |
toString() |
equals, hashCodepublic Route()
public Route(Route r)
public AgencyAndId getId()
getId in class IdentityBean<AgencyAndId>public void setId(AgencyAndId id)
setId in class IdentityBean<AgencyAndId>public Agency getAgency()
public void setAgency(Agency agency)
public String getShortName()
public void setShortName(String shortName)
public String getLongName()
public void setLongName(String longName)
public String getDesc()
public void setDesc(String desc)
public int getType()
public void setType(int type)
public String getUrl()
public void setUrl(String url)
public String getColor()
public void setColor(String color)
public String getTextColor()
public void setTextColor(String textColor)
@Deprecated public int getRouteBikesAllowed()
@Deprecated public void setRouteBikesAllowed(int routeBikesAllowed)
public int getBikesAllowed()
public void setBikesAllowed(int bikesAllowed)
bikesAllowed - 0 = unknown / unspecified, 1 = bikes allowed, 2 = bikes
NOT allowedCopyright © 2013 OneBusAway. All Rights Reserved.