添加ABN为动态结构对象

This commit is contained in:
zhouxiunai
2019-01-15 21:02:55 +08:00
parent c6c9f0a4f8
commit 2557390fcd
5 changed files with 7 additions and 7 deletions
@@ -11,7 +11,7 @@ public class ABNDATA {
@XmlElement(name = "BODY")
@JsonProperty("BODY")
protected String body;//json 串或普通字符串,每个type一种
protected Object body;//可变类型,根据Type 变化
public ABNORMALTYPE getType() {
return type;
@@ -21,11 +21,11 @@ public class ABNDATA {
this.type = type;
}
public String getBody() {
public Object getBody() {
return body;
}
public void setBody(String body) {
public void setBody(Object body) {
this.body = body;
}
}