Overview

Summary

ContactDonateImprint


6. LOCATION MODULE (UI prompt)



Module Entities (14)

EntityAliasModuleGlobal Schema
(1) AccidentAccidentLocationModuleZeppelinFlight
(2) CountryCountryCountryModuleZeppelinFlight
(3) EventEventOrganizationModuleZeppelinFlight
(4) FlightFlightFlightModuleZeppelinFlight
(5) FlightRouteFlightRouteLocationModuleZeppelinFlight
(6) HangarHangarLocationModuleZeppelinFlight
(7) JobApplicationJobApplicationPersonModuleZeppelinFlight
(8) JobPostingJobPostingLocationModuleZeppelinFlight
(9) LocationLocationLocationModuleZeppelinFlight
(10) MemorialMemorialEngineModuleZeppelinFlight
(11) MissionMissionMissionModuleZeppelinFlight
(12) OrganizationOrganizationOrganizationModuleZeppelinFlight
(13) RestaurantRestaurantRestaurantModuleZeppelinFlight
(14) ZeppelinZeppelinZeppelinModuleZeppelinFlight

Module Interfaces (35)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /flightroute/arrivallocation/{id}findAllFlightRouteOfArrivalLocation(id)LocationModuleGETLocation FlightRoute
(2) /flightroute/{id}findFlightRouteById(id)LocationModuleGETFlightRoute
(3) /flightroute/defaulthangar/{id}findAllFlightRouteOfDefaultHangar(id)LocationModuleGETHangar FlightRoute
(4) /hangar/{id}deleteHangarById(id)LocationModuleDELETEHangar
(5) /hangar/{id}findHangarById(id)LocationModuleGETHangar
(6) /location/{id}deleteLocationById(id)LocationModuleDELETELocation
(7) /hangar/{id}updateHangarById(hangar)LocationModulePUTHangar
(8) /accident/location/{id}findAllAccidentOfLocation(id)LocationModuleGETLocation Accident
(9) /jobpostinginsertJobPosting(jobposting)LocationModulePOSTJobPosting
(10) /flightroutefindAllFlightRoute()LocationModuleGETFlightRoute
(11) /locationfindAllLocation()LocationModuleGETLocation
(12) /flightroute/departurelocation/{id}findAllFlightRouteOfDepartureLocation(id)LocationModuleGETLocation FlightRoute
(13) /jobposting/{id}updateJobPostingById(jobposting)LocationModulePUTJobPosting
(14) /jobposting/organization/{id}findAllJobPostingOfOrganization(id)LocationModuleGETOrganization JobPosting
(15) /locationinsertLocation(location)LocationModulePOSTLocation
(16) /accidentinsertAccident(accident)LocationModulePOSTAccident
(17) /flightroute/{id}deleteFlightRouteById(id)LocationModuleDELETEFlightRoute
(18) /jobpostingfindAllJobPosting()LocationModuleGETJobPosting
(19) /jobposting/location/{id}findAllJobPostingOfLocation(id)LocationModuleGETLocation JobPosting
(20) /location/{id}updateLocationById(location)LocationModulePUTLocation
(21) /accident/zeppelin/{id}findAllAccidentOfZeppelin(id)LocationModuleGETZeppelin Accident
(22) /location/{id}findLocationById(id)LocationModuleGETLocation
(23) /hangarinsertHangar(hangar)LocationModulePOSTHangar
(24) /accident/mission/{id}findAllAccidentOfMission(id)LocationModuleGETMission Accident
(25) /flightroute/{id}updateFlightRouteById(flightroute)LocationModulePUTFlightRoute
(26) /hangar/location/{id}findAllHangarOfLocation(id)LocationModuleGETLocation Hangar
(27) /jobposting/{id}deleteJobPostingById(id)LocationModuleDELETEJobPosting
(28) /accident/{id}updateAccidentById(accident)LocationModulePUTAccident
(29) /flightrouteinsertFlightRoute(flightroute)LocationModulePOSTFlightRoute
(30) /hangarfindAllHangar()LocationModuleGETHangar
(31) /jobposting/{id}findJobPostingById(id)LocationModuleGETJobPosting
(32) /accident/{id}findAccidentById(id)LocationModuleGETAccident
(33) /location/country/{id}findAllLocationOfCountry(id)LocationModuleGETCountry Location
(34) /accidentfindAllAccident()LocationModuleGETAccident
(35) /accident/{id}deleteAccidentById(id)LocationModuleDELETEAccident






6.1 ACCIDENT


AccidentLocationModuleZeppelinFlight

Properties (9)

PropertyTypeEntityReferenceModule
(1) AccidentTypeSTRINGAccident
(2) DamageLevelSTRINGAccident
(3) DateTimeDATEAccident
(4) DescriptionSTRINGAccident
(5) FatalitiesINTAccident
(6) InjuriesINTAccident
(7) LocationINTAccidentLocationLocationModule
(8) MissionINTAccidentMissionMissionModule
(9) ZeppelinINTAccidentZeppelinZeppelinModule





Example:

final Accident accident = (Accident) invokeModule(LOCATION_MODULE + "/accident/" + id, Accident.class);
if (accident != null) {
    final Zeppelin zeppelin1 = (Zeppelin) invokeModule(ZEPPELIN_MODULE + "/zeppelin/" + accident.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) {
                }
            }
        }
    }
    final Location location11 = (Location) invokeModule(LOCATION_MODULE + "/location/" + accident.getLocation().getId(), Location.class);
    if (location11 != null) {
        final Country country12 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + location11.getCountry().getId(), Country.class);
        if (country12 != null) {
        }
    }
    final Mission mission13 = (Mission) invokeModule(MISSION_MODULE + "/mission/" + accident.getMission().getId(), Mission.class);
    if (mission13 != null) {
        final War war14 = (War) invokeModule(MISSION_MODULE + "/war/" + mission13.getWar().getId(), War.class);
        if (war14 != null) {
        }
        final MissionType missiontype15 = (MissionType) invokeModule(MISSION_MODULE + "/missiontype/" + mission13.getMissionType().getId(), MissionType.class);
        if (missiontype15 != null) {
        }
        final Location destinationlocation16 = (Location) invokeModule(LOCATION_MODULE + "/location/" + mission13.getDestinationLocation().getId(), Location.class);
        if (destinationlocation16 != null) {
            final Country country17 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + destinationlocation16.getCountry().getId(), Country.class);
            if (country17 != null) {
            }
        }
        final Location originlocation18 = (Location) invokeModule(LOCATION_MODULE + "/location/" + mission13.getOriginLocation().getId(), Location.class);
        if (originlocation18 != null) {
            final Country country19 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + originlocation18.getCountry().getId(), Country.class);
            if (country19 != null) {
            }
        }
        final Zeppelin zeppelin20 = (Zeppelin) invokeModule(ZEPPELIN_MODULE + "/zeppelin/" + mission13.getZeppelin().getId(), Zeppelin.class);
        if (zeppelin20 != null) {
            final ZeppelinClass zeppelinclass21 = (ZeppelinClass) invokeModule(ORGANIZATION_MODULE + "/zeppelinclass/" + zeppelin20.getZeppelinClass().getId(), ZeppelinClass.class);
            if (zeppelinclass21 != null) {
                final Organization manufacturer22 = (Organization) invokeModule(ORGANIZATION_MODULE + "/organization/" + zeppelinclass21.getManufacturer().getId(), Organization.class);
                if (manufacturer22 != null) {
                    final Location headquarterslocation23 = (Location) invokeModule(LOCATION_MODULE + "/location/" + manufacturer22.getHeadquartersLocation().getId(), Location.class);
                    if (headquarterslocation23 != null) {
                        final Country country24 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + headquarterslocation23.getCountry().getId(), Country.class);
                        if (country24 != null) {
                        }
                    }
                }
            }
            final Location homebaselocation25 = (Location) invokeModule(LOCATION_MODULE + "/location/" + zeppelin20.getHomeBaseLocation().getId(), Location.class);
            if (homebaselocation25 != null) {
                final Country country26 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + homebaselocation25.getCountry().getId(), Country.class);
                if (country26 != null) {
                }
            }
            final Organization operator27 = (Organization) invokeModule(ORGANIZATION_MODULE + "/organization/" + zeppelin20.getOperator().getId(), Organization.class);
            if (operator27 != null) {
                final Location headquarterslocation28 = (Location) invokeModule(LOCATION_MODULE + "/location/" + operator27.getHeadquartersLocation().getId(), Location.class);
                if (headquarterslocation28 != null) {
                    final Country country29 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + headquarterslocation28.getCountry().getId(), Country.class);
                    if (country29 != null) {
                    }
                }
            }
        }
        final MilitaryBranch militarybranch30 = (MilitaryBranch) invokeModule(COUNTRY_MODULE + "/militarybranch/" + mission13.getMilitaryBranch().getId(), MilitaryBranch.class);
        if (militarybranch30 != null) {
            final Country country31 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + militarybranch30.getCountry().getId(), Country.class);
            if (country31 != null) {
            }
        }
    }
}
return accident;


6.2 FLIGHT ROUTE


FlightRouteLocationModuleZeppelinFlight

Properties (8)

PropertyTypeEntityReferenceModule
(1) ArrivalLocationINTFlightRouteLocationLocationModule
(2) DefaultHangarINTFlightRouteHangarLocationModule
(3) DepartureLocationINTFlightRouteLocationLocationModule
(4) DescriptionSTRINGFlightRoute
(5) DistanceKmSTRINGFlightRoute
(6) DurationMinutesINTFlightRoute
(7) NameSTRINGFlightRoute
(8) RegionSTRINGFlightRoute





Example:

final FlightRoute flightroute = (FlightRoute) invokeModule(LOCATION_MODULE + "/flightroute/" + id, FlightRoute.class);
if (flightroute != null) {
    final Location departurelocation1 = (Location) invokeModule(LOCATION_MODULE + "/location/" + flightroute.getDepartureLocation().getId(), Location.class);
    if (departurelocation1 != null) {
        final Country country2 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + departurelocation1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
    }
    final Hangar defaulthangar3 = (Hangar) invokeModule(LOCATION_MODULE + "/hangar/" + flightroute.getDefaultHangar().getId(), Hangar.class);
    if (defaulthangar3 != null) {
        final Location location4 = (Location) invokeModule(LOCATION_MODULE + "/location/" + defaulthangar3.getLocation().getId(), Location.class);
        if (location4 != null) {
            final Country country5 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + location4.getCountry().getId(), Country.class);
            if (country5 != null) {
            }
        }
    }
    final Location arrivallocation6 = (Location) invokeModule(LOCATION_MODULE + "/location/" + flightroute.getArrivalLocation().getId(), Location.class);
    if (arrivallocation6 != null) {
        final Country country7 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + arrivallocation6.getCountry().getId(), Country.class);
        if (country7 != null) {
        }
    }
}
return flightroute;


6.3 HANGAR


HangarLocationModuleZeppelinFlight

Properties (7)

PropertyTypeEntityReferenceModule
(1) BuiltYearINTHangar
(2) CapacityINTHangar
(3) HeightMetersSTRINGHangar
(4) LengthMetersSTRINGHangar
(5) LocationINTHangarLocationLocationModule
(6) NameSTRINGHangar
(7) WidthMetersSTRINGHangar





Example:

final Hangar hangar = (Hangar) invokeModule(LOCATION_MODULE + "/hangar/" + id, Hangar.class);
if (hangar != null) {
    final Location location1 = (Location) invokeModule(LOCATION_MODULE + "/location/" + hangar.getLocation().getId(), Location.class);
    if (location1 != null) {
        final Country country2 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + location1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
    }
}
return hangar;


6.4 JOB POSTING


JobPostingLocationModuleZeppelinFlight

Properties (8)

PropertyTypeEntityReferenceModule
(1) DepartmentSTRINGJobPosting
(2) DescriptionSTRINGJobPosting
(3) EmploymentTypeSTRINGJobPosting
(4) ExpiresOnDATEJobPosting
(5) LocationINTJobPostingLocationLocationModule
(6) OrganizationINTJobPostingOrganizationOrganizationModule
(7) PostedOnDATEJobPosting
(8) TitleSTRINGJobPosting





Example:

final JobPosting jobposting = (JobPosting) invokeModule(LOCATION_MODULE + "/jobposting/" + id, JobPosting.class);
if (jobposting != null) {
    final Organization organization1 = (Organization) invokeModule(ORGANIZATION_MODULE + "/organization/" + jobposting.getOrganization().getId(), Organization.class);
    if (organization1 != null) {
        final Location headquarterslocation2 = (Location) invokeModule(LOCATION_MODULE + "/location/" + organization1.getHeadquartersLocation().getId(), Location.class);
        if (headquarterslocation2 != null) {
            final Country country3 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + headquarterslocation2.getCountry().getId(), Country.class);
            if (country3 != null) {
            }
        }
    }
    final Location location4 = (Location) invokeModule(LOCATION_MODULE + "/location/" + jobposting.getLocation().getId(), Location.class);
    if (location4 != null) {
        final Country country5 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + location4.getCountry().getId(), Country.class);
        if (country5 != null) {
        }
    }
}
return jobposting;


6.5 LOCATION


LocationLocationModuleZeppelinFlight

Properties (6)

PropertyTypeEntityReferenceModule
(1) CountryINTLocationCountryCountryModule
(2) LatitudeSTRINGLocation
(3) LocationTypeSTRINGLocation
(4) LongitudeSTRINGLocation
(5) NameSTRINGLocation
(6) RegionSTRINGLocation





Example:

final Location location = (Location) invokeModule(LOCATION_MODULE + "/location/" + id, Location.class);
if (location != null) {
    final Country country1 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + location.getCountry().getId(), Country.class);
    if (country1 != null) {
    }
}
return location;


Overview

Summary

ContactDonateImprint