Overview

Summary

ContactDonateImprint


Appendix E-12: ACCIDENT INVESTIGATION (UI prompt)


AccidentInvestigationAccidentModuleWaymo

Properties (2)

PropertyTypeEntityReferenceModule
(1) AccidentINTAccidentInvestigationAccidentAccidentModule
(2) InvestigationINTAccidentInvestigationInvestigationCompanyModule


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /accidentinvestigation/accident/{id}findAllAccidentInvestigationOfAccident(id)AccidentModuleGETAccident AccidentInvestigation
(2) /accidentinvestigation/{id}deleteAccidentInvestigationById(id)AccidentModuleDELETEAccidentInvestigation
(3) /accidentinvestigation/{id}findAccidentInvestigationById(id)AccidentModuleGETAccidentInvestigation
(4) /accidentinvestigationinsertAccidentInvestigation(accidentinvestigation)AccidentModulePOSTAccidentInvestigation
(5) /accidentinvestigation/investigation/{id}findAllAccidentInvestigationOfInvestigation(id)AccidentModuleGETInvestigation AccidentInvestigation
(6) /accidentinvestigationfindAllAccidentInvestigation()AccidentModuleGETAccidentInvestigation
(7) /accidentinvestigation/{id}updateAccidentInvestigationById(accidentinvestigation)AccidentModulePUTAccidentInvestigation





Example:

final AccidentInvestigation accidentinvestigation = (AccidentInvestigation) invokeModule(ACCIDENT_MODULE + "/accidentinvestigation/" + id, AccidentInvestigation.class);
if (accidentinvestigation != null) {
    final Accident accident1 = (Accident) invokeModule(ACCIDENT_MODULE + "/accident/" + accidentinvestigation.getAccident().getId(), Accident.class);
    if (accident1 != null) {
        final Program program2 = (Program) invokeModule(PROGRAM_MODULE + "/program/" + accident1.getProgram().getId(), Program.class);
        if (program2 != null) {
            final Company company3 = (Company) invokeModule(COMPANY_MODULE + "/company/" + program2.getCompany().getId(), Company.class);
            if (company3 != null) {
            }
        }
        final Company company4 = (Company) invokeModule(COMPANY_MODULE + "/company/" + accident1.getCompany().getId(), Company.class);
        if (company4 != null) {
        }
        final ServiceArea servicearea5 = (ServiceArea) invokeModule(COUNTRY_MODULE + "/servicearea/" + accident1.getServiceArea().getId(), ServiceArea.class);
        if (servicearea5 != null) {
            final StateProvince stateprovince6 = (StateProvince) invokeModule(COUNTRY_MODULE + "/stateprovince/" + servicearea5.getStateProvince().getId(), StateProvince.class);
            if (stateprovince6 != null) {
                final Country country7 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + stateprovince6.getCountry().getId(), Country.class);
                if (country7 != null) {
                }
            }
            final City city8 = (City) invokeModule(CITY_MODULE + "/city/" + servicearea5.getCity().getId(), City.class);
            if (city8 != null) {
                final StateProvince stateprovince9 = (StateProvince) invokeModule(COUNTRY_MODULE + "/stateprovince/" + city8.getStateProvince().getId(), StateProvince.class);
                if (stateprovince9 != null) {
                    final Country country10 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + stateprovince9.getCountry().getId(), Country.class);
                    if (country10 != null) {
                    }
                }
            }
            final Country country11 = (Country) invokeModule(COUNTRY_MODULE + "/country/" + servicearea5.getCountry().getId(), Country.class);
            if (country11 != null) {
            }
        }
    }
    final Investigation investigation12 = (Investigation) invokeModule(COMPANY_MODULE + "/investigation/" + accidentinvestigation.getInvestigation().getId(), Investigation.class);
    if (investigation12 != null) {
        final Company company13 = (Company) invokeModule(COMPANY_MODULE + "/company/" + investigation12.getCompany().getId(), Company.class);
        if (company13 != null) {
        }
    }
}
return accidentinvestigation;


Overview

Summary

ContactDonateImprint