Overview

Summary

ContactDonateImprint


11. RESTAURANT MODULE (UI prompt)



Module Entities (5)

EntityAliasModuleGlobal Schema
(1) HangarHangarLocationModuleZeppelinFlight
(2) LocationLocationLocationModuleZeppelinFlight
(3) ReservationReservationCustomerModuleZeppelinFlight
(4) RestaurantRestaurantRestaurantModuleZeppelinFlight
(5) RestaurantTableRestaurantTableRestaurantModuleZeppelinFlight

Module Interfaces (13)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /restauranttable/{id}updateRestaurantTableById(restauranttable)RestaurantModulePUTRestaurantTable
(2) /restauranttable/restaurant/{id}findAllRestaurantTableOfRestaurant(id)RestaurantModuleGETRestaurant RestaurantTable
(3) /restaurantinsertRestaurant(restaurant)RestaurantModulePOSTRestaurant
(4) /restauranttableinsertRestaurantTable(restauranttable)RestaurantModulePOSTRestaurantTable
(5) /restaurant/relatedhangar/{id}findAllRestaurantOfRelatedHangar(id)RestaurantModuleGETHangar Restaurant
(6) /restaurant/location/{id}findAllRestaurantOfLocation(id)RestaurantModuleGETLocation Restaurant
(7) /restauranttable/{id}deleteRestaurantTableById(id)RestaurantModuleDELETERestaurantTable
(8) /restauranttablefindAllRestaurantTable()RestaurantModuleGETRestaurantTable
(9) /restaurant/{id}updateRestaurantById(restaurant)RestaurantModulePUTRestaurant
(10) /restaurantfindAllRestaurant()RestaurantModuleGETRestaurant
(11) /restaurant/{id}findRestaurantById(id)RestaurantModuleGETRestaurant
(12) /restaurant/{id}deleteRestaurantById(id)RestaurantModuleDELETERestaurant
(13) /restauranttable/{id}findRestaurantTableById(id)RestaurantModuleGETRestaurantTable






11.1 RESTAURANT


RestaurantRestaurantModuleZeppelinFlight

Properties (5)

PropertyTypeEntityReferenceModule
(1) DescriptionSTRINGRestaurant
(2) LocationINTRestaurantLocationLocationModule
(3) NameSTRINGRestaurant
(4) RelatedHangarINTRestaurantHangarLocationModule
(5) WebsiteSTRINGRestaurant





Example:

final Restaurant restaurant = (Restaurant) invokeModule(RESTAURANT_MODULE + "/restaurant/" + id, Restaurant.class);
if (restaurant != null) {
    final Hangar relatedhangar1 = (Hangar) invokeModule(LOCATION_MODULE + "/hangar/" + restaurant.getRelatedHangar().getId(), Hangar.class);
    if (relatedhangar1 != null) {
        final Location location2 = (Location) invokeModule(LOCATION_MODULE + "/location/" + relatedhangar1.getLocation().getId(), Location.class);
        if (location2 != null) {
            final Country country3 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + location2.getCountry().getId(), Country.class);
            if (country3 != null) {
            }
        }
    }
    final Location location4 = (Location) invokeModule(LOCATION_MODULE + "/location/" + restaurant.getLocation().getId(), Location.class);
    if (location4 != null) {
        final Country country5 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + location4.getCountry().getId(), Country.class);
        if (country5 != null) {
        }
    }
}
return restaurant;


11.2 RESTAURANT TABLE


RestaurantTableRestaurantModuleZeppelinFlight

Properties (3)

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





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