Package org.onebusaway.gtfs.model
Class Trip
- All Implemented Interfaces:
Serializable,org.onebusaway.csv_entities.HasExtensions
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintgetId()getRoute()intvoidsetBikesAllowed(int bikesAllowed) voidsetBlockId(String blockId) voidsetCarsAllowed(int carsAllowed) voidsetDirectionId(String directionId) voidsetId(AgencyAndId id) voidsetMeanDurationFactor(Double meanDurationFactor) voidsetMeanDurationOffset(Double meanDurationOffset) voidvoidsetSafeDurationFactor(Double safeDurationFactor) voidsetSafeDurationOffset(Double safeDurationOffset) voidsetServiceId(AgencyAndId serviceId) voidsetShapeId(AgencyAndId shapeId) voidsetTripHeadsign(String tripHeadsign) voidsetTripShortName(String tripShortName) voidsetWheelchairAccessible(int wheelchairAccessible) toString()Methods inherited from class org.onebusaway.gtfs.model.IdentityBean
equals, getExtension, hashCode, putExtension
-
Constructor Details
-
Trip
public Trip() -
Trip
-
-
Method Details
-
getId
- Specified by:
getIdin classIdentityBean<AgencyAndId>
-
setId
- Specified by:
setIdin classIdentityBean<AgencyAndId>
-
getRoute
-
setRoute
-
getServiceId
-
setServiceId
-
getTripShortName
-
setTripShortName
-
getTripHeadsign
-
setTripHeadsign
-
getDirectionId
-
setDirectionId
-
getBlockId
-
setBlockId
-
getShapeId
-
setShapeId
-
setWheelchairAccessible
public void setWheelchairAccessible(int wheelchairAccessible) -
getWheelchairAccessible
public int getWheelchairAccessible() -
getMeanDurationFactor
-
setMeanDurationFactor
-
getMeanDurationOffset
-
setMeanDurationOffset
-
getSafeDurationFactor
-
setSafeDurationFactor
-
getSafeDurationOffset
-
setSafeDurationOffset
-
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
-
getCarsAllowed
public int getCarsAllowed()- Returns:
- 0 = unknown / unspecified, 1 = cars allowed, 2 = cars NOT allowed
-
setCarsAllowed
public void setCarsAllowed(int carsAllowed) - Parameters:
carsAllowed- 0 = unknown / unspecified, 1 = cars allowed, 2 = cars NOT allowed
-
toString
-