Overview

Summary

ContactDonateImprint


Appendix E-22: HANGAR (UI prompt)


HangarLocationModuleZeppelinFlight

Properties (7)

PropertyTypeEntityReferenceModule
(1) BuiltYearINTHangar
(2) CapacityINTHangar
(3) HeightMetersSTRINGHangar
(4) LengthMetersSTRINGHangar
(5) LocationINTHangarLocationLocationModule
(6) NameSTRINGHangar
(7) WidthMetersSTRINGHangar


Module Interfaces (8)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /hangarinsertHangar(hangar)LocationModulePOSTHangar
(2) /hangar/{id}updateHangarById(hangar)LocationModulePUTHangar
(3) /hangar/{id}deleteHangarById(id)LocationModuleDELETEHangar
(4) /hangar/{id}findHangarById(id)LocationModuleGETHangar
(5) /hangar/location/{id}findAllHangarOfLocation(id)LocationModuleGETLocation Hangar
(6) /flightroute/defaulthangar/{id}findAllFlightRouteOfDefaultHangar(id)LocationModuleGETHangar FlightRoute
(7) /hangarfindAllHangar()LocationModuleGETHangar
(8) /restaurant/relatedhangar/{id}findAllRestaurantOfRelatedHangar(id)RestaurantModuleGETHangar Restaurant





Example:

final Hangar hangar = (Hangar) invokeModule(LOCATION_MODULE + "/hangar/" + id, Hangar.class);
if (hangar != null) {
    final Location location1 = (Location) invokeModule(LOCATION_MODULE + "/location/" + hangar.getLocation().getId(), Location.class);
    if (location1 != null) {
        final Country country2 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + location1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
    }
}
return hangar;


Overview

Summary

ContactDonateImprint