Overview

Summary

ContactDonateImprint


Appendix E-18: FLIGHT ROUTE (UI prompt)


FlightRouteLocationModuleZeppelinFlight

Properties (8)

PropertyTypeEntityReferenceModule
(1) ArrivalLocationINTFlightRouteLocationLocationModule
(2) DefaultHangarINTFlightRouteHangarLocationModule
(3) DepartureLocationINTFlightRouteLocationLocationModule
(4) DescriptionSTRINGFlightRoute
(5) DistanceKmSTRINGFlightRoute
(6) DurationMinutesINTFlightRoute
(7) NameSTRINGFlightRoute
(8) RegionSTRINGFlightRoute


Module Interfaces (9)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /flight/flightroute/{id}findAllFlightOfFlightRoute(id)FlightModuleGETFlightRoute Flight
(2) /flightroutefindAllFlightRoute()LocationModuleGETFlightRoute
(3) /flightroute/{id}deleteFlightRouteById(id)LocationModuleDELETEFlightRoute
(4) /flightrouteinsertFlightRoute(flightroute)LocationModulePOSTFlightRoute
(5) /flightroute/{id}updateFlightRouteById(flightroute)LocationModulePUTFlightRoute
(6) /flightroute/departurelocation/{id}findAllFlightRouteOfDepartureLocation(id)LocationModuleGETLocation FlightRoute
(7) /flightroute/arrivallocation/{id}findAllFlightRouteOfArrivalLocation(id)LocationModuleGETLocation FlightRoute
(8) /flightroute/defaulthangar/{id}findAllFlightRouteOfDefaultHangar(id)LocationModuleGETHangar FlightRoute
(9) /flightroute/{id}findFlightRouteById(id)LocationModuleGETFlightRoute





Example:

final FlightRoute flightroute = (FlightRoute) invokeModule(LOCATION_MODULE + "/flightroute/" + id, FlightRoute.class);
if (flightroute != null) {
    final Location departurelocation1 = (Location) invokeModule(LOCATION_MODULE + "/location/" + flightroute.getDepartureLocation().getId(), Location.class);
    if (departurelocation1 != null) {
        final Country country2 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + departurelocation1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
    }
    final Hangar defaulthangar3 = (Hangar) invokeModule(LOCATION_MODULE + "/hangar/" + flightroute.getDefaultHangar().getId(), Hangar.class);
    if (defaulthangar3 != null) {
        final Location location4 = (Location) invokeModule(LOCATION_MODULE + "/location/" + defaulthangar3.getLocation().getId(), Location.class);
        if (location4 != null) {
            final Country country5 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + location4.getCountry().getId(), Country.class);
            if (country5 != null) {
            }
        }
    }
    final Location arrivallocation6 = (Location) invokeModule(LOCATION_MODULE + "/location/" + flightroute.getArrivalLocation().getId(), Location.class);
    if (arrivallocation6 != null) {
        final Country country7 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + arrivallocation6.getCountry().getId(), Country.class);
        if (country7 != null) {
        }
    }
}
return flightroute;


Overview

Summary

ContactDonateImprint