package com.wxl.app.fz;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class Address implements Serializable {
private static final long serialVersionUID = -8352904000821895111L;
private Integer id;
private String address;
private String city;
private String province;
private String country;
private String postalCode;
private String[] array;
private List<Integer> list;
private Map<Integer, InnerClass> map;
private boolean isExist;
private InnerClass innC;
public static class InnerClass implements Serializable {
private static final long serialVersionUID = -7263412221199319151L;
private String innerName = "static InnerClass";
public InnerClass() {
}
public InnerClass(String innerName) {
super();
this.innerName = innerName;
}
public String getInnerName() {
return innerName;
}
public void setInnerName(String innerName) {
this.innerName = innerName;
}
}
public Address() {
list = new ArrayList<Integer>();
list.add(1);
list.add(2);
list.add(3);
map = new HashMap<Integer, InnerClass>();
map.put(1, new InnerClass("A"));
map.put(2, new InnerClass("B"));
map.put(3, new InnerClass("C"));
innC = new InnerClass("服务端:Address.InnerClass");
}
@Override
public String toString() {
return "Address [address=" + address + ", array="
+ Arrays.toString(array) + ", city=" + city + ", country="
+ country + ", id=" + id + ", innC=" + innC + ", isExist="
+ isExist + ", list=" + list + ", map=" + map + ", postalCode="
+ postalCode + ", province=" + province + "]";
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public String getCity() {
return city;
}
public void setCity(S
webservice Xfire 调用 返回值类型为map时,数据为空的问题
最新推荐文章于 2019-10-25 23:39:17 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)