/** Creates a new instance of OptimalRouteBean */
 public OptimalRouteBean() {
   VehicleVo vehicleVo = FacadeFactory.getInstance().getVehicleFacade().find(2);
   ShippingVo shippingVo = vehicleVo.getShippingList().get(1);
   route = FacadeFactory.getInstance().getRouteFacade().find(shippingVo.getIdRoute());
   route.setIdRoute(shippingVo.getIdRoute());
   origin = FacadeFactory.getInstance().getPointFacade().find(route.getOriginPointId());
   destiny = FacadeFactory.getInstance().getPointFacade().find(route.getDestinationPointId());
 }
 public void setRouteDistance(double routeDistance) {
   this.route.setNumberKilometers(routeDistance);
   FacadeFactory.getInstance()
       .getRouteFacade()
       .updateKm(route.getIdRoute(), route.getNumberKilometers());
 }