Interface BusOrStop
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BusgetBus()LonggetId()RoadLocationgetLocation()BusStopgetNextStop()voidsetNextStop(BusStop nextStop)
-
-
-
Method Detail
-
getId
Long getId()
-
getLocation
RoadLocation getLocation()
- Returns:
- never null
-
getBus
Bus getBus()
- Returns:
- sometimes null
-
getNextStop
BusStop getNextStop()
- Returns:
- sometimes null
-
setNextStop
void setNextStop(BusStop nextStop)
-
-