Overview

Summary

ContactDonateImprint


Appendix E-2: CREWED MISSION (UI prompt)


CrewedMissionOperatorModuleSpaceports

Properties (5)

PropertyTypeEntityReferenceModule
(1) CrewedProgramLONGCrewedMissionCrewedProgramCountryModule
(2) DestinationSTRINGCrewedMission
(3) LaunchLONGCrewedMissionLaunchLaunchVehicleModule
(4) NotesSTRINGCrewedMission
(5) SpacecraftNameSTRINGCrewedMission


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /crewedmission/{id}findCrewedMissionById(id)OperatorModuleGETCrewedMission
(2) /crewedmission/{id}updateCrewedMissionById(crewedmission)OperatorModulePUTCrewedMission
(3) /crewedmission/crewedprogram/{id}findAllCrewedMissionOfCrewedProgram(id)OperatorModuleGETCrewedProgram CrewedMission
(4) /crewedmission/launch/{id}findAllCrewedMissionOfLaunch(id)OperatorModuleGETLaunch CrewedMission
(5) /crewedmission/{id}deleteCrewedMissionById(id)OperatorModuleDELETECrewedMission
(6) /crewedmissioninsertCrewedMission(crewedmission)OperatorModulePOSTCrewedMission
(7) /crewedmissionfindAllCrewedMission()OperatorModuleGETCrewedMission





Example:

final CrewedMission crewedmission = (CrewedMission) invokeModule(OPERATOR_MODULE + "/crewedmission/" + id, CrewedMission.class);
if (crewedmission != null) {
    final CrewedProgram crewedprogram1 = (CrewedProgram) invokeModule(COUNTRY_MODULE + "/crewedprogram/" + crewedmission.getCrewedProgram().getId(), CrewedProgram.class);
    if (crewedprogram1 != null) {
        final Country country2 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + crewedprogram1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
        final SpaceAgency spaceagency3 = (SpaceAgency) invokeModule(SPACE_AGENCY_MODULE + "/spaceagency/" + crewedprogram1.getSpaceAgency().getId(), SpaceAgency.class);
        if (spaceagency3 != null) {
            final Country country4 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + spaceagency3.getCountry().getId(), Country.class);
            if (country4 != null) {
            }
        }
    }
    final Launch launch5 = (Launch) invokeModule(LAUNCH_VEHICLE_MODULE + "/launch/" + crewedmission.getLaunch().getId(), Launch.class);
    if (launch5 != null) {
        final LaunchPad launchpad6 = (LaunchPad) invokeModule(SPACE_AGENCY_MODULE + "/launchpad/" + launch5.getLaunchPad().getId(), LaunchPad.class);
        if (launchpad6 != null) {
            final Spaceport spaceport7 = (Spaceport) invokeModule(SPACEPORT_MODULE + "/spaceport/" + launchpad6.getSpaceport().getId(), Spaceport.class);
            if (spaceport7 != null) {
                final Country country8 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + spaceport7.getCountry().getId(), Country.class);
                if (country8 != null) {
                }
                final Region region9 = (Region) invokeModule(SPACEPORT_MODULE + "/region/" + spaceport7.getRegion().getId(), Region.class);
                if (region9 != null) {
                    final Country country10 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + region9.getCountry().getId(), Country.class);
                    if (country10 != null) {
                    }
                }
            }
        }
        final Spaceport spaceport11 = (Spaceport) invokeModule(SPACEPORT_MODULE + "/spaceport/" + launch5.getSpaceport().getId(), Spaceport.class);
        if (spaceport11 != null) {
            final Country country12 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + spaceport11.getCountry().getId(), Country.class);
            if (country12 != null) {
            }
            final Region region13 = (Region) invokeModule(SPACEPORT_MODULE + "/region/" + spaceport11.getRegion().getId(), Region.class);
            if (region13 != null) {
                final Country country14 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + region13.getCountry().getId(), Country.class);
                if (country14 != null) {
                }
            }
        }
        final OrbitType orbittype15 = (OrbitType) invokeModule(LAUNCH_VEHICLE_MODULE + "/orbittype/" + launch5.getOrbitType().getId(), OrbitType.class);
        if (orbittype15 != null) {
        }
        final LaunchVehicle launchvehicle16 = (LaunchVehicle) invokeModule(LAUNCH_VEHICLE_MODULE + "/launchvehicle/" + launch5.getLaunchVehicle().getId(), LaunchVehicle.class);
        if (launchvehicle16 != null) {
            final Country country17 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + launchvehicle16.getCountry().getId(), Country.class);
            if (country17 != null) {
            }
            final Operator operator18 = (Operator) invokeModule(OPERATOR_MODULE + "/operator/" + launchvehicle16.getOperator().getId(), Operator.class);
            if (operator18 != null) {
                final Country country19 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + operator18.getCountry().getId(), Country.class);
                if (country19 != null) {
                }
            }
        }
    }
}
return crewedmission;


Overview

Summary

ContactDonateImprint