Package org.onebusaway.gtfs.model
Class Route
- java.lang.Object
-
- org.onebusaway.gtfs.model.IdentityBean<AgencyAndId>
-
- org.onebusaway.gtfs.model.Route
-
- All Implemented Interfaces:
Serializable,org.onebusaway.csv_entities.HasExtensions
public final class Route extends IdentityBean<AgencyAndId>
- See Also:
- Serialized Form
-
-
Method Summary
-
Methods inherited from class org.onebusaway.gtfs.model.IdentityBean
equals, getExtension, hashCode, putExtension
-
-
-
-
Constructor Detail
-
Route
public Route()
-
Route
public Route(Route r)
-
-
Method Detail
-
getId
public AgencyAndId getId()
- Specified by:
getIdin classIdentityBean<AgencyAndId>
-
setId
public void setId(AgencyAndId id)
- Specified by:
setIdin classIdentityBean<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)
-
getRouteBikesAllowed
@Deprecated public int getRouteBikesAllowed()
Deprecated.
-
setRouteBikesAllowed
@Deprecated public void setRouteBikesAllowed(int routeBikesAllowed)
Deprecated.
-
getBikesAllowed
public int getBikesAllowed()
- Returns:
- 0 = unknown / unspecified, 1 = bikes allowed, 2 = bikes NOT allowed
-
setBikesAllowed
public void setBikesAllowed(int bikesAllowed)
- Parameters:
bikesAllowed- 0 = unknown / unspecified, 1 = bikes allowed, 2 = bikes NOT allowed
-
isSortOrderSet
public boolean isSortOrderSet()
-
getSortOrder
public int getSortOrder()
-
setSortOrder
public void setSortOrder(int sortOrder)
-
getBrandingUrl
public String getBrandingUrl()
-
setBrandingUrl
public void setBrandingUrl(String brandingUrl)
-
hasEligibilityRestricted
public boolean hasEligibilityRestricted()
-
getEligibilityRestricted
public int getEligibilityRestricted()
-
setEligibilityRestricted
public void setEligibilityRestricted(int eligibilityRestricted)
-
getNetworkId
public String getNetworkId()
-
setNetworkId
public void setNetworkId(String networkId)
-
getRegionalFareCardAccepted
public int getRegionalFareCardAccepted()
-
setRegionalFareCardAccepted
public void setRegionalFareCardAccepted(int regionalFareCardAccepted)
-
-