Overview

Summary

ContactDonateImprint


Appendix E-15: CREWED PROGRAM (UI prompt)


CrewedProgramCountryModuleSpaceports

Properties (6)

PropertyTypeEntityReferenceModule
(1) CountryLONGCrewedProgramCountryCountryModule
(2) EndYearINTCrewedProgram
(3) NameSTRINGCrewedProgram
(4) NotesSTRINGCrewedProgram
(5) SpaceAgencyLONGCrewedProgramSpaceAgencySpaceAgencyModule
(6) StartYearINTCrewedProgram


Module Interfaces (8)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /crewedprogram/{id}findCrewedProgramById(id)CountryModuleGETCrewedProgram
(2) /crewedprogram/spaceagency/{id}findAllCrewedProgramOfSpaceAgency(id)CountryModuleGETSpaceAgency CrewedProgram
(3) /crewedprograminsertCrewedProgram(crewedprogram)CountryModulePOSTCrewedProgram
(4) /crewedprogram/{id}deleteCrewedProgramById(id)CountryModuleDELETECrewedProgram
(5) /crewedprogramfindAllCrewedProgram()CountryModuleGETCrewedProgram
(6) /crewedprogram/country/{id}findAllCrewedProgramOfCountry(id)CountryModuleGETCountry CrewedProgram
(7) /crewedprogram/{id}updateCrewedProgramById(crewedprogram)CountryModulePUTCrewedProgram
(8) /crewedmission/crewedprogram/{id}findAllCrewedMissionOfCrewedProgram(id)OperatorModuleGETCrewedProgram CrewedMission





Example:

final CrewedProgram crewedprogram = (CrewedProgram) invokeModule(COUNTRY_MODULE + "/crewedprogram/" + id, CrewedProgram.class);
if (crewedprogram != null) {
    final Country country1 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + crewedprogram.getCountry().getId(), Country.class);
    if (country1 != null) {
    }
    final SpaceAgency spaceagency2 = (SpaceAgency) invokeModule(SPACE_AGENCY_MODULE + "/spaceagency/" + crewedprogram.getSpaceAgency().getId(), SpaceAgency.class);
    if (spaceagency2 != null) {
        final Country country3 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + spaceagency2.getCountry().getId(), Country.class);
        if (country3 != null) {
        }
    }
}
return crewedprogram;


Overview

Summary

ContactDonateImprint