Overview

Summary

ContactDonateImprint


Appendix E-36: RESTAURANT TABLE (UI prompt)


RestaurantTableRestaurantModuleZeppelinFlight

Properties (3)

PropertyTypeEntityReferenceModule
(1) CapacityINTRestaurantTable
(2) RestaurantINTRestaurantTableRestaurantRestaurantModule
(3) TableNumberSTRINGRestaurantTable


Module Interfaces (6)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /restauranttable/restaurant/{id}findAllRestaurantTableOfRestaurant(id)RestaurantModuleGETRestaurant RestaurantTable
(2) /restauranttableinsertRestaurantTable(restauranttable)RestaurantModulePOSTRestaurantTable
(3) /restauranttablefindAllRestaurantTable()RestaurantModuleGETRestaurantTable
(4) /restauranttable/{id}deleteRestaurantTableById(id)RestaurantModuleDELETERestaurantTable
(5) /restauranttable/{id}updateRestaurantTableById(restauranttable)RestaurantModulePUTRestaurantTable
(6) /restauranttable/{id}findRestaurantTableById(id)RestaurantModuleGETRestaurantTable





Example:

final RestaurantTable restauranttable = (RestaurantTable) invokeModule(RESTAURANT_MODULE + "/restauranttable/" + id, RestaurantTable.class);
if (restauranttable != null) {
    final Restaurant restaurant1 = (Restaurant) invokeModule(RESTAURANT_MODULE + "/restaurant/" + restauranttable.getRestaurant().getId(), Restaurant.class);
    if (restaurant1 != null) {
        final Hangar relatedhangar2 = (Hangar) invokeModule(LOCATION_MODULE + "/hangar/" + restaurant1.getRelatedHangar().getId(), Hangar.class);
        if (relatedhangar2 != null) {
            final Location location3 = (Location) invokeModule(LOCATION_MODULE + "/location/" + relatedhangar2.getLocation().getId(), Location.class);
            if (location3 != null) {
                final Country country4 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + location3.getCountry().getId(), Country.class);
                if (country4 != null) {
                }
            }
        }
        final Location location5 = (Location) invokeModule(LOCATION_MODULE + "/location/" + restaurant1.getLocation().getId(), Location.class);
        if (location5 != null) {
            final Country country6 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + location5.getCountry().getId(), Country.class);
            if (country6 != null) {
            }
        }
    }
}
return restauranttable;


Overview

Summary

ContactDonateImprint