Overview

Summary

ContactDonateImprint


Appendix E-8: LAUNCH (UI prompt)


LaunchLaunchVehicleModuleSpaceports

Properties (9)

PropertyTypeEntityReferenceModule
(1) IsCrewedBOOLLaunch
(2) IsSuccessfulBOOLLaunch
(3) LaunchDateDATELaunch
(4) LaunchPadLONGLaunchLaunchPadSpaceAgencyModule
(5) LaunchVehicleLONGLaunchLaunchVehicleLaunchVehicleModule
(6) MissionNameSTRINGLaunch
(7) NotesSTRINGLaunch
(8) OrbitTypeLONGLaunchOrbitTypeLaunchVehicleModule
(9) SpaceportLONGLaunchSpaceportSpaceportModule


Module Interfaces (10)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /launch/spaceport/{id}findAllLaunchOfSpaceport(id)LaunchVehicleModuleGETSpaceport Launch
(2) /launch/launchvehicle/{id}findAllLaunchOfLaunchVehicle(id)LaunchVehicleModuleGETLaunchVehicle Launch
(3) /launch/{id}findLaunchById(id)LaunchVehicleModuleGETLaunch
(4) /launchinsertLaunch(launch)LaunchVehicleModulePOSTLaunch
(5) /launch/launchpad/{id}findAllLaunchOfLaunchPad(id)LaunchVehicleModuleGETLaunchPad Launch
(6) /launch/{id}deleteLaunchById(id)LaunchVehicleModuleDELETELaunch
(7) /launchfindAllLaunch()LaunchVehicleModuleGETLaunch
(8) /launch/orbittype/{id}findAllLaunchOfOrbitType(id)LaunchVehicleModuleGETOrbitType Launch
(9) /launch/{id}updateLaunchById(launch)LaunchVehicleModulePUTLaunch
(10) /crewedmission/launch/{id}findAllCrewedMissionOfLaunch(id)OperatorModuleGETLaunch CrewedMission





Example:

final Launch launch = (Launch) invokeModule(LAUNCH_VEHICLE_MODULE + "/launch/" + id, Launch.class);
if (launch != null) {
    final LaunchPad launchpad1 = (LaunchPad) invokeModule(SPACE_AGENCY_MODULE + "/launchpad/" + launch.getLaunchPad().getId(), LaunchPad.class);
    if (launchpad1 != null) {
        final Spaceport spaceport2 = (Spaceport) invokeModule(SPACEPORT_MODULE + "/spaceport/" + launchpad1.getSpaceport().getId(), Spaceport.class);
        if (spaceport2 != null) {
            final Country country3 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + spaceport2.getCountry().getId(), Country.class);
            if (country3 != null) {
            }
            final Region region4 = (Region) invokeModule(SPACEPORT_MODULE + "/region/" + spaceport2.getRegion().getId(), Region.class);
            if (region4 != null) {
                final Country country5 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + region4.getCountry().getId(), Country.class);
                if (country5 != null) {
                }
            }
        }
    }
    final Spaceport spaceport6 = (Spaceport) invokeModule(SPACEPORT_MODULE + "/spaceport/" + launch.getSpaceport().getId(), Spaceport.class);
    if (spaceport6 != null) {
        final Country country7 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + spaceport6.getCountry().getId(), Country.class);
        if (country7 != null) {
        }
        final Region region8 = (Region) invokeModule(SPACEPORT_MODULE + "/region/" + spaceport6.getRegion().getId(), Region.class);
        if (region8 != null) {
            final Country country9 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + region8.getCountry().getId(), Country.class);
            if (country9 != null) {
            }
        }
    }
    final OrbitType orbittype10 = (OrbitType) invokeModule(LAUNCH_VEHICLE_MODULE + "/orbittype/" + launch.getOrbitType().getId(), OrbitType.class);
    if (orbittype10 != null) {
    }
    final LaunchVehicle launchvehicle11 = (LaunchVehicle) invokeModule(LAUNCH_VEHICLE_MODULE + "/launchvehicle/" + launch.getLaunchVehicle().getId(), LaunchVehicle.class);
    if (launchvehicle11 != null) {
        final Country country12 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + launchvehicle11.getCountry().getId(), Country.class);
        if (country12 != null) {
        }
        final Operator operator13 = (Operator) invokeModule(OPERATOR_MODULE + "/operator/" + launchvehicle11.getOperator().getId(), Operator.class);
        if (operator13 != null) {
            final Country country14 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + operator13.getCountry().getId(), Country.class);
            if (country14 != null) {
            }
        }
    }
}
return launch;


Overview

Summary

ContactDonateImprint