Overview

Summary

ContactDonateImprint


Appendix E-14: SEAT (UI prompt)


SeatZeppelinModuleZeppelinFlight

Properties (3)

PropertyTypeEntityReferenceModule
(1) SeatClassSTRINGSeat
(2) SeatNumberSTRINGSeat
(3) ZeppelinINTSeatZeppelinZeppelinModule


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /flightseat/seat/{id}findAllFlightSeatOfSeat(id)FlightModuleGETSeat FlightSeat
(2) /seat/{id}deleteSeatById(id)ZeppelinModuleDELETESeat
(3) /seatfindAllSeat()ZeppelinModuleGETSeat
(4) /seat/zeppelin/{id}findAllSeatOfZeppelin(id)ZeppelinModuleGETZeppelin Seat
(5) /seat/{id}updateSeatById(seat)ZeppelinModulePUTSeat
(6) /seatinsertSeat(seat)ZeppelinModulePOSTSeat
(7) /seat/{id}findSeatById(id)ZeppelinModuleGETSeat





Example:

final Seat seat = (Seat) invokeModule(ZEPPELIN_MODULE + "/seat/" + id, Seat.class);
if (seat != null) {
    final Zeppelin zeppelin1 = (Zeppelin) invokeModule(ZEPPELIN_MODULE + "/zeppelin/" + seat.getZeppelin().getId(), Zeppelin.class);
    if (zeppelin1 != null) {
        final ZeppelinClass zeppelinclass2 = (ZeppelinClass) invokeModule(ORGANIZATION_MODULE + "/zeppelinclass/" + zeppelin1.getZeppelinClass().getId(), ZeppelinClass.class);
        if (zeppelinclass2 != null) {
            final Organization manufacturer3 = (Organization) invokeModule(ORGANIZATION_MODULE + "/organization/" + zeppelinclass2.getManufacturer().getId(), Organization.class);
            if (manufacturer3 != null) {
                final Location headquarterslocation4 = (Location) invokeModule(LOCATION_MODULE + "/location/" + manufacturer3.getHeadquartersLocation().getId(), Location.class);
                if (headquarterslocation4 != null) {
                    final Country country5 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + headquarterslocation4.getCountry().getId(), Country.class);
                    if (country5 != null) {
                    }
                }
            }
        }
        final Location homebaselocation6 = (Location) invokeModule(LOCATION_MODULE + "/location/" + zeppelin1.getHomeBaseLocation().getId(), Location.class);
        if (homebaselocation6 != null) {
            final Country country7 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + homebaselocation6.getCountry().getId(), Country.class);
            if (country7 != null) {
            }
        }
        final Organization operator8 = (Organization) invokeModule(ORGANIZATION_MODULE + "/organization/" + zeppelin1.getOperator().getId(), Organization.class);
        if (operator8 != null) {
            final Location headquarterslocation9 = (Location) invokeModule(LOCATION_MODULE + "/location/" + operator8.getHeadquartersLocation().getId(), Location.class);
            if (headquarterslocation9 != null) {
                final Country country10 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + headquarterslocation9.getCountry().getId(), Country.class);
                if (country10 != null) {
                }
            }
        }
    }
}
return seat;


Overview

Summary

ContactDonateImprint