Interface BusOrStop
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Bus
getBus()
Long
getId()
RoadLocation
getLocation()
BusStop
getNextStop()
void
setNextStop(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)
-
-