Package org.onebusaway.gtfs.model
Class Ridership
- All Implemented Interfaces:
Serializable,HasExtensions
ridership.txt from https://github.com/ODOT-PTS/GTFS-ride/blob/master/spec/en/reference.md#board_alighttxt
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddoublegetId()intintintvoidsetAgencyId(String id) voidsetAverageLoad(double averageLoad) voidsetEndDate(ServiceDate endDate) voidvoidsetRouteId(String routeId) voidsetStartDate(ServiceDate startDate) voidvoidsetStopSequence(int stopSequence) voidsetTotalAlightings(int totalAlightings) voidsetTotalBoardings(int totalBoardings) voidtoString()Methods inherited from class org.onebusaway.gtfs.model.IdentityBean
equals, getExtension, hashCode, putExtension
-
Constructor Details
-
Ridership
public Ridership()
-
-
Method Details
-
getId
- Specified by:
getIdin classIdentityBean<Integer>
-
setId
- Specified by:
setIdin classIdentityBean<Integer>
-
getAgencyId
-
setAgencyId
-
getRouteId
-
setRouteId
-
getTripId
-
setTripId
-
getStopId
-
setStopId
-
getTotalBoardings
public int getTotalBoardings() -
setTotalBoardings
public void setTotalBoardings(int totalBoardings) -
clearTotalBoardings
public void clearTotalBoardings() -
getTotalAlightings
public int getTotalAlightings() -
setTotalAlightings
public void setTotalAlightings(int totalAlightings) -
clearTotalAlightings
public void clearTotalAlightings() -
getStartDate
-
setStartDate
-
getEndDate
-
setEndDate
-
getAverageLoad
public double getAverageLoad() -
setAverageLoad
public void setAverageLoad(double averageLoad) -
getStopSequence
public int getStopSequence() -
setStopSequence
public void setStopSequence(int stopSequence) -
toString
-