state.java
1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
package th.co.ais.ssbsrfc.utils;
import java.util.List;
import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.ElementListUnion;
import org.simpleframework.xml.Root;
@Root(name="state")
public class state {
@ElementListUnion({
@ElementList(entry="info", inline=true, required=false)
})
private List<info> info;
@Attribute(required=false)
private String id;
@Attribute(required=false)
private String command;
@Attribute(required=false)
private String state_type;
@Attribute(required=false)
private String resultcode;
@Attribute(required=false)
private String resultdescription;
public void setInfo(List<info> info) {
this.info = info;
}
public List<info> getInfo() {
return info;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getCommand() {
return command;
}
public void setCommand(String command) {
this.command = command;
}
public String getState_type() {
return state_type;
}
public void setState_type(String state_type) {
this.state_type = state_type;
}
public String getResultcode() {
return resultcode;
}
public void setResultcode(String resultcode) {
this.resultcode = resultcode;
}
public String getResultdescription() {
return resultdescription;
}
public void setResultdescription(String resultdescription) {
this.resultdescription = resultdescription;
}
}