public interface CarRentalDataSource
Modifier and Type | Method and Description |
---|---|
List<CarRentalRegion> |
getRegions() |
List<CarRentalStation> |
getStations() |
boolean |
updateRegions()
Update the regions from the source;
returns true if there might have been changes
|
boolean |
updateStations()
Update the stations from the source;
returns true if there might have been changes
|
boolean updateRegions()
boolean updateStations()
List<CarRentalStation> getStations()
List<CarRentalRegion> getRegions()
Copyright © 2020. All rights reserved.