From 0c6cfd1fa5eb221a9c05be2a30bf04a53c3496a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=9D=9A=E6=8C=81?= <2352009235@qq.com> Date: Tue, 13 Jul 2021 07:11:30 +0000 Subject: [PATCH] update DistributedMapDemo/entry/src/main/java/com/huawei/codelab/bean/RouteResult.java. --- .../com/huawei/codelab/bean/RouteResult.java | 341 ------------------ 1 file changed, 341 deletions(-) diff --git a/DistributedMapDemo/entry/src/main/java/com/huawei/codelab/bean/RouteResult.java b/DistributedMapDemo/entry/src/main/java/com/huawei/codelab/bean/RouteResult.java index 2c0db5fa..cb7148e5 100644 --- a/DistributedMapDemo/entry/src/main/java/com/huawei/codelab/bean/RouteResult.java +++ b/DistributedMapDemo/entry/src/main/java/com/huawei/codelab/bean/RouteResult.java @@ -25,10 +25,6 @@ import java.util.List; public class RouteResult { private RouteEntity route; - private String count; - - private String infocode; - private String status; private String info; @@ -41,22 +37,6 @@ public class RouteResult { this.route = route; } - public String getCount() { - return count; - } - - public void setCount(String count) { - this.count = count; - } - - public String getInfocode() { - return infocode; - } - - public void setInfocode(String infocode) { - this.infocode = infocode; - } - public String getStatus() { return status; } @@ -81,12 +61,6 @@ public class RouteResult { public class RouteEntity { private List paths; - private String origin; - - private String destination; - - private String taxiCost; - public List getPaths() { return paths; } @@ -95,100 +69,14 @@ public class RouteResult { this.paths = paths; } - public String getOrigin() { - return origin; - } - - public void setOrigin(String origin) { - this.origin = origin; - } - - public String getDestination() { - return destination; - } - - public void setDestination(String destination) { - this.destination = destination; - } - - public String getTaxiCost() { - return taxiCost; - } - - public void setTaxiCost(String taxiCost) { - this.taxiCost = taxiCost; - } - /** * PathsEntity * * @since 2021-03-12 */ public class PathsEntity { - private String duration; - - private String distance; - - private String restriction; - - private String tollDistance; - - private String strategy; - - private String trafficLights; - private List steps; - private String tolls; - - public String getDuration() { - return duration; - } - - public void setDuration(String duration) { - this.duration = duration; - } - - public String getDistance() { - return distance; - } - - public void setDistance(String distance) { - this.distance = distance; - } - - public String getRestriction() { - return restriction; - } - - public void setRestriction(String restriction) { - this.restriction = restriction; - } - - public String getTollDistance() { - return tollDistance; - } - - public void setTollDistance(String tollDistance) { - this.tollDistance = tollDistance; - } - - public String getStrategy() { - return strategy; - } - - public void setStrategy(String strategy) { - this.strategy = strategy; - } - - public String getTrafficLights() { - return trafficLights; - } - - public void setTrafficLights(String trafficLights) { - this.trafficLights = trafficLights; - } - public List getSteps() { return steps; } @@ -197,14 +85,6 @@ public class RouteResult { this.steps = steps; } - public String getTolls() { - return tolls; - } - - public void setTolls(String tolls) { - this.tolls = tolls; - } - /** * StepsEntity * @@ -212,104 +92,12 @@ public class RouteResult { * @since 2021-03-12 */ public class StepsEntity { - private String orientation; - - private String distance; - - private List cities; - - private E tollRoad; - - private String tollDistance; - - private String tolls; - - private String duration; - - private E assistantAction; - - private String road; - private String instruction; private E action; private String polyline; - private List tmcs; - - public String getOrientation() { - return orientation; - } - - public void setOrientation(String orientation) { - this.orientation = orientation; - } - - public String getDistance() { - return distance; - } - - public void setDistance(String distance) { - this.distance = distance; - } - - public List getCities() { - return cities; - } - - public void setCities(List cities) { - this.cities = cities; - } - - public E getTollRoad() { - return tollRoad; - } - - public void setTollRoad(E tollRoad) { - this.tollRoad = tollRoad; - } - - public String getTollDistance() { - return tollDistance; - } - - public void setTollDistance(String tollDistance) { - this.tollDistance = tollDistance; - } - - public String getTolls() { - return tolls; - } - - public void setTolls(String tolls) { - this.tolls = tolls; - } - - public String getDuration() { - return duration; - } - - public void setDuration(String duration) { - this.duration = duration; - } - - public E getAssistantAction() { - return assistantAction; - } - - public void setAssistantAction(E assistantAction) { - this.assistantAction = assistantAction; - } - - public String getRoad() { - return road; - } - - public void setRoad(String road) { - this.road = road; - } - public String getInstruction() { return instruction; } @@ -333,135 +121,6 @@ public class RouteResult { public void setPolyline(String polyline) { this.polyline = polyline; } - - public List getTmcs() { - return tmcs; - } - - public void setTmcs(List tmcs) { - this.tmcs = tmcs; - } - - /** - * CitiesEntity - * - * @since 2021-03-12 - */ - public class CitiesEntity { - private String citycode; - - private String adcode; - - private String name; - - private List districts; - - public String getCitycode() { - return citycode; - } - - public void setCitycode(String citycode) { - this.citycode = citycode; - } - - public String getAdcode() { - return adcode; - } - - public void setAdcode(String adcode) { - this.adcode = adcode; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public List getDistricts() { - return districts; - } - - public void setDistricts(List districts) { - this.districts = districts; - } - - /** - * DistrictsEntity - * - * @since 2021-03-12 - */ - public class DistrictsEntity { - private String adcode; - - private String name; - - public String getAdcode() { - return adcode; - } - - public void setAdcode(String adcode) { - this.adcode = adcode; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - } - } - - /** - * TmcsEntity - * - * @since 2021-03-12 - */ - public class TmcsEntity { - private String distance; - - private E lcode; - - private String polyline; - - private String status; - - public String getDistance() { - return distance; - } - - public void setDistance(String distance) { - this.distance = distance; - } - - public E getLcode() { - return lcode; - } - - public void setLcode(E lcode) { - this.lcode = lcode; - } - - public String getPolyline() { - return polyline; - } - - public void setPolyline(String polyline) { - this.polyline = polyline; - } - - public String getStatus() { - return status; - } - - public void setStatus(String status) { - this.status = status; - } - } } } } -- Gitee