| | |
| | | |
| | | private boolean state_select = false;//表示是否显示选中组件(true显示) |
| | | |
| | | private HouseInfoBean.Location location;//电站地址 |
| | | |
| | | |
| | | private String address;//详细地址 |
| | | |
| | | |
| | | public boolean isState_select() { |
| | | return state_select; |
| | |
| | | this.localSecret = localSecret; |
| | | } |
| | | |
| | | public HouseInfoBean.Location getLocation() { |
| | | return location == null ? new HouseInfoBean.Location() : location; |
| | | } |
| | | |
| | | public void setLocation(HouseInfoBean.Location location) { |
| | | this.location = location; |
| | | } |
| | | |
| | | public String getAddress() { |
| | | return address == null ? "" : address; |
| | | } |
| | | |
| | | public void setAddress(String address) { |
| | | this.address = address; |
| | | } |
| | | |
| | | /** |
| | | * 拼住宅地址 |
| | | * |
| | | * @return 住宅地址 |
| | | */ |
| | | public String getHomeAddress() { |
| | | if (this.location == null) { |
| | | return this.address; |
| | | } |
| | | return this.location.getNationName() + this.location.getProvinceName() + this.location.getCityName() + this.address; |
| | | } |
| | | } |