Overview

Summary

ContactDonateImprint


Appendix E-20: ROUTE WAYPOINT (UI prompt)


RouteWaypointSubscriptionPlanModuleMarineTraffic

Properties (5)

PropertyTypeEntityReferenceModule
(1) EstimatedTimeUtcDATERouteWaypoint
(2) LatitudeSTRINGRouteWaypoint
(3) LongitudeSTRINGRouteWaypoint
(4) RouteLONGRouteWaypointRoutePortModule
(5) SequenceNumberLONGRouteWaypoint


Module Interfaces (6)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /routewaypoint/route/{id}findAllRouteWaypointOfRoute(id)SubscriptionPlanModuleGETRoute RouteWaypoint
(2) /routewaypointfindAllRouteWaypoint()SubscriptionPlanModuleGETRouteWaypoint
(3) /routewaypoint/{id}deleteRouteWaypointById(id)SubscriptionPlanModuleDELETERouteWaypoint
(4) /routewaypoint/{id}updateRouteWaypointById(routewaypoint)SubscriptionPlanModulePUTRouteWaypoint
(5) /routewaypointinsertRouteWaypoint(routewaypoint)SubscriptionPlanModulePOSTRouteWaypoint
(6) /routewaypoint/{id}findRouteWaypointById(id)SubscriptionPlanModuleGETRouteWaypoint





Example:

final RouteWaypoint routewaypoint = (RouteWaypoint) invokeModule(SUBSCRIPTION_PLAN_MODULE + "/routewaypoint/" + id, RouteWaypoint.class);
if (routewaypoint != null) {
    final Route route1 = (Route) invokeModule(PORT_MODULE + "/route/" + routewaypoint.getRoute().getId(), Route.class);
    if (route1 != null) {
        final Vessel vessel2 = (Vessel) invokeModule(VESSEL_MODULE + "/vessel/" + route1.getVessel().getId(), Vessel.class);
        if (vessel2 != null) {
            final VesselType vesseltype3 = (VesselType) invokeModule(VESSEL_MODULE + "/vesseltype/" + vessel2.getVesselType().getId(), VesselType.class);
            if (vesseltype3 != null) {
            }
            final Country flagcountry4 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + vessel2.getFlagCountry().getId(), Country.class);
            if (flagcountry4 != null) {
            }
            final VesselStatus vesselstatus5 = (VesselStatus) invokeModule(GEOGRAPHICAL_AREA_MODULE + "/vesselstatus/" + vessel2.getVesselStatus().getId(), VesselStatus.class);
            if (vesselstatus5 != null) {
            }
        }
        final Port endport6 = (Port) invokeModule(PORT_MODULE + "/port/" + route1.getEndPort().getId(), Port.class);
        if (endport6 != null) {
            final Country country7 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + endport6.getCountry().getId(), Country.class);
            if (country7 != null) {
            }
        }
        final Port startport8 = (Port) invokeModule(PORT_MODULE + "/port/" + route1.getStartPort().getId(), Port.class);
        if (startport8 != null) {
            final Country country9 = (Country) invokeModule(USER_ACCOUNT_MODULE + "/country/" + startport8.getCountry().getId(), Country.class);
            if (country9 != null) {
            }
        }
    }
}
return routewaypoint;


Overview

Summary

ContactDonateImprint