Interface TransportFacilityService
- All Known Implementing Classes:
DefaultTransportFacilityService
public interface TransportFacilityService
Service which exposes methods relevant to TransportFacility
-
Method Summary
Modifier and TypeMethodDescriptiongetCity(TransportFacilityModel transportFacility) Method to get the city for transport facility.getCountry(TransportFacilityModel transportFacility) Method to get the country for transport facility.getTransportFacility(String code) Returns TransportFacility for code.
-
Method Details
-
getTransportFacility
Returns TransportFacility for code.- Parameters:
code- the code- Returns:
- TransportFacilityModel for given code
-
getCountry
Method to get the country for transport facility.- Parameters:
transportFacility- the transport facility- Returns:
- Country model
-
getCity
Method to get the city for transport facility.- Parameters:
transportFacility- the transport facility- Returns:
- City model
-