From b131776547123ca32d2095fd567d35f56d8bc06c 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:10:44 +0000 Subject: [PATCH] update DistributedMapDemo/entry/src/main/java/com/huawei/codelab/bean/RegionDetailResult.java. --- .../codelab/bean/RegionDetailResult.java | 226 ------------------ 1 file changed, 226 deletions(-) diff --git a/DistributedMapDemo/entry/src/main/java/com/huawei/codelab/bean/RegionDetailResult.java b/DistributedMapDemo/entry/src/main/java/com/huawei/codelab/bean/RegionDetailResult.java index 79763605..51f4d87d 100644 --- a/DistributedMapDemo/entry/src/main/java/com/huawei/codelab/bean/RegionDetailResult.java +++ b/DistributedMapDemo/entry/src/main/java/com/huawei/codelab/bean/RegionDetailResult.java @@ -15,30 +15,16 @@ package com.huawei.codelab.bean; -import java.util.List; - /** * RegionDetailResult * * @since 2021-03-12 */ public class RegionDetailResult { - private String infocode; - private RegeocodeEntity regeocode; private String status; - private String info; - - public String getInfocode() { - return infocode; - } - - public void setInfocode(String infocode) { - this.infocode = infocode; - } - public RegeocodeEntity getRegeocode() { return regeocode; } @@ -55,32 +41,14 @@ public class RegionDetailResult { this.status = status; } - public String getInfo() { - return info; - } - - public void setInfo(String info) { - this.info = info; - } - /** * RegeocodeEntity * * @since 2021-03-12 */ public class RegeocodeEntity { - private String formattedAddress; - private AddressComponentEntity addressComponent; - public String getFormattedAddress() { - return formattedAddress; - } - - public void setFormattedAddress(String formattedAddress) { - this.formattedAddress = formattedAddress; - } - public AddressComponentEntity getAddressComponent() { return addressComponent; } @@ -95,54 +63,8 @@ public class RegionDetailResult { * @since 2021-03-12 */ public class AddressComponentEntity { - private List> businessAreas; - - private String country; - - private String province; - private String citycode; - private String city; - - private String adcode; - - private StreetNumberEntity streetNumber; - - private String towncode; - - private String district; - - private BuildingEntity neighborhood; - - private String township; - - private BuildingEntity building; - - public List> getBusinessAreas() { - return businessAreas; - } - - public void setBusinessAreas(List> businessAreas) { - this.businessAreas = businessAreas; - } - - public String getCountry() { - return country; - } - - public void setCountry(String country) { - this.country = country; - } - - public String getProvince() { - return province; - } - - public void setProvince(String province) { - this.province = province; - } - public String getCitycode() { return citycode; } @@ -150,154 +72,6 @@ public class RegionDetailResult { public void setCitycode(String citycode) { this.citycode = citycode; } - - public String getCity() { - return city; - } - - public void setCity(String city) { - this.city = city; - } - - public String getAdcode() { - return adcode; - } - - public void setAdcode(String adcode) { - this.adcode = adcode; - } - - public StreetNumberEntity getStreetNumber() { - return streetNumber; - } - - public void setStreetNumber(StreetNumberEntity streetNumber) { - this.streetNumber = streetNumber; - } - - public String getTowncode() { - return towncode; - } - - public void setTowncode(String towncode) { - this.towncode = towncode; - } - - public String getDistrict() { - return district; - } - - public void setDistrict(String district) { - this.district = district; - } - - public BuildingEntity getNeighborhood() { - return neighborhood; - } - - public void setNeighborhood(BuildingEntity neighborhood) { - this.neighborhood = neighborhood; - } - - public String getTownship() { - return township; - } - - public void setTownship(String township) { - this.township = township; - } - - public BuildingEntity getBuilding() { - return building; - } - - public void setBuilding(BuildingEntity building) { - this.building = building; - } - - /** - * StreetNumberEntity - * - * @since 2021-03-12 - */ - public class StreetNumberEntity { - private String number; - - private String distance; - - private String street; - - private String location; - - private String direction; - - public String getNumber() { - return number; - } - - public void setNumber(String number) { - this.number = number; - } - - public String getDistance() { - return distance; - } - - public void setDistance(String distance) { - this.distance = distance; - } - - public String getStreet() { - return street; - } - - public void setStreet(String street) { - this.street = street; - } - - public String getLocation() { - return location; - } - - public void setLocation(String location) { - this.location = location; - } - - public String getDirection() { - return direction; - } - - public void setDirection(String direction) { - this.direction = direction; - } - } - - /** - * BuildingEntity - * - * @since 2021-03-12 - */ - public class BuildingEntity { - private List name; - - private List type; - - public List getName() { - return name; - } - - public void setName(List name) { - this.name = name; - } - - public List getType() { - return type; - } - - public void setType(List type) { - this.type = type; - } - } } } } -- Gitee