KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sf > dozer > util > mapping > vo > TestObject


1 /*
2  * Copyright 2005-2007 the original author or authors.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package net.sf.dozer.util.mapping.vo;
17
18 import java.math.BigDecimal JavaDoc;
19 import java.sql.Timestamp JavaDoc;
20 import java.util.Date JavaDoc;
21 import java.util.GregorianCalendar JavaDoc;
22 import java.util.List JavaDoc;
23 import java.util.Set JavaDoc;
24
25
26 /**
27  * @author garsombke.franz
28  * @author sullins.ben
29  * @author tierney.matt
30  *
31  */

32 public class TestObject extends BaseTestObject {
33     private String JavaDoc one;
34     private Integer JavaDoc two;
35     private InsideTestObject three;
36     private InsideTestObject insideTestObject;
37     private java.util.List JavaDoc equalNamedList;
38     private java.util.List JavaDoc unequalNamedList;
39     private int thePrimitive;
40     private int theMappedPrimitive;
41     private int[] anArray;
42     private Integer JavaDoc[] arrayForLists;
43     private BigDecimal JavaDoc bigDecimalToInt;
44     private int intToBigDecimal;
45     private Date JavaDoc date;
46     private GregorianCalendar JavaDoc calendar;
47     private NoCustomMappingsObject noMappingsObj;
48     private List JavaDoc hintList;
49     private Timestamp JavaDoc timeStamp;
50     private String JavaDoc dateStr;
51     private DoubleObject doubleObject;
52     private long anotherLongValue;
53     private int[] primArray;
54     private Van van;
55     private String JavaDoc excludeMe;
56     private MetalThingyIF carMetalThingy;
57     private String JavaDoc blankDate;
58     private String JavaDoc blankStringToLong;
59     private String JavaDoc createdByFactoryName;
60     private NoExtendBaseObject copyByReference;
61     private NoExtendBaseObject copyByReferenceDeep;
62     private NoExtendBaseObjectGlobalCopyByReference globalCopyByReference;
63     private Set JavaDoc setToArray;
64     private Set JavaDoc setToObjectArray;
65     private Set JavaDoc setToArrayWithValues;
66     private Set JavaDoc setToList;
67     private Set JavaDoc setToListWithValues;
68     private String JavaDoc fieldAccessible;
69     private int fieldAccessiblePrimInt;
70     private InsideTestObject fieldAccessibleComplexType;
71     private String JavaDoc[] stringArrayWithNullValue;
72     private String JavaDoc[] fieldAccessibleArrayToList;
73     private Date JavaDoc overloadGetField;
74     private InsideTestObject createMethodType;
75     private String JavaDoc excludeMeOneWay;
76     private String JavaDoc throwAllowedExceptionOnMap;
77     private String JavaDoc throwNonAllowedExceptionOnMap;
78     
79     public int[] getPrimArray() {
80         return primArray;
81     }
82
83     public void setPrimArray(int[] primArray) {
84         this.primArray = primArray;
85     }
86
87     public long getAnotherLongValue() {
88         return anotherLongValue;
89     }
90
91     public void setAnotherLongValue(long longValue) {
92         anotherLongValue = longValue;
93     }
94
95     /**
96      * @return Returns the date.
97      */

98     public Date JavaDoc getDate() {
99         return date;
100     }
101
102     /**
103      * @param date
104      * The date to set.
105      */

106     public void setDate(Date JavaDoc date) {
107         this.date = date;
108     }
109
110     /**
111      * @return Returns the insideTestObject.
112      */

113     public InsideTestObject getInsideTestObject() {
114         return insideTestObject;
115     }
116
117     /**
118      * @param insideTestObject
119      * The insideTestObject to set.
120      */

121     public void setInsideTestObject(InsideTestObject insideTestObject) {
122         this.insideTestObject = insideTestObject;
123     }
124
125     /**
126      * @return Returns the aPrimitive.
127      */

128     public int getThePrimitive() {
129         return thePrimitive;
130     }
131
132     /**
133      * @param primitive
134      * The aPrimitive to set.
135      */

136     public void setThePrimitive(int primitive) {
137         thePrimitive = primitive;
138     }
139
140     /**
141      * @return Returns the equalNamedList.
142      */

143     public java.util.List JavaDoc getEqualNamedList() {
144         return equalNamedList;
145     }
146
147     /**
148      * @param equalNamedList
149      * The equalNamedList to set.
150      */

151     public void setEqualNamedList(java.util.List JavaDoc equalNamedList) {
152         this.equalNamedList = equalNamedList;
153     }
154
155     /**
156      * @return Returns the one.
157      */

158     public String JavaDoc getOne() {
159         return one;
160     }
161
162     /**
163      * @param one
164      * The one to set.
165      */

166     public void setOne(String JavaDoc one) {
167         this.one = one;
168     }
169
170     /**
171      * @return Returns the three.
172      */

173     public InsideTestObject getThree() {
174         return three;
175     }
176
177     /**
178      * @param three
179      * The three to set.
180      */

181     public void setThree(InsideTestObject three) {
182         this.three = three;
183     }
184
185     /**
186      * @return Returns the two.
187      */

188     public Integer JavaDoc getTwo() {
189         return two;
190     }
191
192     /**
193      * @param two
194      * The two to set.
195      */

196     public void setTwo(Integer JavaDoc two) {
197         this.two = two;
198     }
199
200     /**
201      * @return Returns the unequalNamedList.
202      */

203     public java.util.List JavaDoc getUnequalNamedList() {
204         return unequalNamedList;
205     }
206
207     /**
208      * @param unequalNamedList
209      * The unequalNamedList to set.
210      */

211     public void setUnequalNamedList(java.util.List JavaDoc unequalNamedList) {
212         this.unequalNamedList = unequalNamedList;
213     }
214
215     /**
216      * @return Returns the theMappedPrimitive.
217      */

218     public int getTheMappedPrimitive() {
219         return theMappedPrimitive;
220     }
221
222     /**
223      * @param mappedPrimitive
224      * The theMappedPrimitive to set.
225      */

226     public void setTheMappedPrimitive(int mappedPrimitive) {
227         theMappedPrimitive = mappedPrimitive;
228     }
229
230     /**
231      * @return Returns the anArray.
232      */

233     public int[] getAnArray() {
234         return anArray;
235     }
236
237     /**
238      * @param anArray
239      * The anArray to set.
240      */

241     public void setAnArray(int[] anArray) {
242         this.anArray = anArray;
243     }
244
245     /**
246      * @return Returns the arrayForLists.
247      */

248     public Integer JavaDoc[] getArrayForLists() {
249         return arrayForLists;
250     }
251
252     /**
253      * @param arrayForLists
254      * The arrayForLists to set.
255      */

256     public void setArrayForLists(Integer JavaDoc[] arrayForLists) {
257         this.arrayForLists = arrayForLists;
258     }
259
260     /**
261      * @return Returns the bigDecimalToInt.
262      */

263     public BigDecimal JavaDoc getBigDecimalToInt() {
264         return bigDecimalToInt;
265     }
266
267     /**
268      * @param bigDecimalToInt
269      * The bigDecimalToInt to set.
270      */

271     public void setBigDecimalToInt(BigDecimal JavaDoc bigDecimalToInt) {
272         this.bigDecimalToInt = bigDecimalToInt;
273     }
274
275     /**
276      * @return Returns the intToBigDecimal.
277      */

278     public int getIntToBigDecimal() {
279         return intToBigDecimal;
280     }
281
282     /**
283      * @param intToBigDecimal
284      * The intToBigDecimal to set.
285      */

286     public void setIntToBigDecimal(int intToBigDecimal) {
287         this.intToBigDecimal = intToBigDecimal;
288     }
289
290     /**
291      * @return Returns the calendar.
292      */

293     public GregorianCalendar JavaDoc getCalendar() {
294         return calendar;
295     }
296
297     /**
298      * @param calendar
299      * The calendar to set.
300      */

301     public void setCalendar(GregorianCalendar JavaDoc calendar) {
302         this.calendar = calendar;
303     }
304
305     public NoCustomMappingsObject getNoMappingsObj() {
306         return noMappingsObj;
307     }
308
309     public void setNoMappingsObj(NoCustomMappingsObject noMappingsObj) {
310         this.noMappingsObj = noMappingsObj;
311     }
312
313     public List JavaDoc getHintList() {
314         return hintList;
315     }
316
317     public void setHintList(List JavaDoc hintList) {
318         this.hintList = hintList;
319     }
320
321     /**
322      * @return Returns the timeStamp.
323      */

324     public Timestamp JavaDoc getTimeStamp() {
325         return timeStamp;
326     }
327
328     /**
329      * @param timeStamp
330      * The timeStamp to set.
331      */

332     public void setTimeStamp(Timestamp JavaDoc timeStamp) {
333         this.timeStamp = timeStamp;
334     }
335
336     public String JavaDoc getDateStr() {
337         return dateStr;
338     }
339
340     public void setDateStr(String JavaDoc dateStr) {
341         this.dateStr = dateStr;
342     }
343
344     /**
345      * @return Returns the doubleObject.
346      */

347     public DoubleObject getDoubleObject() {
348         return doubleObject;
349     }
350
351     /**
352      * @param doubleObject
353      * The doubleObject to set.
354      */

355     public void setDoubleObject(DoubleObject doubleObject) {
356         this.doubleObject = doubleObject;
357     }
358
359     public Van getVan() {
360       return van;
361     }
362
363     public void setVan(Van van) {
364       this.van = van;
365     }
366
367     public String JavaDoc getExcludeMe() {
368       return excludeMe;
369     }
370
371     public void setExcludeMe(String JavaDoc excludeMe) {
372       this.excludeMe = excludeMe;
373     }
374
375     public MetalThingyIF getCarMetalThingy() {
376       return carMetalThingy;
377     }
378
379     public void setCarMetalThingy(MetalThingyIF car) {
380       this.carMetalThingy = car;
381     }
382
383     public String JavaDoc getBlankDate() {
384       return blankDate;
385     }
386
387     public void setBlankDate(String JavaDoc blankDate) {
388       this.blankDate = blankDate;
389     }
390
391     public String JavaDoc getBlankStringToLong() {
392       return blankStringToLong;
393     }
394
395     public void setBlankStringToLong(String JavaDoc blankStringToLong) {
396       this.blankStringToLong = blankStringToLong;
397     }
398
399     public String JavaDoc getCreatedByFactoryName() {
400       return createdByFactoryName;
401     }
402
403     public void setCreatedByFactoryName(String JavaDoc createdByFactoryName) {
404       this.createdByFactoryName = createdByFactoryName;
405     }
406
407     public NoExtendBaseObject getCopyByReference() {
408       return copyByReference;
409     }
410
411     public void setCopyByReference(NoExtendBaseObject copyByReference) {
412       this.copyByReference = copyByReference;
413     }
414
415     public NoExtendBaseObject getCopyByReferenceDeep() {
416       return copyByReferenceDeep;
417     }
418
419     public void setCopyByReferenceDeep(NoExtendBaseObject copyByReferenceDeep) {
420       this.copyByReferenceDeep = copyByReferenceDeep;
421     }
422
423     public NoExtendBaseObjectGlobalCopyByReference getGlobalCopyByReference() {
424       return globalCopyByReference;
425     }
426
427     public void setGlobalCopyByReference(NoExtendBaseObjectGlobalCopyByReference globalCopyByReference) {
428       this.globalCopyByReference = globalCopyByReference;
429     }
430
431     public Set JavaDoc getSetToArray() {
432       return setToArray;
433     }
434
435     public void setSetToArray(Set JavaDoc setToArray) {
436       this.setToArray = setToArray;
437     }
438
439     public Set JavaDoc getSetToObjectArray() {
440       return setToObjectArray;
441     }
442
443     public void setSetToObjectArray(Set JavaDoc setToObjectArray) {
444       this.setToObjectArray = setToObjectArray;
445     }
446
447     public Set JavaDoc getSetToArrayWithValues() {
448       return setToArrayWithValues;
449     }
450
451     public void setSetToArrayWithValues(Set JavaDoc setToArrayWithValues) {
452       this.setToArrayWithValues = setToArrayWithValues;
453     }
454
455     public Set JavaDoc getSetToList() {
456       return setToList;
457     }
458
459     public void setSetToList(Set JavaDoc setToList) {
460       this.setToList = setToList;
461     }
462
463     public Set JavaDoc getSetToListWithValues() {
464       return setToListWithValues;
465     }
466
467     public void setSetToListWithValues(Set JavaDoc setToListWithValues) {
468       this.setToListWithValues = setToListWithValues;
469     }
470
471     public String JavaDoc getFieldAccessible() {
472       return fieldAccessible;
473     }
474
475     public void setFieldAccessible(String JavaDoc fieldAccessible) {
476       this.fieldAccessible = fieldAccessible;
477     }
478
479     public int getFieldAccessiblePrimInt() {
480       return fieldAccessiblePrimInt;
481     }
482
483     public void setFieldAccessiblePrimInt(int fieldAccessiblePrimInt) {
484       this.fieldAccessiblePrimInt = fieldAccessiblePrimInt;
485     }
486
487     public InsideTestObject getFieldAccessibleComplexType() {
488       return fieldAccessibleComplexType;
489     }
490
491     public void setFieldAccessibleComplexType(InsideTestObject fieldAccessibleComplexType) {
492       this.fieldAccessibleComplexType = fieldAccessibleComplexType;
493     }
494
495     public String JavaDoc[] getStringArrayWithNullValue() {
496       return stringArrayWithNullValue;
497     }
498
499     public void setStringArrayWithNullValue(String JavaDoc[] stringArrayWithNullValue) {
500       this.stringArrayWithNullValue = stringArrayWithNullValue;
501     }
502
503     public String JavaDoc[] getFieldAccessibleArrayToList() {
504       return fieldAccessibleArrayToList;
505     }
506
507     public void setFieldAccessibleArrayToList(String JavaDoc[] fieldAccessibleArrayToList) {
508       this.fieldAccessibleArrayToList = fieldAccessibleArrayToList;
509     }
510
511     public Date JavaDoc getOverloadGetField() {
512       return overloadGetField;
513     }
514
515     public void setOverloadGetField(Date JavaDoc overloadGetField) {
516       this.overloadGetField = overloadGetField;
517     }
518
519     public InsideTestObject getCreateMethodType() {
520       return createMethodType;
521     }
522
523     public void setCreateMethodType(InsideTestObject createMethodType) {
524       this.createMethodType = createMethodType;
525     }
526
527     public String JavaDoc getExcludeMeOneWay() {
528       return excludeMeOneWay;
529     }
530
531     public void setExcludeMeOneWay(String JavaDoc excludeMeOneWay) {
532       this.excludeMeOneWay = excludeMeOneWay;
533     }
534
535     public String JavaDoc getThrowAllowedExceptionOnMap() {
536       return throwAllowedExceptionOnMap;
537     }
538
539     public void setThrowAllowedExceptionOnMap(String JavaDoc throwAllowedExceptionOnMap) {
540       this.throwAllowedExceptionOnMap = throwAllowedExceptionOnMap;
541     }
542
543     public String JavaDoc getThrowNonAllowedExceptionOnMap() {
544       return throwNonAllowedExceptionOnMap;
545     }
546
547     public void setThrowNonAllowedExceptionOnMap(String JavaDoc throwNonAllowedExceptionOnMap) {
548       this.throwNonAllowedExceptionOnMap = throwNonAllowedExceptionOnMap;
549     }
550
551 }
552
Popular Tags