1
2
3
4
5
6
7
8
9
10
11 package org.csveed.bean.conversion;
12
13 import java.math.BigDecimal;
14 import java.math.BigInteger;
15 import java.nio.charset.Charset;
16 import java.util.Currency;
17 import java.util.TimeZone;
18 import java.util.regex.Pattern;
19
20
21
22
23 public class Bean {
24
25
26 private Charset charset;
27
28
29 private Currency currency;
30
31
32 private Pattern pattern;
33
34
35 private TimeZone timeZone;
36
37
38 private byte[] bytes;
39
40
41 private char[] chars;
42
43
44 private char charPrimitive;
45
46
47 private Character character;
48
49
50 private boolean booleanPrimitive;
51
52
53 private Boolean booleanObject;
54
55
56 private byte bytePrimitive;
57
58
59 private Byte byteObject;
60
61
62 private short shortPrimitive;
63
64
65 private Short shortObject;
66
67
68 private int intPrimitive;
69
70
71 private Integer intObject;
72
73
74 private long longPrimitive;
75
76
77 private Long longObject;
78
79
80 private float floatPrimitive;
81
82
83 private Float floatObject;
84
85
86 private double doublePrimitive;
87
88
89 private Double doubleObject;
90
91
92 private BigDecimal bigDecimal;
93
94
95 private BigInteger bigInteger;
96
97
98
99
100
101
102 public Charset getCharset() {
103 return charset;
104 }
105
106
107
108
109
110
111
112 public void setCharset(Charset charset) {
113 this.charset = charset;
114 }
115
116
117
118
119
120
121 public Currency getCurrency() {
122 return currency;
123 }
124
125
126
127
128
129
130
131 public void setCurrency(Currency currency) {
132 this.currency = currency;
133 }
134
135
136
137
138
139
140 public Pattern getPattern() {
141 return pattern;
142 }
143
144
145
146
147
148
149
150 public void setPattern(Pattern pattern) {
151 this.pattern = pattern;
152 }
153
154
155
156
157
158
159 public TimeZone getTimeZone() {
160 return timeZone;
161 }
162
163
164
165
166
167
168
169 public void setTimeZone(TimeZone timeZone) {
170 this.timeZone = timeZone;
171 }
172
173
174
175
176
177
178 public byte[] getBytes() {
179 return bytes;
180 }
181
182
183
184
185
186
187
188 public void setBytes(byte[] bytes) {
189 this.bytes = bytes;
190 }
191
192
193
194
195
196
197 public char[] getChars() {
198 return chars;
199 }
200
201
202
203
204
205
206
207 public void setChars(char[] chars) {
208 this.chars = chars;
209 }
210
211
212
213
214
215
216 public char getCharPrimitive() {
217 return charPrimitive;
218 }
219
220
221
222
223
224
225
226 public void setCharPrimitive(char charPrimitive) {
227 this.charPrimitive = charPrimitive;
228 }
229
230
231
232
233
234
235 public Character getCharacter() {
236 return character;
237 }
238
239
240
241
242
243
244
245 public void setCharacter(Character character) {
246 this.character = character;
247 }
248
249
250
251
252
253
254 public boolean isBooleanPrimitive() {
255 return booleanPrimitive;
256 }
257
258
259
260
261
262
263
264 public void setBooleanPrimitive(boolean booleanPrimitive) {
265 this.booleanPrimitive = booleanPrimitive;
266 }
267
268
269
270
271
272
273 public Boolean getBooleanObject() {
274 return booleanObject;
275 }
276
277
278
279
280
281
282
283 public void setBooleanObject(Boolean booleanObject) {
284 this.booleanObject = booleanObject;
285 }
286
287
288
289
290
291
292 public byte getBytePrimitive() {
293 return bytePrimitive;
294 }
295
296
297
298
299
300
301
302 public void setBytePrimitive(byte bytePrimitive) {
303 this.bytePrimitive = bytePrimitive;
304 }
305
306
307
308
309
310
311 public Byte getByteObject() {
312 return byteObject;
313 }
314
315
316
317
318
319
320
321 public void setByteObject(Byte byteObject) {
322 this.byteObject = byteObject;
323 }
324
325
326
327
328
329
330 public short getShortPrimitive() {
331 return shortPrimitive;
332 }
333
334
335
336
337
338
339
340 public void setShortPrimitive(short shortPrimitive) {
341 this.shortPrimitive = shortPrimitive;
342 }
343
344
345
346
347
348
349 public Short getShortObject() {
350 return shortObject;
351 }
352
353
354
355
356
357
358
359 public void setShortObject(Short shortObject) {
360 this.shortObject = shortObject;
361 }
362
363
364
365
366
367
368 public int getIntPrimitive() {
369 return intPrimitive;
370 }
371
372
373
374
375
376
377
378 public void setIntPrimitive(int intPrimitive) {
379 this.intPrimitive = intPrimitive;
380 }
381
382
383
384
385
386
387 public Integer getIntObject() {
388 return intObject;
389 }
390
391
392
393
394
395
396
397 public void setIntObject(Integer intObject) {
398 this.intObject = intObject;
399 }
400
401
402
403
404
405
406 public long getLongPrimitive() {
407 return longPrimitive;
408 }
409
410
411
412
413
414
415
416 public void setLongPrimitive(long longPrimitive) {
417 this.longPrimitive = longPrimitive;
418 }
419
420
421
422
423
424
425 public Long getLongObject() {
426 return longObject;
427 }
428
429
430
431
432
433
434
435 public void setLongObject(Long longObject) {
436 this.longObject = longObject;
437 }
438
439
440
441
442
443
444 public float getFloatPrimitive() {
445 return floatPrimitive;
446 }
447
448
449
450
451
452
453
454 public void setFloatPrimitive(float floatPrimitive) {
455 this.floatPrimitive = floatPrimitive;
456 }
457
458
459
460
461
462
463 public Float getFloatObject() {
464 return floatObject;
465 }
466
467
468
469
470
471
472
473 public void setFloatObject(Float floatObject) {
474 this.floatObject = floatObject;
475 }
476
477
478
479
480
481
482 public double getDoublePrimitive() {
483 return doublePrimitive;
484 }
485
486
487
488
489
490
491
492 public void setDoublePrimitive(double doublePrimitive) {
493 this.doublePrimitive = doublePrimitive;
494 }
495
496
497
498
499
500
501 public Double getDoubleObject() {
502 return doubleObject;
503 }
504
505
506
507
508
509
510
511 public void setDoubleObject(Double doubleObject) {
512 this.doubleObject = doubleObject;
513 }
514
515
516
517
518
519
520 public BigDecimal getBigDecimal() {
521 return bigDecimal;
522 }
523
524
525
526
527
528
529
530 public void setBigDecimal(BigDecimal bigDecimal) {
531 this.bigDecimal = bigDecimal;
532 }
533
534
535
536
537
538
539 public BigInteger getBigInteger() {
540 return bigInteger;
541 }
542
543
544
545
546
547
548
549 public void setBigInteger(BigInteger bigInteger) {
550 this.bigInteger = bigInteger;
551 }
552 }