Overview

Summary

ContactDonateImprint


Appendix E-38: MEMORIAL (UI prompt)


MemorialEngineModuleZeppelinFlight

Properties (5)

PropertyTypeEntityReferenceModule
(1) DescriptionSTRINGMemorial
(2) LocationINTMemorialLocationLocationModule
(3) NameSTRINGMemorial
(4) RelatedAccidentINTMemorialAccidentLocationModule
(5) UnveiledOnDATEMemorial


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /memorial/relatedaccident/{id}findAllMemorialOfRelatedAccident(id)EngineModuleGETAccident Memorial
(2) /memorial/{id}updateMemorialById(memorial)EngineModulePUTMemorial
(3) /memorial/{id}deleteMemorialById(id)EngineModuleDELETEMemorial
(4) /memorialinsertMemorial(memorial)EngineModulePOSTMemorial
(5) /memorial/location/{id}findAllMemorialOfLocation(id)EngineModuleGETLocation Memorial
(6) /memorialfindAllMemorial()EngineModuleGETMemorial
(7) /memorial/{id}findMemorialById(id)EngineModuleGETMemorial





Example:

final Memorial memorial = (Memorial) invokeModule(ENGINE_MODULE + "/memorial/" + id, Memorial.class);
if (memorial != null) {
    final Accident relatedaccident1 = (Accident) invokeModule(LOCATION_MODULE + "/accident/" + memorial.getRelatedAccident().getId(), Accident.class);
    if (relatedaccident1 != null) {
        final Zeppelin zeppelin2 = (Zeppelin) invokeModule(ZEPPELIN_MODULE + "/zeppelin/" + relatedaccident1.getZeppelin().getId(), Zeppelin.class);
        if (zeppelin2 != null) {
            final ZeppelinClass zeppelinclass3 = (ZeppelinClass) invokeModule(ORGANIZATION_MODULE + "/zeppelinclass/" + zeppelin2.getZeppelinClass().getId(), ZeppelinClass.class);
            if (zeppelinclass3 != null) {
                final Organization manufacturer4 = (Organization) invokeModule(ORGANIZATION_MODULE + "/organization/" + zeppelinclass3.getManufacturer().getId(), Organization.class);
                if (manufacturer4 != null) {
                    final Location headquarterslocation5 = (Location) invokeModule(LOCATION_MODULE + "/location/" + manufacturer4.getHeadquartersLocation().getId(), Location.class);
                    if (headquarterslocation5 != null) {
                        final Country country6 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + headquarterslocation5.getCountry().getId(), Country.class);
                        if (country6 != null) {
                        }
                    }
                }
            }
            final Location homebaselocation7 = (Location) invokeModule(LOCATION_MODULE + "/location/" + zeppelin2.getHomeBaseLocation().getId(), Location.class);
            if (homebaselocation7 != null) {
                final Country country8 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + homebaselocation7.getCountry().getId(), Country.class);
                if (country8 != null) {
                }
            }
            final Organization operator9 = (Organization) invokeModule(ORGANIZATION_MODULE + "/organization/" + zeppelin2.getOperator().getId(), Organization.class);
            if (operator9 != null) {
                final Location headquarterslocation10 = (Location) invokeModule(LOCATION_MODULE + "/location/" + operator9.getHeadquartersLocation().getId(), Location.class);
                if (headquarterslocation10 != null) {
                    final Country country11 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + headquarterslocation10.getCountry().getId(), Country.class);
                    if (country11 != null) {
                    }
                }
            }
        }
        final Location location12 = (Location) invokeModule(LOCATION_MODULE + "/location/" + relatedaccident1.getLocation().getId(), Location.class);
        if (location12 != null) {
            final Country country13 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + location12.getCountry().getId(), Country.class);
            if (country13 != null) {
            }
        }
        final Mission mission14 = (Mission) invokeModule(MISSION_MODULE + "/mission/" + relatedaccident1.getMission().getId(), Mission.class);
        if (mission14 != null) {
            final War war15 = (War) invokeModule(MISSION_MODULE + "/war/" + mission14.getWar().getId(), War.class);
            if (war15 != null) {
            }
            final MissionType missiontype16 = (MissionType) invokeModule(MISSION_MODULE + "/missiontype/" + mission14.getMissionType().getId(), MissionType.class);
            if (missiontype16 != null) {
            }
            final Location destinationlocation17 = (Location) invokeModule(LOCATION_MODULE + "/location/" + mission14.getDestinationLocation().getId(), Location.class);
            if (destinationlocation17 != null) {
                final Country country18 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + destinationlocation17.getCountry().getId(), Country.class);
                if (country18 != null) {
                }
            }
            final Location originlocation19 = (Location) invokeModule(LOCATION_MODULE + "/location/" + mission14.getOriginLocation().getId(), Location.class);
            if (originlocation19 != null) {
                final Country country20 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + originlocation19.getCountry().getId(), Country.class);
                if (country20 != null) {
                }
            }
            final Zeppelin zeppelin21 = (Zeppelin) invokeModule(ZEPPELIN_MODULE + "/zeppelin/" + mission14.getZeppelin().getId(), Zeppelin.class);
            if (zeppelin21 != null) {
                final ZeppelinClass zeppelinclass22 = (ZeppelinClass) invokeModule(ORGANIZATION_MODULE + "/zeppelinclass/" + zeppelin21.getZeppelinClass().getId(), ZeppelinClass.class);
                if (zeppelinclass22 != null) {
                    final Organization manufacturer23 = (Organization) invokeModule(ORGANIZATION_MODULE + "/organization/" + zeppelinclass22.getManufacturer().getId(), Organization.class);
                    if (manufacturer23 != null) {
                        final Location headquarterslocation24 = (Location) invokeModule(LOCATION_MODULE + "/location/" + manufacturer23.getHeadquartersLocation().getId(), Location.class);
                        if (headquarterslocation24 != null) {
                            final Country country25 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + headquarterslocation24.getCountry().getId(), Country.class);
                            if (country25 != null) {
                            }
                        }
                    }
                }
                final Location homebaselocation26 = (Location) invokeModule(LOCATION_MODULE + "/location/" + zeppelin21.getHomeBaseLocation().getId(), Location.class);
                if (homebaselocation26 != null) {
                    final Country country27 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + homebaselocation26.getCountry().getId(), Country.class);
                    if (country27 != null) {
                    }
                }
                final Organization operator28 = (Organization) invokeModule(ORGANIZATION_MODULE + "/organization/" + zeppelin21.getOperator().getId(), Organization.class);
                if (operator28 != null) {
                    final Location headquarterslocation29 = (Location) invokeModule(LOCATION_MODULE + "/location/" + operator28.getHeadquartersLocation().getId(), Location.class);
                    if (headquarterslocation29 != null) {
                        final Country country30 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + headquarterslocation29.getCountry().getId(), Country.class);
                        if (country30 != null) {
                        }
                    }
                }
            }
            final MilitaryBranch militarybranch31 = (MilitaryBranch) invokeModule(COUNTRY_MODULE + "/militarybranch/" + mission14.getMilitaryBranch().getId(), MilitaryBranch.class);
            if (militarybranch31 != null) {
                final Country country32 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + militarybranch31.getCountry().getId(), Country.class);
                if (country32 != null) {
                }
            }
        }
    }
    final Location location33 = (Location) invokeModule(LOCATION_MODULE + "/location/" + memorial.getLocation().getId(), Location.class);
    if (location33 != null) {
        final Country country34 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + location33.getCountry().getId(), Country.class);
        if (country34 != null) {
        }
    }
}
return memorial;


Overview

Summary

ContactDonateImprint