Overview

Summary

ContactDonateImprint


Appendix E-17: CITY (UI prompt)


CityRegionModuleLoons

Properties (2)

PropertyTypeEntityReferenceModule
(1) NameSTRINGCity
(2) RegionINTCityRegionRegionModule


Module Interfaces (8)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /launchsite/city/{id}findAllLaunchSiteOfCity(id)LaunchSiteModuleGETCity LaunchSite
(2) /groundstation/city/{id}findAllGroundStationOfCity(id)NetworkTechnologyModuleGETCity GroundStation
(3) /city/region/{id}findAllCityOfRegion(id)RegionModuleGETRegion City
(4) /cityinsertCity(city)RegionModulePOSTCity
(5) /cityfindAllCity()RegionModuleGETCity
(6) /city/{id}deleteCityById(id)RegionModuleDELETECity
(7) /city/{id}updateCityById(city)RegionModulePUTCity
(8) /city/{id}findCityById(id)RegionModuleGETCity





Example:

final City city = (City) invokeModule(REGION_MODULE + "/city/" + id, City.class);
if (city != null) {
    final Region region1 = (Region) invokeModule(REGION_MODULE + "/region/" + city.getRegion().getId(), Region.class);
    if (region1 != null) {
        final Country country2 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + region1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
    }
}
return city;


Overview

Summary

ContactDonateImprint