Overview

Summary

ContactDonateImprint


Appendix E-4: POSITION REPORT (UI prompt)


PositionReportVesselModuleMarineTraffic

Properties (14)

PropertyTypeEntityReferenceModule
(1) AisStationLONGPositionReportAisStationGeographicalAreaModule
(2) CourseOverGroundSTRINGPositionReport
(3) DestinationTextSTRINGPositionReport
(4) EtaUtcDATEPositionReport
(5) GeographicalAreaLONGPositionReportGeographicalAreaGeographicalAreaModule
(6) HeadingSTRINGPositionReport
(7) IsInterpolatedBOOLPositionReport
(8) LatitudeSTRINGPositionReport
(9) LongitudeSTRINGPositionReport
(10) NavigationalStatusSTRINGPositionReport
(11) PositionAccuracyMetersSTRINGPositionReport
(12) PositionTimeUtcDATEPositionReport
(13) SpeedOverGroundSTRINGPositionReport
(14) VesselLONGPositionReportVesselVesselModule


Module Interfaces (9)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /alertevent/positionreport/{id}findAllAlertEventOfPositionReport(id)PortModuleGETPositionReport AlertEvent
(2) /positionreportinsertPositionReport(positionreport)VesselModulePOSTPositionReport
(3) /positionreport/{id}deletePositionReportById(id)VesselModuleDELETEPositionReport
(4) /positionreport/aisstation/{id}findAllPositionReportOfAisStation(id)VesselModuleGETAisStation PositionReport
(5) /positionreport/vessel/{id}findAllPositionReportOfVessel(id)VesselModuleGETVessel PositionReport
(6) /positionreport/{id}updatePositionReportById(positionreport)VesselModulePUTPositionReport
(7) /positionreport/{id}findPositionReportById(id)VesselModuleGETPositionReport
(8) /positionreportfindAllPositionReport()VesselModuleGETPositionReport
(9) /positionreport/geographicalarea/{id}findAllPositionReportOfGeographicalArea(id)VesselModuleGETGeographicalArea PositionReport





Example:

final PositionReport positionreport = (PositionReport) invokeModule(VESSEL_MODULE + "/positionreport/" + id, PositionReport.class);
if (positionreport != null) {
    final AisStation aisstation1 = (AisStation) invokeModule(GEOGRAPHICAL_AREA_MODULE + "/aisstation/" + positionreport.getAisStation().getId(), AisStation.class);
    if (aisstation1 != null) {
        final Country country2 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + aisstation1.getCountry().getId(), Country.class);
        if (country2 != null) {
        }
    }
    final Vessel vessel3 = (Vessel) invokeModule(VESSEL_MODULE + "/vessel/" + positionreport.getVessel().getId(), Vessel.class);
    if (vessel3 != null) {
        final VesselType vesseltype4 = (VesselType) invokeModule(VESSEL_MODULE + "/vesseltype/" + vessel3.getVesselType().getId(), VesselType.class);
        if (vesseltype4 != null) {
        }
        final Country flagcountry5 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + vessel3.getFlagCountry().getId(), Country.class);
        if (flagcountry5 != null) {
        }
        final VesselStatus vesselstatus6 = (VesselStatus) invokeModule(GEOGRAPHICAL_AREA_MODULE + "/vesselstatus/" + vessel3.getVesselStatus().getId(), VesselStatus.class);
        if (vesselstatus6 != null) {
        }
    }
    final GeographicalArea geographicalarea7 = (GeographicalArea) invokeModule(GEOGRAPHICAL_AREA_MODULE + "/geographicalarea/" + positionreport.getGeographicalArea().getId(), GeographicalArea.class);
    if (geographicalarea7 != null) {
    }
}
return positionreport;


Overview

Summary

ContactDonateImprint