Overview

Summary

ContactDonateImprint


4. SPACE AGENCY MODULE (UI prompt)



Module Entities (8)

EntityAliasModuleGlobal Schema
(1) CountryCountryCountryModuleSpaceports
(2) CrewedProgramCrewedProgramCountryModuleSpaceports
(3) LaunchLaunchLaunchVehicleModuleSpaceports
(4) LaunchPadLaunchPadSpaceAgencyModuleSpaceports
(5) ProtectionZoneProtectionZoneSpaceAgencyModuleSpaceports
(6) SpaceAgencySpaceAgencySpaceAgencyModuleSpaceports
(7) SpaceportSpaceportSpaceportModuleSpaceports
(8) SpaceportAgencyRoleSpaceportAgencyRoleSpaceAgencyModuleSpaceports

Module Interfaces (25)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /launchpad/{id}updateLaunchPadById(launchpad)SpaceAgencyModulePUTLaunchPad
(2) /protectionzone/spaceport/{id}findAllProtectionZoneOfSpaceport(id)SpaceAgencyModuleGETSpaceport ProtectionZone
(3) /spaceportagencyrole/{id}updateSpaceportAgencyRoleById(spaceportagencyrole)SpaceAgencyModulePUTSpaceportAgencyRole
(4) /spaceportagencyrolefindAllSpaceportAgencyRole()SpaceAgencyModuleGETSpaceportAgencyRole
(5) /launchpad/{id}findLaunchPadById(id)SpaceAgencyModuleGETLaunchPad
(6) /protectionzonefindAllProtectionZone()SpaceAgencyModuleGETProtectionZone
(7) /spaceportagencyrole/spaceagency/{id}findAllSpaceportAgencyRoleOfSpaceAgency(id)SpaceAgencyModuleGETSpaceAgency SpaceportAgencyRole
(8) /spaceportagencyrole/{id}deleteSpaceportAgencyRoleById(id)SpaceAgencyModuleDELETESpaceportAgencyRole
(9) /protectionzone/{id}findProtectionZoneById(id)SpaceAgencyModuleGETProtectionZone
(10) /spaceagency/{id}findSpaceAgencyById(id)SpaceAgencyModuleGETSpaceAgency
(11) /protectionzoneinsertProtectionZone(protectionzone)SpaceAgencyModulePOSTProtectionZone
(12) /spaceagencyfindAllSpaceAgency()SpaceAgencyModuleGETSpaceAgency
(13) /launchpad/{id}deleteLaunchPadById(id)SpaceAgencyModuleDELETELaunchPad
(14) /launchpadinsertLaunchPad(launchpad)SpaceAgencyModulePOSTLaunchPad
(15) /spaceportagencyrole/{id}findSpaceportAgencyRoleById(id)SpaceAgencyModuleGETSpaceportAgencyRole
(16) /spaceagencyinsertSpaceAgency(spaceagency)SpaceAgencyModulePOSTSpaceAgency
(17) /spaceportagencyroleinsertSpaceportAgencyRole(spaceportagencyrole)SpaceAgencyModulePOSTSpaceportAgencyRole
(18) /spaceportagencyrole/spaceport/{id}findAllSpaceportAgencyRoleOfSpaceport(id)SpaceAgencyModuleGETSpaceport SpaceportAgencyRole
(19) /spaceagency/{id}deleteSpaceAgencyById(id)SpaceAgencyModuleDELETESpaceAgency
(20) /launchpadfindAllLaunchPad()SpaceAgencyModuleGETLaunchPad
(21) /spaceagency/{id}updateSpaceAgencyById(spaceagency)SpaceAgencyModulePUTSpaceAgency
(22) /launchpad/spaceport/{id}findAllLaunchPadOfSpaceport(id)SpaceAgencyModuleGETSpaceport LaunchPad
(23) /spaceagency/country/{id}findAllSpaceAgencyOfCountry(id)SpaceAgencyModuleGETCountry SpaceAgency
(24) /protectionzone/{id}updateProtectionZoneById(protectionzone)SpaceAgencyModulePUTProtectionZone
(25) /protectionzone/{id}deleteProtectionZoneById(id)SpaceAgencyModuleDELETEProtectionZone






4.1 LAUNCH PAD


LaunchPadSpaceAgencyModuleSpaceports

Properties (7)

PropertyTypeEntityReferenceModule
(1) CodeSTRINGLaunchPad
(2) LatitudeSTRINGLaunchPad
(3) LongitudeSTRINGLaunchPad
(4) NameSTRINGLaunchPad
(5) NotesSTRINGLaunchPad
(6) SpaceportLONGLaunchPadSpaceportSpaceportModule
(7) StatusSTRINGLaunchPad





Example:

final LaunchPad launchpad = (LaunchPad) invokeModule(SPACE_AGENCY_MODULE + "/launchpad/" + id, LaunchPad.class);
if (launchpad != null) {
    final Spaceport spaceport1 = (Spaceport) invokeModule(SPACEPORT_MODULE + "/spaceport/" + launchpad.getSpaceport().getId(), Spaceport.class);
    if (spaceport1 != null) {
        final Country country2 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + spaceport1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
        final Region region3 = (Region) invokeModule(SPACEPORT_MODULE + "/region/" + spaceport1.getRegion().getId(), Region.class);
        if (region3 != null) {
            final Country country4 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + region3.getCountry().getId(), Country.class);
            if (country4 != null) {
            }
        }
    }
}
return launchpad;


4.2 PROTECTION ZONE


ProtectionZoneSpaceAgencyModuleSpaceports

Properties (4)

PropertyTypeEntityReferenceModule
(1) DescriptionSTRINGProtectionZone
(2) NameSTRINGProtectionZone
(3) SpaceportLONGProtectionZoneSpaceportSpaceportModule
(4) TypeSTRINGProtectionZone





Example:

final ProtectionZone protectionzone = (ProtectionZone) invokeModule(SPACE_AGENCY_MODULE + "/protectionzone/" + id, ProtectionZone.class);
if (protectionzone != null) {
    final Spaceport spaceport1 = (Spaceport) invokeModule(SPACEPORT_MODULE + "/spaceport/" + protectionzone.getSpaceport().getId(), Spaceport.class);
    if (spaceport1 != null) {
        final Country country2 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + spaceport1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
        final Region region3 = (Region) invokeModule(SPACEPORT_MODULE + "/region/" + spaceport1.getRegion().getId(), Region.class);
        if (region3 != null) {
            final Country country4 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + region3.getCountry().getId(), Country.class);
            if (country4 != null) {
            }
        }
    }
}
return protectionzone;


4.3 SPACE AGENCY


SpaceAgencySpaceAgencyModuleSpaceports

Properties (5)

PropertyTypeEntityReferenceModule
(1) CountryLONGSpaceAgencyCountryCountryModule
(2) FoundedYearINTSpaceAgency
(3) NameSTRINGSpaceAgency
(4) NotesSTRINGSpaceAgency
(5) TypeSTRINGSpaceAgency





Example:

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


4.4 SPACEPORT AGENCY ROLE


SpaceportAgencyRoleSpaceAgencyModuleSpaceports

Properties (5)

PropertyTypeEntityReferenceModule
(1) FromDateDATESpaceportAgencyRole
(2) RoleSTRINGSpaceportAgencyRole
(3) SpaceAgencyLONGSpaceportAgencyRoleSpaceAgencySpaceAgencyModule
(4) SpaceportLONGSpaceportAgencyRoleSpaceportSpaceportModule
(5) ToDateDATESpaceportAgencyRole





Example:

final SpaceportAgencyRole spaceportagencyrole = (SpaceportAgencyRole) invokeModule(SPACE_AGENCY_MODULE + "/spaceportagencyrole/" + id, SpaceportAgencyRole.class);
if (spaceportagencyrole != null) {
    final Spaceport spaceport1 = (Spaceport) invokeModule(SPACEPORT_MODULE + "/spaceport/" + spaceportagencyrole.getSpaceport().getId(), Spaceport.class);
    if (spaceport1 != null) {
        final Country country2 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + spaceport1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
        final Region region3 = (Region) invokeModule(SPACEPORT_MODULE + "/region/" + spaceport1.getRegion().getId(), Region.class);
        if (region3 != null) {
            final Country country4 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + region3.getCountry().getId(), Country.class);
            if (country4 != null) {
            }
        }
    }
    final SpaceAgency spaceagency5 = (SpaceAgency) invokeModule(SPACE_AGENCY_MODULE + "/spaceagency/" + spaceportagencyrole.getSpaceAgency().getId(), SpaceAgency.class);
    if (spaceagency5 != null) {
        final Country country6 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + spaceagency5.getCountry().getId(), Country.class);
        if (country6 != null) {
        }
    }
}
return spaceportagencyrole;


Overview

Summary

ContactDonateImprint