1 package org.melati.poem.test.pojo;
2
3 import java.math.BigDecimal;
4 import java.sql.Date;
5 import java.sql.Timestamp;
6
7
8
9
10
11
12 public class ClassWithNoIdAndPublicMembers {
13
14
15
16 public ClassWithNoIdAndPublicMembers() {
17
18 }
19 public ClassWithNoIdAndPublicMembers(String name) {
20 this.name = name;
21 }
22
23 public String name;
24
25 public ClassWithNoIdAndPrivateMembers classWithNoIdAndPrivateMembers;
26
27
28 public boolean hungry = true;
29
30 public Boolean reallyHungry = Boolean.TRUE;
31
32 public int legs = 4;
33
34 public Integer tail = new Integer(1);
35
36
37 public long aLong;
38
39 public Long aLongObject;
40
41 public double d;
42
43 public Double dd;
44
45 public BigDecimal price;
46
47
48 public Date dateOfBirth;
49
50 public Timestamp timeOfBirth;
51
52 private String thoughts;
53
54
55
56
57
58 public String getThoughts() {
59 return thoughts;
60 }
61
62
63
64 public long getALong() {
65 return aLong;
66 }
67
68
69
70 public void setALong(long long1) {
71 aLong = long1;
72 }
73
74
75
76 public Long getALongObject() {
77 return aLongObject;
78 }
79
80
81
82 public void setALongObject(Long longObject) {
83 aLongObject = longObject;
84 }
85
86
87
88 public ClassWithNoIdAndPrivateMembers getClassWithNoIdAndPrivateMembers() {
89 return classWithNoIdAndPrivateMembers;
90 }
91
92
93
94 public void setClassWithNoIdAndPrivateMembers(ClassWithNoIdAndPrivateMembers classWithNoIdAndPrivateMembers) {
95 this.classWithNoIdAndPrivateMembers = classWithNoIdAndPrivateMembers;
96 }
97
98
99
100 public double getD() {
101 return d;
102 }
103
104
105
106 public void setD(double d) {
107 this.d = d;
108 }
109
110
111
112 public void setD(Double d) {
113 this.d = d.doubleValue();
114 }
115
116
117
118 public Date getDateOfBirth() {
119 return dateOfBirth;
120 }
121
122
123
124 public void setDateOfBirth(Date dateOfBirth) {
125 this.dateOfBirth = dateOfBirth;
126 }
127
128
129
130 public Double getDd() {
131 return dd;
132 }
133
134
135
136 public void setDd(Double dd) {
137 this.dd = dd;
138 }
139
140
141
142 public boolean isHungry() {
143 return hungry;
144 }
145
146
147
148 public void setHungry(boolean hungry) {
149 this.hungry = hungry;
150 }
151
152
153
154 public int getLegs() {
155 return legs;
156 }
157
158
159
160 public void setLegs(int legs) {
161 this.legs = legs;
162 }
163
164
165
166 public String getName() {
167 return name;
168 }
169
170
171
172 public void setName(String name) {
173 this.name = name;
174 }
175
176
177
178 public BigDecimal getPrice() {
179 return price;
180 }
181
182
183
184 public void setPrice(BigDecimal price) {
185 this.price = price;
186 }
187
188
189
190 public Boolean getReallyHungry() {
191 return reallyHungry;
192 }
193
194
195
196 public void setReallyHungry(Boolean reallyHungry) {
197 this.reallyHungry = reallyHungry;
198 }
199
200
201
202 public Integer getTail() {
203 return tail;
204 }
205
206
207
208 public void setTail(Integer tail) {
209 this.tail = tail;
210 }
211
212
213
214 public Timestamp getTimeOfBirth() {
215 return timeOfBirth;
216 }
217
218
219
220 public void setTimeOfBirth(Timestamp timeOfBirth) {
221 this.timeOfBirth = timeOfBirth;
222 }
223
224
225
226 public void setThoughts(String thoughts) {
227 this.thoughts = thoughts;
228 }
229 }