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; @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) { this.info = info; } public List 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; } }