home *** CD-ROM | disk | FTP | other *** search
- package org.apache.cocoon.forms.samples.bindings;
-
- public class ValuesBean {
- private String simple = "Simple";
- private String writeOnly = "Write-Only";
- private String readOnly = "Read-Only";
- private String date = "19700506";
- private String diffIn = "Diff-in/out";
- private String diffOut;
- private String onUpdate = "On Update";
- private int updateCount = 0;
- private boolean bool = true;
- private String other = "This field is not involved in the form.";
-
- public String toString() {
- 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";
- }
-
- public boolean isBool() {
- return this.bool;
- }
-
- public void setBool(boolean bool) {
- this.bool = bool;
- }
-
- public String getDate() {
- return this.date;
- }
-
- public void setDate(String date) {
- this.date = date;
- }
-
- public String getDiffIn() {
- return this.diffIn;
- }
-
- public void setDiffIn(String diffIn) {
- this.diffIn = diffIn;
- }
-
- public String getDiffOut() {
- return this.diffOut;
- }
-
- public void setDiffOut(String diffOut) {
- this.diffOut = diffOut;
- }
-
- public String getOnUpdate() {
- return this.onUpdate;
- }
-
- public void setOnUpdate(String onUpdate) {
- this.onUpdate = onUpdate;
- }
-
- public String getOther() {
- return this.other;
- }
-
- public void setOther(String other) {
- this.other = other;
- }
-
- public String getReadOnly() {
- return this.readOnly;
- }
-
- public void setReadOnly(String readOnly) {
- this.readOnly = readOnly;
- }
-
- public String getSimple() {
- return this.simple;
- }
-
- public void setSimple(String simple) {
- this.simple = simple;
- }
-
- public int getUpdateCount() {
- return this.updateCount;
- }
-
- public void setUpdateCount(int updateCount) {
- this.updateCount = updateCount;
- }
-
- public String getWriteOnly() {
- return this.writeOnly;
- }
-
- public void setWriteOnly(String writeOnly) {
- this.writeOnly = writeOnly;
- }
- }
-