1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.commons.dbutils;
18
19
20
21
22 public class TestBean {
23
24 public enum Ordinal {
25
26 THREE, SIX;
27
28 }
29
30 private String one = null;
31
32 private String two = null;
33
34 private Ordinal three = null;
35
36 private int intTest = 0;
37
38 private Integer integerTest = Integer.valueOf(0);
39
40
41
42 private String doNotSet = "not set";
43
44
45
46
47
48 private int nullPrimitiveTest = 7;
49
50
51
52
53
54 private Object nullObjectTest = "overwrite";
55
56
57
58
59
60 private String notDate = "not a date";
61
62
63
64
65
66
67 private double columnProcessorDoubleTest = -1;
68
69
70
71
72 public TestBean() {
73 }
74
75 public double getColumnProcessorDoubleTest() {
76 return columnProcessorDoubleTest;
77 }
78
79 public String getDoNotSet() {
80 return doNotSet;
81 }
82
83 public Integer getIntegerTest() {
84 return integerTest;
85 }
86
87 public int getIntTest() {
88 return intTest;
89 }
90
91 public String getNotDate() {
92 return notDate;
93 }
94
95 public Object getNullObjectTest() {
96 return nullObjectTest;
97 }
98
99 public int getNullPrimitiveTest() {
100 return nullPrimitiveTest;
101 }
102
103 public String getOne() {
104 return one;
105 }
106
107 public Ordinal getThree() {
108 return three;
109 }
110
111 public String getTwo() {
112 return two;
113 }
114
115 public void setColumnProcessorDoubleTest(final double d) {
116 columnProcessorDoubleTest = d;
117 }
118
119 public void setDoNotSet(final String string) {
120 doNotSet = string;
121 }
122
123 public void setIntegerTest(final Integer integer) {
124 integerTest = integer;
125 }
126
127 public void setIntTest(final int i) {
128 intTest = i;
129 }
130
131 public void setNotDate(final String string) {
132 notDate = string;
133 }
134
135 public void setNullObjectTest(final Object object) {
136 nullObjectTest = object;
137 }
138
139 public void setNullPrimitiveTest(final int i) {
140 nullPrimitiveTest = i;
141 }
142
143 public void setOne(final String string) {
144 one = string;
145 }
146
147 public void setThree(final Ordinal ordinal) {
148 three = ordinal;
149 }
150
151 public void setTwo(final String string) {
152 two = string;
153 }
154
155 }