1 61 62 package org.apache.commons.dbutils; 63 64 69 public class TestBean { 70 71 private String one = null; 72 73 private String two = null; 74 75 private String three = null; 76 77 private int intTest = 0; 78 79 private Integer integerTest = new Integer (0); 80 81 private String doNotSet = "not set"; 82 83 87 private int nullPrimitiveTest = 7; 88 89 93 private Object nullObjectTest = "overwrite"; 94 95 100 private String notDate = "not a date"; 101 102 105 public TestBean() { 106 super(); 107 } 108 109 public String getOne() { 110 return one; 111 } 112 113 public String getThree() { 114 return three; 115 } 116 117 public String getTwo() { 118 return two; 119 } 120 121 public void setOne(String string) { 122 one = string; 123 } 124 125 public void setThree(String string) { 126 three = string; 127 } 128 129 public void setTwo(String string) { 130 two = string; 131 } 132 133 public String getDoNotSet() { 134 return doNotSet; 135 } 136 137 public void setDoNotSet(String string) { 138 doNotSet = string; 139 } 140 141 public Integer getIntegerTest() { 142 return integerTest; 143 } 144 145 public int getIntTest() { 146 return intTest; 147 } 148 149 public void setIntegerTest(Integer integer) { 150 integerTest = integer; 151 } 152 153 public void setIntTest(int i) { 154 intTest = i; 155 } 156 157 public Object getNullObjectTest() { 158 return nullObjectTest; 159 } 160 161 public int getNullPrimitiveTest() { 162 return nullPrimitiveTest; 163 } 164 165 public void setNullObjectTest(Object object) { 166 nullObjectTest = object; 167 } 168 169 public void setNullPrimitiveTest(int i) { 170 nullPrimitiveTest = i; 171 } 172 173 public String getNotDate() { 174 return notDate; 175 } 176 177 public void setNotDate(String string) { 178 notDate = string; 179 } 180 181 } 182 | Popular Tags |