Пример #1
0
 public void setInfo(String info) {
   sqlMaker.setField("info", info, Field.TEXT);
   if (this.operate_mode.equals("edit")) {
     if (!this.getInfo().equals(info)) cf.add("info", this.info, info);
   }
   this.info = info;
 }
Пример #2
0
 public void setJobname(String jobname) {
   sqlMaker.setField("jobname", jobname, Field.TEXT);
   if (this.operate_mode.equals("edit")) {
     if (!this.getJobname().equals(jobname)) cf.add("jobname", this.jobname, jobname);
   }
   this.jobname = jobname;
 }
Пример #3
0
 public void setTime(String time) {
   sqlMaker.setField("time", time, Field.DATE);
   if (this.operate_mode.equals("edit")) {
     if (!this.getTime().equals(time)) cf.add("time", this.time, time);
   }
   this.time = time;
 }
Пример #4
0
 public void setJobid(int jobid) {
   sqlMaker.setField("jobid", "" + jobid, Field.NUMBER);
   if (this.operate_mode.equals("edit")) {
     if (this.getJobid() != jobid) cf.add("jobid", this.jobid + "", jobid + "");
   }
   this.jobid = jobid;
 }