home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / xampp / xampp-cocoon-addon-1.4.9-installer.exe / ValuesBean.class (.txt) < prev    next >
Encoding:
Java Class File  |  2004-07-12  |  3.1 KB  |  99 lines

  1. package org.apache.cocoon.forms.samples.bindings;
  2.  
  3. public class ValuesBean {
  4.    private String simple = "Simple";
  5.    private String writeOnly = "Write-Only";
  6.    private String readOnly = "Read-Only";
  7.    private String date = "19700506";
  8.    private String diffIn = "Diff-in/out";
  9.    private String diffOut;
  10.    private String onUpdate = "On Update";
  11.    private int updateCount = 0;
  12.    private boolean bool = true;
  13.    private String other = "This field is not involved in the form.";
  14.  
  15.    public String toString() {
  16.       return "ValuesBean[\n\tsimple=" + this.simple + "\n" + "\treadonly=" + this.readOnly + "\n" + "\twriteonly=" + this.writeOnly + "\n" + "\tdiff-in=" + this.diffIn + "\n" + "\tdiff-out=" + this.diffOut + "\n" + "\tdate=" + this.date + "\n" + "\tbool=" + this.bool + "\n" + "\tonupdate=" + this.onUpdate + "\n" + "\tupdateCount=" + this.updateCount + "\n" + "\tother=" + this.other + "\n";
  17.    }
  18.  
  19.    public boolean isBool() {
  20.       return this.bool;
  21.    }
  22.  
  23.    public void setBool(boolean bool) {
  24.       this.bool = bool;
  25.    }
  26.  
  27.    public String getDate() {
  28.       return this.date;
  29.    }
  30.  
  31.    public void setDate(String date) {
  32.       this.date = date;
  33.    }
  34.  
  35.    public String getDiffIn() {
  36.       return this.diffIn;
  37.    }
  38.  
  39.    public void setDiffIn(String diffIn) {
  40.       this.diffIn = diffIn;
  41.    }
  42.  
  43.    public String getDiffOut() {
  44.       return this.diffOut;
  45.    }
  46.  
  47.    public void setDiffOut(String diffOut) {
  48.       this.diffOut = diffOut;
  49.    }
  50.  
  51.    public String getOnUpdate() {
  52.       return this.onUpdate;
  53.    }
  54.  
  55.    public void setOnUpdate(String onUpdate) {
  56.       this.onUpdate = onUpdate;
  57.    }
  58.  
  59.    public String getOther() {
  60.       return this.other;
  61.    }
  62.  
  63.    public void setOther(String other) {
  64.       this.other = other;
  65.    }
  66.  
  67.    public String getReadOnly() {
  68.       return this.readOnly;
  69.    }
  70.  
  71.    public void setReadOnly(String readOnly) {
  72.       this.readOnly = readOnly;
  73.    }
  74.  
  75.    public String getSimple() {
  76.       return this.simple;
  77.    }
  78.  
  79.    public void setSimple(String simple) {
  80.       this.simple = simple;
  81.    }
  82.  
  83.    public int getUpdateCount() {
  84.       return this.updateCount;
  85.    }
  86.  
  87.    public void setUpdateCount(int updateCount) {
  88.       this.updateCount = updateCount;
  89.    }
  90.  
  91.    public String getWriteOnly() {
  92.       return this.writeOnly;
  93.    }
  94.  
  95.    public void setWriteOnly(String writeOnly) {
  96.       this.writeOnly = writeOnly;
  97.    }
  98. }
  99.