Overview

Summary

ContactDonateImprint


Appendix E-41: FLIGHT PASSENGER (UI prompt)


FlightPassengerLocationCityModuleBookingCom

Properties (6)

PropertyTypeEntityReferenceModule
(1) DateOfBirthDATEFlightPassenger
(2) DocumentNumberSTRINGFlightPassenger
(3) FlightBookingINTFlightPassengerFlightBookingCurrencyModule
(4) FullNameSTRINGFlightPassenger
(5) NationalityCountryINTFlightPassengerLocationCountryLocationCityModule
(6) PassengerTypeSTRINGFlightPassenger


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /flightpassenger/{id}updateFlightPassengerById(flightpassenger)LocationCityModulePUTFlightPassenger
(2) /flightpassenger/nationalitycountry/{id}findAllFlightPassengerOfNationalityCountry(id)LocationCityModuleGETLocationCountry FlightPassenger
(3) /flightpassengerfindAllFlightPassenger()LocationCityModuleGETFlightPassenger
(4) /flightpassenger/{id}deleteFlightPassengerById(id)LocationCityModuleDELETEFlightPassenger
(5) /flightpassengerinsertFlightPassenger(flightpassenger)LocationCityModulePOSTFlightPassenger
(6) /flightpassenger/flightbooking/{id}findAllFlightPassengerOfFlightBooking(id)LocationCityModuleGETFlightBooking FlightPassenger
(7) /flightpassenger/{id}findFlightPassengerById(id)LocationCityModuleGETFlightPassenger





Example:

final FlightPassenger flightpassenger = (FlightPassenger) invokeModule(LOCATION_CITY_MODULE + "/flightpassenger/" + id, FlightPassenger.class);
if (flightpassenger != null) {
    final LocationCountry nationalitycountry1 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + flightpassenger.getNationalityCountry().getId(), LocationCountry.class);
    if (nationalitycountry1 != null) {
    }
    final FlightBooking flightbooking2 = (FlightBooking) invokeModule(CURRENCY_MODULE + "/flightbooking/" + flightpassenger.getFlightBooking().getId(), FlightBooking.class);
    if (flightbooking2 != null) {
        final Booking booking3 = (Booking) invokeModule(BOOKING_MODULE + "/booking/" + flightbooking2.getBooking().getId(), Booking.class);
        if (booking3 != null) {
            final UserAccount useraccount4 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + booking3.getUserAccount().getId(), UserAccount.class);
            if (useraccount4 != null) {
                final Currency defaultcurrency5 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + useraccount4.getDefaultCurrency().getId(), Currency.class);
                if (defaultcurrency5 != null) {
                }
                final Language defaultlanguage6 = (Language) invokeModule(LANGUAGE_MODULE + "/language/" + useraccount4.getDefaultLanguage().getId(), Language.class);
                if (defaultlanguage6 != null) {
                }
            }
            final Currency currency7 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + booking3.getCurrency().getId(), Currency.class);
            if (currency7 != null) {
            }
        }
        final Currency currency8 = (Currency) invokeModule(CURRENCY_MODULE + "/currency/" + flightbooking2.getCurrency().getId(), Currency.class);
        if (currency8 != null) {
        }
    }
}
return flightpassenger;


Overview

Summary

ContactDonateImprint