第一个JAVABEAN:
public class ResultRules {
?private String gTaskId;
?private int ulRet;
?private String execStatus;
?private int ulRetParam1;
?private int ulRetParam2;
?private int ulTaskStatus;
?private String cmdName;
?private int nNUms;
?private List<Rules> rules;
?public String getgTaskId() {
??return gTaskId;
?}
?public void setgTaskId(String gTaskId) {
??this.gTaskId = gTaskId;
?}
?public int getUlRet() {
??return ulRet;
?}
?public void setUlRet(int ulRet) {
??this.ulRet = ulRet;
?}
?public String getExecStatus() {
??return execStatus;
?}
?public void setExecStatus(String execStatus) {
??this.execStatus = execStatus;
?}
?public int getUlRetParam1() {
??return ulRetParam1;
?}
?public void setUlRetParam1(int ulRetParam1) {
??this.ulRetParam1 = ulRetParam1;
?}
?public int getUlRetParam2() {
??return ulRetParam2;
?}
?public void setUlRetParam2(int ulRetParam2) {
??this.ulRetParam2 = ulRetParam2;
?}
?public int getUlTaskStatus() {
??return ulTaskStatus;
?}
?public void setUlTaskStatus(int ulTaskStatus) {
??this.ulTaskStatus = ulTaskStatus;
?}
?public String getCmdName() {
??return cmdName;
?}
?public void setCmdName(String cmdName) {
??this.cmdName = cmdName;
?}
?public int getnNUms() {
??return nNUms;
?}
?public void setnNUms(int nNUms) {
??this.nNUms = nNUms;
?}
?public List<Rules> getRules() {
??return rules;
?}
?public void setRules(List<Rules> rules) {
??this.rules = rules;
?}
}
?
第二个JAVABEAN:
public class Rules {
?private int nSnmpTry;
?private int nSnmpVersion;
?private String szCommunity;
?private int nType;
?private int nCurrentTick;
?private String szParam;
?private String szOid;
?private int PollTime;
?private String szUpdateTime;
?private String szCreateTime;
?private String szSnmpIP;
?private int ID;
?private int nSnmpTimeOut;
?private int nSnmpPort;
?public int getnSnmpTry() {
??return nSnmpTry;
?}
?public void setnSnmpTry(int nSnmpTry) {
??this.nSnmpTry = nSnmpTry;
?}
?public int getnSnmpVersion() {
??return nSnmpVersion;
?}
?public void setnSnmpVersion(int nSnmpVersion) {
??this.nSnmpVersion = nSnmpVersion;
?}
?public String getSzCommunity() {
??return szCommunity;
?}
?public void setSzCommunity(String szCommunity) {
??this.szCommunity = szCommunity;
?}
?public int getnType() {
??return nType;
?}
?public void setnType(int nType) {
??this.nType = nType;
?}
?public int getnCurrentTick() {
??return nCurrentTick;
?}
?public void setnCurrentTick(int nCurrentTick) {
??this.nCurrentTick = nCurrentTick;
?}
?public String getSzParam() {
??return szParam;
?}
?public void setSzParam(String szParam) {
??this.szParam = szParam;
?}
?public String getSzOid() {
??return szOid;
?}
?public void setSzOid(String szOid) {
??this.szOid = szOid;
?}
?public int getPollTime() {
??return PollTime;
?}
?public void setPollTime(int pollTime) {
??PollTime = pollTime;
?}
?public String getSzUpdateTime() {
??return szUpdateTime;
?}
?public void setSzUpdateTime(String szUpdateTime) {
??this.szUpdateTime = szUpdateTime;
?}
?public String getSzCreateTime() {
??return szCreateTime;
?}
?public void setSzCreateTime(String szCreateTime) {
??this.szCreateTime = szCreateTime;
?}
?public String getSzSnmpIP() {
??return szSnmpIP;
?}
?public void setSzSnmpIP(String szSnmpIP) {
??this.szSnmpIP = szSnmpIP;
?}
?public int getID()