/home/mario/oci/jnb/dataaccess/source/test/java/net/sf/hibernate/MockQuery.java

1    /** 
2     * This software program, Simple Data Access Layer (SDAL), is copyrighted by Object 
3     * Computing inc of St. Louis MO USA. It is provided under the open-source model 
4     * and is free of license fees. You are free to modify this code for your own use 
5     * but you may not claim copyright. 
6     * 
7     * Since SDAL is open source and free of licensing fees, you are free to use, 
8     * modify, and distribute the source code, as long as you include this copyright 
9     * statement. 
10    * 
11    * In particular, you can use SDAL to build proprietary software and are under no 
12    * obligation to redistribute any of your source code that is built using SDAL. 
13    * Note, however, that you may not do anything to the SDAL code, such as 
14    * copyrighting it yourself or claiming authorship of the SDAL code, that will 
15    * prevent SDAL from being distributed freely using an open source development 
16    * model. 
17    * 
18    * Warranty 
19    * LICENSED PRODUCT, SDAL, IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 
20    * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE, 
21    * NONINFRINGEMENT, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. 
22    * 
23    * Support 
24    * LICENSED PRODUCT, SDAL, IS PROVIDED WITH NO SUPPORT AND WITHOUT ANY OBLIGATION ON THE 
25    * PART OF OCI OR ANY OF ITS SUBSIDIARIES OR AFFILIATES TO ASSIST IN ITS USE, 
26    * CORRECTION, MODIFICATION OR ENHANCEMENT. 
27    * 
28    * Support may be available from OCI to users who have agreed to a support 
29    * contract. 
30    * 
31    * Liability 
32    * OCI OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH 
33    * RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY 
34    * LICENSED PRODUCT OR ANY PART THEREOF. 
35    * 
36    * IN NO EVENT WILL OCI OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR ANY 
37    * LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL DAMAGES, 
38    * EVEN IF OCI HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 
39    * 
40    * Copyright OCI. St. Louis MO USA, 2004 
41    * 
42    */ 
43   package net.sf.hibernate; 
44    
45   public class MockQuery implements Query { 
46    
47       public boolean getQueryStringCalled; 
48       public java.lang.String getQueryStringReturn; 
49       public Throwable getQueryStringException; 
50       public java.lang.String getQueryString() { 
51           getQueryStringCalled = true; 
52           if (getQueryStringException != null) { 
53               if (getQueryStringException instanceof java.lang.RuntimeException) 
54                   throw (java.lang.RuntimeException) getQueryStringException; 
55               if (getQueryStringException instanceof java.lang.Error) 
56                   throw (java.lang.Error) getQueryStringException; 
57               throw new RuntimeException(); 
58           } 
59           return this.getQueryStringReturn; 
60       } 
61    
62       public boolean getReturnTypesCalled; 
63       public net.sf.hibernate.type.Type[] getReturnTypesReturn; 
64       public Throwable getReturnTypesException; 
65       public net.sf.hibernate.type.Type[] getReturnTypes() throws net.sf.hibernate.HibernateException { 
66           getReturnTypesCalled = true; 
67           if (getReturnTypesException != null) { 
68               if (getReturnTypesException instanceof net.sf.hibernate.HibernateException) 
69                   throw (net.sf.hibernate.HibernateException) getReturnTypesException; 
70               if (getReturnTypesException instanceof java.lang.RuntimeException) 
71                   throw (java.lang.RuntimeException) getReturnTypesException; 
72               if (getReturnTypesException instanceof java.lang.Error) 
73                   throw (java.lang.Error) getReturnTypesException; 
74               throw new RuntimeException(); 
75           } 
76           return this.getReturnTypesReturn; 
77       } 
78    
79       public boolean getNamedParametersCalled; 
80       public java.lang.String[] getNamedParametersReturn; 
81       public Throwable getNamedParametersException; 
82       public java.lang.String[] getNamedParameters() throws net.sf.hibernate.HibernateException { 
83           getNamedParametersCalled = true; 
84           if (getNamedParametersException != null) { 
85               if (getNamedParametersException instanceof net.sf.hibernate.HibernateException) 
86                   throw (net.sf.hibernate.HibernateException) getNamedParametersException; 
87               if (getNamedParametersException instanceof java.lang.RuntimeException) 
88                   throw (java.lang.RuntimeException) getNamedParametersException; 
89               if (getNamedParametersException instanceof java.lang.Error) 
90                   throw (java.lang.Error) getNamedParametersException; 
91               throw new RuntimeException(); 
92           } 
93           return this.getNamedParametersReturn; 
94       } 
95    
96       public boolean iterateCalled; 
97       public java.util.Iterator iterateReturn; 
98       public Throwable iterateException; 
99       public java.util.Iterator iterate() throws net.sf.hibernate.HibernateException { 
100          iterateCalled = true; 
101          if (iterateException != null) { 
102              if (iterateException instanceof net.sf.hibernate.HibernateException) 
103                  throw (net.sf.hibernate.HibernateException) iterateException; 
104              if (iterateException instanceof java.lang.RuntimeException) 
105                  throw (java.lang.RuntimeException) iterateException; 
106              if (iterateException instanceof java.lang.Error) 
107                  throw (java.lang.Error) iterateException; 
108              throw new RuntimeException(); 
109          } 
110          return this.iterateReturn; 
111      } 
112   
113      public boolean scrollCalled; 
114      public net.sf.hibernate.ScrollableResults scrollReturn; 
115      public Throwable scrollException; 
116      public net.sf.hibernate.ScrollableResults scroll() throws net.sf.hibernate.HibernateException { 
117          scrollCalled = true; 
118          if (scrollException != null) { 
119              if (scrollException instanceof net.sf.hibernate.HibernateException) 
120                  throw (net.sf.hibernate.HibernateException) scrollException; 
121              if (scrollException instanceof java.lang.RuntimeException) 
122                  throw (java.lang.RuntimeException) scrollException; 
123              if (scrollException instanceof java.lang.Error) 
124                  throw (java.lang.Error) scrollException; 
125              throw new RuntimeException(); 
126          } 
127          return this.scrollReturn; 
128      } 
129   
130      public boolean listCalled; 
131      public java.util.List listReturn; 
132      public Throwable listException; 
133      public java.util.List list() throws net.sf.hibernate.HibernateException { 
134          listCalled = true; 
135          if (listException != null) { 
136              if (listException instanceof net.sf.hibernate.HibernateException) 
137                  throw (net.sf.hibernate.HibernateException) listException; 
138              if (listException instanceof java.lang.RuntimeException) 
139                  throw (java.lang.RuntimeException) listException; 
140              if (listException instanceof java.lang.Error) 
141                  throw (java.lang.Error) listException; 
142              throw new RuntimeException(); 
143          } 
144          return this.listReturn; 
145      } 
146   
147      public boolean setMaxResultsCalled; 
148      public net.sf.hibernate.Query setMaxResultsReturn; 
149      public Throwable setMaxResultsException; 
150      public int setMaxResultsMaxResults; 
151      public net.sf.hibernate.Query setMaxResults(int maxResults) { 
152          setMaxResultsCalled = true; 
153          this.setMaxResultsMaxResults = maxResults; 
154          if (setMaxResultsException != null) { 
155              if (setMaxResultsException instanceof java.lang.RuntimeException) 
156                  throw (java.lang.RuntimeException) setMaxResultsException; 
157              if (setMaxResultsException instanceof java.lang.Error) 
158                  throw (java.lang.Error) setMaxResultsException; 
159              throw new RuntimeException(); 
160          } 
161          return this.setMaxResultsReturn; 
162      } 
163   
164      public boolean setFirstResultCalled; 
165      public net.sf.hibernate.Query setFirstResultReturn; 
166      public Throwable setFirstResultException; 
167      public int setFirstResultFirstResult; 
168      public net.sf.hibernate.Query setFirstResult(int firstResult) { 
169          setFirstResultCalled = true; 
170          this.setFirstResultFirstResult = firstResult; 
171          if (setFirstResultException != null) { 
172              if (setFirstResultException instanceof java.lang.RuntimeException) 
173                  throw (java.lang.RuntimeException) setFirstResultException; 
174              if (setFirstResultException instanceof java.lang.Error) 
175                  throw (java.lang.Error) setFirstResultException; 
176              throw new RuntimeException(); 
177          } 
178          return this.setFirstResultReturn; 
179      } 
180   
181      public boolean setTimeoutCalled; 
182      public net.sf.hibernate.Query setTimeoutReturn; 
183      public Throwable setTimeoutException; 
184      public int setTimeoutTimeout; 
185      public net.sf.hibernate.Query setTimeout(int timeout) { 
186          setTimeoutCalled = true; 
187          this.setTimeoutTimeout = timeout; 
188          if (setTimeoutException != null) { 
189              if (setTimeoutException instanceof java.lang.RuntimeException) 
190                  throw (java.lang.RuntimeException) setTimeoutException; 
191              if (setTimeoutException instanceof java.lang.Error) 
192                  throw (java.lang.Error) setTimeoutException; 
193              throw new RuntimeException(); 
194          } 
195          return this.setTimeoutReturn; 
196      } 
197   
198      public boolean setLockModeCalled; 
199      public Throwable setLockModeException; 
200      public java.lang.String setLockModeAlias; 
201      public net.sf.hibernate.LockMode setLockModeLockMode; 
202      public void setLockMode(java.lang.String alias, net.sf.hibernate.LockMode lockMode) { 
203          setLockModeCalled = true; 
204          this.setLockModeAlias = alias; 
205          this.setLockModeLockMode = lockMode; 
206          if (setLockModeException != null) { 
207              if (setLockModeException instanceof java.lang.RuntimeException) 
208                  throw (java.lang.RuntimeException) setLockModeException; 
209              if (setLockModeException instanceof java.lang.Error) 
210                  throw (java.lang.Error) setLockModeException; 
211              throw new RuntimeException(); 
212          } 
213      } 
214   
215      public boolean setParameterCalled; 
216      public net.sf.hibernate.Query setParameterReturn; 
217      public Throwable setParameterException; 
218      public int setParameterPosition; 
219      public java.lang.Object setParameterVal; 
220      public net.sf.hibernate.type.Type setParameterType; 
221      public net.sf.hibernate.Query setParameter(int position, java.lang.Object val, net.sf.hibernate.type.Type type) { 
222          setParameterCalled = true; 
223          this.setParameterPosition = position; 
224          this.setParameterVal = val; 
225          this.setParameterType = type; 
226          if (setParameterException != null) { 
227              if (setParameterException instanceof java.lang.RuntimeException) 
228                  throw (java.lang.RuntimeException) setParameterException; 
229              if (setParameterException instanceof java.lang.Error) 
230                  throw (java.lang.Error) setParameterException; 
231              throw new RuntimeException(); 
232          } 
233          return this.setParameterReturn; 
234      } 
235   
236      public boolean setParameter2Called; 
237      public net.sf.hibernate.Query setParameter2Return; 
238      public Throwable setParameter2Exception; 
239      public java.lang.String setParameter2Name; 
240      public java.lang.Object setParameter2Val; 
241      public net.sf.hibernate.type.Type setParameter2Type; 
242      public net.sf.hibernate.Query setParameter(java.lang.String name, java.lang.Object val, net.sf.hibernate.type.Type type) { 
243          setParameter2Called = true; 
244          this.setParameter2Name = name; 
245          this.setParameter2Val = val; 
246          this.setParameter2Type = type; 
247          if (setParameter2Exception != null) { 
248              if (setParameter2Exception instanceof java.lang.RuntimeException) 
249                  throw (java.lang.RuntimeException) setParameter2Exception; 
250              if (setParameter2Exception instanceof java.lang.Error) 
251                  throw (java.lang.Error) setParameter2Exception; 
252              throw new RuntimeException(); 
253          } 
254          return this.setParameter2Return; 
255      } 
256   
257      public boolean setParameter3Called; 
258      public net.sf.hibernate.Query setParameter3Return; 
259      public Throwable setParameter3Exception; 
260      public int setParameter3Position; 
261      public java.lang.Object setParameter3Val; 
262      public net.sf.hibernate.Query setParameter(int position, java.lang.Object val) throws net.sf.hibernate.HibernateException { 
263          setParameter3Called = true; 
264          this.setParameter3Position = position; 
265          this.setParameter3Val = val; 
266          if (setParameter3Exception != null) { 
267              if (setParameter3Exception instanceof net.sf.hibernate.HibernateException) 
268                  throw (net.sf.hibernate.HibernateException) setParameter3Exception; 
269              if (setParameter3Exception instanceof java.lang.RuntimeException) 
270                  throw (java.lang.RuntimeException) setParameter3Exception; 
271              if (setParameter3Exception instanceof java.lang.Error) 
272                  throw (java.lang.Error) setParameter3Exception; 
273              throw new RuntimeException(); 
274          } 
275          return this.setParameter3Return; 
276      } 
277   
278      public boolean setParameter4Called; 
279      public net.sf.hibernate.Query setParameter4Return; 
280      public Throwable setParameter4Exception; 
281      public java.lang.String setParameter4Name; 
282      public java.lang.Object setParameter4Val; 
283      public net.sf.hibernate.Query setParameter(java.lang.String name, java.lang.Object val) throws net.sf.hibernate.HibernateException { 
284          setParameter4Called = true; 
285          this.setParameter4Name = name; 
286          this.setParameter4Val = val; 
287          if (setParameter4Exception != null) { 
288              if (setParameter4Exception instanceof net.sf.hibernate.HibernateException) 
289                  throw (net.sf.hibernate.HibernateException) setParameter4Exception; 
290              if (setParameter4Exception instanceof java.lang.RuntimeException) 
291                  throw (java.lang.RuntimeException) setParameter4Exception; 
292              if (setParameter4Exception instanceof java.lang.Error) 
293                  throw (java.lang.Error) setParameter4Exception; 
294              throw new RuntimeException(); 
295          } 
296          return this.setParameter4Return; 
297      } 
298   
299      public boolean setParameterListCalled; 
300      public net.sf.hibernate.Query setParameterListReturn; 
301      public Throwable setParameterListException; 
302      public java.lang.String setParameterListName; 
303      public java.util.Collection setParameterListVals; 
304      public net.sf.hibernate.type.Type setParameterListType; 
305      public net.sf.hibernate.Query setParameterList(java.lang.String name, java.util.Collection vals, net.sf.hibernate.type.Type type) throws net.sf.hibernate.HibernateException { 
306          setParameterListCalled = true; 
307          this.setParameterListName = name; 
308          this.setParameterListVals = vals; 
309          this.setParameterListType = type; 
310          if (setParameterListException != null) { 
311              if (setParameterListException instanceof net.sf.hibernate.HibernateException) 
312                  throw (net.sf.hibernate.HibernateException) setParameterListException; 
313              if (setParameterListException instanceof java.lang.RuntimeException) 
314                  throw (java.lang.RuntimeException) setParameterListException; 
315              if (setParameterListException instanceof java.lang.Error) 
316                  throw (java.lang.Error) setParameterListException; 
317              throw new RuntimeException(); 
318          } 
319          return this.setParameterListReturn; 
320      } 
321   
322      public boolean setParameterList2Called; 
323      public net.sf.hibernate.Query setParameterList2Return; 
324      public Throwable setParameterList2Exception; 
325      public java.lang.String setParameterList2Name; 
326      public java.util.Collection setParameterList2Vals; 
327      public net.sf.hibernate.Query setParameterList(java.lang.String name, java.util.Collection vals) throws net.sf.hibernate.HibernateException { 
328          setParameterList2Called = true; 
329          this.setParameterList2Name = name; 
330          this.setParameterList2Vals = vals; 
331          if (setParameterList2Exception != null) { 
332              if (setParameterList2Exception instanceof net.sf.hibernate.HibernateException) 
333                  throw (net.sf.hibernate.HibernateException) setParameterList2Exception; 
334              if (setParameterList2Exception instanceof java.lang.RuntimeException) 
335                  throw (java.lang.RuntimeException) setParameterList2Exception; 
336              if (setParameterList2Exception instanceof java.lang.Error) 
337                  throw (java.lang.Error) setParameterList2Exception; 
338              throw new RuntimeException(); 
339          } 
340          return this.setParameterList2Return; 
341      } 
342   
343      public boolean setParameterList3Called; 
344      public net.sf.hibernate.Query setParameterList3Return; 
345      public Throwable setParameterList3Exception; 
346      public java.lang.String setParameterList3Name; 
347      public java.lang.Object[] setParameterList3Vals; 
348      public net.sf.hibernate.type.Type setParameterList3Type; 
349      public net.sf.hibernate.Query setParameterList(java.lang.String name, java.lang.Object[] vals, net.sf.hibernate.type.Type type) throws net.sf.hibernate.HibernateException { 
350          setParameterList3Called = true; 
351          this.setParameterList3Name = name; 
352          this.setParameterList3Vals = vals; 
353          this.setParameterList3Type = type; 
354          if (setParameterList3Exception != null) { 
355              if (setParameterList3Exception instanceof net.sf.hibernate.HibernateException) 
356                  throw (net.sf.hibernate.HibernateException) setParameterList3Exception; 
357              if (setParameterList3Exception instanceof java.lang.RuntimeException) 
358                  throw (java.lang.RuntimeException) setParameterList3Exception; 
359              if (setParameterList3Exception instanceof java.lang.Error) 
360                  throw (java.lang.Error) setParameterList3Exception; 
361              throw new RuntimeException(); 
362          } 
363          return this.setParameterList3Return; 
364      } 
365   
366      public boolean setParameterList4Called; 
367      public net.sf.hibernate.Query setParameterList4Return; 
368      public Throwable setParameterList4Exception; 
369      public java.lang.String setParameterList4Name; 
370      public java.lang.Object[] setParameterList4Vals; 
371      public net.sf.hibernate.Query setParameterList(java.lang.String name, java.lang.Object[] vals) throws net.sf.hibernate.HibernateException { 
372          setParameterList4Called = true; 
373          this.setParameterList4Name = name; 
374          this.setParameterList4Vals = vals; 
375          if (setParameterList4Exception != null) { 
376              if (setParameterList4Exception instanceof net.sf.hibernate.HibernateException) 
377                  throw (net.sf.hibernate.HibernateException) setParameterList4Exception; 
378              if (setParameterList4Exception instanceof java.lang.RuntimeException) 
379                  throw (java.lang.RuntimeException) setParameterList4Exception; 
380              if (setParameterList4Exception instanceof java.lang.Error) 
381                  throw (java.lang.Error) setParameterList4Exception; 
382              throw new RuntimeException(); 
383          } 
384          return this.setParameterList4Return; 
385      } 
386   
387      public boolean setPropertiesCalled; 
388      public net.sf.hibernate.Query setPropertiesReturn; 
389      public Throwable setPropertiesException; 
390      public java.lang.Object setPropertiesBean; 
391      public net.sf.hibernate.Query setProperties(java.lang.Object bean) throws net.sf.hibernate.HibernateException { 
392          setPropertiesCalled = true; 
393          this.setPropertiesBean = bean; 
394          if (setPropertiesException != null) { 
395              if (setPropertiesException instanceof net.sf.hibernate.HibernateException) 
396                  throw (net.sf.hibernate.HibernateException) setPropertiesException; 
397              if (setPropertiesException instanceof java.lang.RuntimeException) 
398                  throw (java.lang.RuntimeException) setPropertiesException; 
399              if (setPropertiesException instanceof java.lang.Error) 
400                  throw (java.lang.Error) setPropertiesException; 
401              throw new RuntimeException(); 
402          } 
403          return this.setPropertiesReturn; 
404      } 
405   
406      public boolean setStringCalled; 
407      public net.sf.hibernate.Query setStringReturn; 
408      public Throwable setStringException; 
409      public int setStringPosition; 
410      public java.lang.String setStringVal; 
411      public net.sf.hibernate.Query setString(int position, java.lang.String val) { 
412          setStringCalled = true; 
413          this.setStringPosition = position; 
414          this.setStringVal = val; 
415          if (setStringException != null) { 
416              if (setStringException instanceof java.lang.RuntimeException) 
417                  throw (java.lang.RuntimeException) setStringException; 
418              if (setStringException instanceof java.lang.Error) 
419                  throw (java.lang.Error) setStringException; 
420              throw new RuntimeException(); 
421          } 
422          return this.setStringReturn; 
423      } 
424   
425      public boolean setCharacterCalled; 
426      public net.sf.hibernate.Query setCharacterReturn; 
427      public Throwable setCharacterException; 
428      public int setCharacterPosition; 
429      public char setCharacterVal; 
430      public net.sf.hibernate.Query setCharacter(int position, char val) { 
431          setCharacterCalled = true; 
432          this.setCharacterPosition = position; 
433          this.setCharacterVal = val; 
434          if (setCharacterException != null) { 
435              if (setCharacterException instanceof java.lang.RuntimeException) 
436                  throw (java.lang.RuntimeException) setCharacterException; 
437              if (setCharacterException instanceof java.lang.Error) 
438                  throw (java.lang.Error) setCharacterException; 
439              throw new RuntimeException(); 
440          } 
441          return this.setCharacterReturn; 
442      } 
443   
444      public boolean setBooleanCalled; 
445      public net.sf.hibernate.Query setBooleanReturn; 
446      public Throwable setBooleanException; 
447      public int setBooleanPosition; 
448      public boolean setBooleanVal; 
449      public net.sf.hibernate.Query setBoolean(int position, boolean val) { 
450          setBooleanCalled = true; 
451          this.setBooleanPosition = position; 
452          this.setBooleanVal = val; 
453          if (setBooleanException != null) { 
454              if (setBooleanException instanceof java.lang.RuntimeException) 
455                  throw (java.lang.RuntimeException) setBooleanException; 
456              if (setBooleanException instanceof java.lang.Error) 
457                  throw (java.lang.Error) setBooleanException; 
458              throw new RuntimeException(); 
459          } 
460          return this.setBooleanReturn; 
461      } 
462   
463      public boolean setByteCalled; 
464      public net.sf.hibernate.Query setByteReturn; 
465      public Throwable setByteException; 
466      public int setBytePosition; 
467      public byte setByteVal; 
468      public net.sf.hibernate.Query setByte(int position, byte val) { 
469          setByteCalled = true; 
470          this.setBytePosition = position; 
471          this.setByteVal = val; 
472          if (setByteException != null) { 
473              if (setByteException instanceof java.lang.RuntimeException) 
474                  throw (java.lang.RuntimeException) setByteException; 
475              if (setByteException instanceof java.lang.Error) 
476                  throw (java.lang.Error) setByteException; 
477              throw new RuntimeException(); 
478          } 
479          return this.setByteReturn; 
480      } 
481   
482      public boolean setShortCalled; 
483      public net.sf.hibernate.Query setShortReturn; 
484      public Throwable setShortException; 
485      public int setShortPosition; 
486      public short setShortVal; 
487      public net.sf.hibernate.Query setShort(int position, short val) { 
488          setShortCalled = true; 
489          this.setShortPosition = position; 
490          this.setShortVal = val; 
491          if (setShortException != null) { 
492              if (setShortException instanceof java.lang.RuntimeException) 
493                  throw (java.lang.RuntimeException) setShortException; 
494              if (setShortException instanceof java.lang.Error) 
495                  throw (java.lang.Error) setShortException; 
496              throw new RuntimeException(); 
497          } 
498          return this.setShortReturn; 
499      } 
500   
501      public boolean setIntegerCalled; 
502      public net.sf.hibernate.Query setIntegerReturn; 
503      public Throwable setIntegerException; 
504      public int setIntegerPosition; 
505      public int setIntegerVal; 
506      public net.sf.hibernate.Query setInteger(int position, int val) { 
507          setIntegerCalled = true; 
508          this.setIntegerPosition = position; 
509          this.setIntegerVal = val; 
510          if (setIntegerException != null) { 
511              if (setIntegerException instanceof java.lang.RuntimeException) 
512                  throw (java.lang.RuntimeException) setIntegerException; 
513              if (setIntegerException instanceof java.lang.Error) 
514                  throw (java.lang.Error) setIntegerException; 
515              throw new RuntimeException(); 
516          } 
517          return this.setIntegerReturn; 
518      } 
519   
520      public boolean setLongCalled; 
521      public net.sf.hibernate.Query setLongReturn; 
522      public Throwable setLongException; 
523      public int setLongPosition; 
524      public long setLongVal; 
525      public net.sf.hibernate.Query setLong(int position, long val) { 
526          setLongCalled = true; 
527          this.setLongPosition = position; 
528          this.setLongVal = val; 
529          if (setLongException != null) { 
530              if (setLongException instanceof java.lang.RuntimeException) 
531                  throw (java.lang.RuntimeException) setLongException; 
532              if (setLongException instanceof java.lang.Error) 
533                  throw (java.lang.Error) setLongException; 
534              throw new RuntimeException(); 
535          } 
536          return this.setLongReturn; 
537      } 
538   
539      public boolean setFloatCalled; 
540      public net.sf.hibernate.Query setFloatReturn; 
541      public Throwable setFloatException; 
542      public int setFloatPosition; 
543      public float setFloatVal; 
544      public net.sf.hibernate.Query setFloat(int position, float val) { 
545          setFloatCalled = true; 
546          this.setFloatPosition = position; 
547          this.setFloatVal = val; 
548          if (setFloatException != null) { 
549              if (setFloatException instanceof java.lang.RuntimeException) 
550                  throw (java.lang.RuntimeException) setFloatException; 
551              if (setFloatException instanceof java.lang.Error) 
552                  throw (java.lang.Error) setFloatException; 
553              throw new RuntimeException(); 
554          } 
555          return this.setFloatReturn; 
556      } 
557   
558      public boolean setDoubleCalled; 
559      public net.sf.hibernate.Query setDoubleReturn; 
560      public Throwable setDoubleException; 
561      public int setDoublePosition; 
562      public double setDoubleVal; 
563      public net.sf.hibernate.Query setDouble(int position, double val) { 
564          setDoubleCalled = true; 
565          this.setDoublePosition = position; 
566          this.setDoubleVal = val; 
567          if (setDoubleException != null) { 
568              if (setDoubleException instanceof java.lang.RuntimeException) 
569                  throw (java.lang.RuntimeException) setDoubleException; 
570              if (setDoubleException instanceof java.lang.Error) 
571                  throw (java.lang.Error) setDoubleException; 
572              throw new RuntimeException(); 
573          } 
574          return this.setDoubleReturn; 
575      } 
576   
577      public boolean setBinaryCalled; 
578      public net.sf.hibernate.Query setBinaryReturn; 
579      public Throwable setBinaryException; 
580      public int setBinaryPosition; 
581      public byte[] setBinaryVal; 
582      public net.sf.hibernate.Query setBinary(int position, byte[] val) { 
583          setBinaryCalled = true; 
584          this.setBinaryPosition = position; 
585          this.setBinaryVal = val; 
586          if (setBinaryException != null) { 
587              if (setBinaryException instanceof java.lang.RuntimeException) 
588                  throw (java.lang.RuntimeException) setBinaryException; 
589              if (setBinaryException instanceof java.lang.Error) 
590                  throw (java.lang.Error) setBinaryException; 
591              throw new RuntimeException(); 
592          } 
593          return this.setBinaryReturn; 
594      } 
595   
596      public boolean setSerializableCalled; 
597      public net.sf.hibernate.Query setSerializableReturn; 
598      public Throwable setSerializableException; 
599      public int setSerializablePosition; 
600      public java.io.Serializable setSerializableVal; 
601      public net.sf.hibernate.Query setSerializable(int position, java.io.Serializable val) { 
602          setSerializableCalled = true; 
603          this.setSerializablePosition = position; 
604          this.setSerializableVal = val; 
605          if (setSerializableException != null) { 
606              if (setSerializableException instanceof java.lang.RuntimeException) 
607                  throw (java.lang.RuntimeException) setSerializableException; 
608              if (setSerializableException instanceof java.lang.Error) 
609                  throw (java.lang.Error) setSerializableException; 
610              throw new RuntimeException(); 
611          } 
612          return this.setSerializableReturn; 
613      } 
614   
615      public boolean setLocaleCalled; 
616      public net.sf.hibernate.Query setLocaleReturn; 
617      public Throwable setLocaleException; 
618      public int setLocalePosition; 
619      public java.util.Locale setLocaleLocale; 
620      public net.sf.hibernate.Query setLocale(int position, java.util.Locale locale) { 
621          setLocaleCalled = true; 
622          this.setLocalePosition = position; 
623          this.setLocaleLocale = locale; 
624          if (setLocaleException != null) { 
625              if (setLocaleException instanceof java.lang.RuntimeException) 
626                  throw (java.lang.RuntimeException) setLocaleException; 
627              if (setLocaleException instanceof java.lang.Error) 
628                  throw (java.lang.Error) setLocaleException; 
629              throw new RuntimeException(); 
630          } 
631          return this.setLocaleReturn; 
632      } 
633   
634      public boolean setBigDecimalCalled; 
635      public net.sf.hibernate.Query setBigDecimalReturn; 
636      public Throwable setBigDecimalException; 
637      public int setBigDecimalPosition; 
638      public java.math.BigDecimal setBigDecimalNumber; 
639      public net.sf.hibernate.Query setBigDecimal(int position, java.math.BigDecimal number) { 
640          setBigDecimalCalled = true; 
641          this.setBigDecimalPosition = position; 
642          this.setBigDecimalNumber = number; 
643          if (setBigDecimalException != null) { 
644              if (setBigDecimalException instanceof java.lang.RuntimeException) 
645                  throw (java.lang.RuntimeException) setBigDecimalException; 
646              if (setBigDecimalException instanceof java.lang.Error) 
647                  throw (java.lang.Error) setBigDecimalException; 
648              throw new RuntimeException(); 
649          } 
650          return this.setBigDecimalReturn; 
651      } 
652   
653      public boolean setDateCalled; 
654      public net.sf.hibernate.Query setDateReturn; 
655      public Throwable setDateException; 
656      public int setDatePosition; 
657      public java.util.Date setDateDate; 
658      public net.sf.hibernate.Query setDate(int position, java.util.Date date) { 
659          setDateCalled = true; 
660          this.setDatePosition = position; 
661          this.setDateDate = date; 
662          if (setDateException != null) { 
663              if (setDateException instanceof java.lang.RuntimeException) 
664                  throw (java.lang.RuntimeException) setDateException; 
665              if (setDateException instanceof java.lang.Error) 
666                  throw (java.lang.Error) setDateException; 
667              throw new RuntimeException(); 
668          } 
669          return this.setDateReturn; 
670      } 
671   
672      public boolean setTimeCalled; 
673      public net.sf.hibernate.Query setTimeReturn; 
674      public Throwable setTimeException; 
675      public int setTimePosition; 
676      public java.util.Date setTimeDate; 
677      public net.sf.hibernate.Query setTime(int position, java.util.Date date) { 
678          setTimeCalled = true; 
679          this.setTimePosition = position; 
680          this.setTimeDate = date; 
681          if (setTimeException != null) { 
682              if (setTimeException instanceof java.lang.RuntimeException) 
683                  throw (java.lang.RuntimeException) setTimeException; 
684              if (setTimeException instanceof java.lang.Error) 
685                  throw (java.lang.Error) setTimeException; 
686              throw new RuntimeException(); 
687          } 
688          return this.setTimeReturn; 
689      } 
690   
691      public boolean setTimestampCalled; 
692      public net.sf.hibernate.Query setTimestampReturn; 
693      public Throwable setTimestampException; 
694      public int setTimestampPosition; 
695      public java.util.Date setTimestampDate; 
696      public net.sf.hibernate.Query setTimestamp(int position, java.util.Date date) { 
697          setTimestampCalled = true; 
698          this.setTimestampPosition = position; 
699          this.setTimestampDate = date; 
700          if (setTimestampException != null) { 
701              if (setTimestampException instanceof java.lang.RuntimeException) 
702                  throw (java.lang.RuntimeException) setTimestampException; 
703              if (setTimestampException instanceof java.lang.Error) 
704                  throw (java.lang.Error) setTimestampException; 
705              throw new RuntimeException(); 
706          } 
707          return this.setTimestampReturn; 
708      } 
709   
710      public boolean setCalendarCalled; 
711      public net.sf.hibernate.Query setCalendarReturn; 
712      public Throwable setCalendarException; 
713      public int setCalendarPosition; 
714      public java.util.Calendar setCalendarCalendar; 
715      public net.sf.hibernate.Query setCalendar(int position, java.util.Calendar calendar) { 
716          setCalendarCalled = true; 
717          this.setCalendarPosition = position; 
718          this.setCalendarCalendar = calendar; 
719          if (setCalendarException != null) { 
720              if (setCalendarException instanceof java.lang.RuntimeException) 
721                  throw (java.lang.RuntimeException) setCalendarException; 
722              if (setCalendarException instanceof java.lang.Error) 
723                  throw (java.lang.Error) setCalendarException; 
724              throw new RuntimeException(); 
725          } 
726          return this.setCalendarReturn; 
727      } 
728   
729      public boolean setCalendarDateCalled; 
730      public net.sf.hibernate.Query setCalendarDateReturn; 
731      public Throwable setCalendarDateException; 
732      public int setCalendarDatePosition; 
733      public java.util.Calendar setCalendarDateCalendar; 
734      public net.sf.hibernate.Query setCalendarDate(int position, java.util.Calendar calendar) { 
735          setCalendarDateCalled = true; 
736          this.setCalendarDatePosition = position; 
737          this.setCalendarDateCalendar = calendar; 
738          if (setCalendarDateException != null) { 
739              if (setCalendarDateException instanceof java.lang.RuntimeException) 
740                  throw (java.lang.RuntimeException) setCalendarDateException; 
741              if (setCalendarDateException instanceof java.lang.Error) 
742                  throw (java.lang.Error) setCalendarDateException; 
743              throw new RuntimeException(); 
744          } 
745          return this.setCalendarDateReturn; 
746      } 
747   
748      public boolean setString2Called; 
749      public net.sf.hibernate.Query setString2Return; 
750      public Throwable setString2Exception; 
751      public java.lang.String setString2Name; 
752      public java.lang.String setString2Val; 
753      public net.sf.hibernate.Query setString(java.lang.String name, java.lang.String val) { 
754          setString2Called = true; 
755          this.setString2Name = name; 
756          this.setString2Val = val; 
757          if (setString2Exception != null) { 
758              if (setString2Exception instanceof java.lang.RuntimeException) 
759                  throw (java.lang.RuntimeException) setString2Exception; 
760              if (setString2Exception instanceof java.lang.Error) 
761                  throw (java.lang.Error) setString2Exception; 
762              throw new RuntimeException(); 
763          } 
764          return this.setString2Return; 
765      } 
766   
767      public boolean setCharacter2Called; 
768      public net.sf.hibernate.Query setCharacter2Return; 
769      public Throwable setCharacter2Exception; 
770      public java.lang.String setCharacter2Name; 
771      public char setCharacter2Val; 
772      public net.sf.hibernate.Query setCharacter(java.lang.String name, char val) { 
773          setCharacter2Called = true; 
774          this.setCharacter2Name = name; 
775          this.setCharacter2Val = val; 
776          if (setCharacter2Exception != null) { 
777              if (setCharacter2Exception instanceof java.lang.RuntimeException) 
778                  throw (java.lang.RuntimeException) setCharacter2Exception; 
779              if (setCharacter2Exception instanceof java.lang.Error) 
780                  throw (java.lang.Error) setCharacter2Exception; 
781              throw new RuntimeException(); 
782          } 
783          return this.setCharacter2Return; 
784      } 
785   
786      public boolean setBoolean2Called; 
787      public net.sf.hibernate.Query setBoolean2Return; 
788      public Throwable setBoolean2Exception; 
789      public java.lang.String setBoolean2Name; 
790      public boolean setBoolean2Val; 
791      public net.sf.hibernate.Query setBoolean(java.lang.String name, boolean val) { 
792          setBoolean2Called = true; 
793          this.setBoolean2Name = name; 
794          this.setBoolean2Val = val; 
795          if (setBoolean2Exception != null) { 
796              if (setBoolean2Exception instanceof java.lang.RuntimeException) 
797                  throw (java.lang.RuntimeException) setBoolean2Exception; 
798              if (setBoolean2Exception instanceof java.lang.Error) 
799                  throw (java.lang.Error) setBoolean2Exception; 
800              throw new RuntimeException(); 
801          } 
802          return this.setBoolean2Return; 
803      } 
804   
805      public boolean setByte2Called; 
806      public net.sf.hibernate.Query setByte2Return; 
807      public Throwable setByte2Exception; 
808      public java.lang.String setByte2Name; 
809      public byte setByte2Val; 
810      public net.sf.hibernate.Query setByte(java.lang.String name, byte val) { 
811          setByte2Called = true; 
812          this.setByte2Name = name; 
813          this.setByte2Val = val; 
814          if (setByte2Exception != null) { 
815              if (setByte2Exception instanceof java.lang.RuntimeException) 
816                  throw (java.lang.RuntimeException) setByte2Exception; 
817              if (setByte2Exception instanceof java.lang.Error) 
818                  throw (java.lang.Error) setByte2Exception; 
819              throw new RuntimeException(); 
820          } 
821          return this.setByte2Return; 
822      } 
823   
824      public boolean setShort2Called; 
825      public net.sf.hibernate.Query setShort2Return; 
826      public Throwable setShort2Exception; 
827      public java.lang.String setShort2Name; 
828      public short setShort2Val; 
829      public net.sf.hibernate.Query setShort(java.lang.String name, short val) { 
830          setShort2Called = true; 
831          this.setShort2Name = name; 
832          this.setShort2Val = val; 
833          if (setShort2Exception != null) { 
834              if (setShort2Exception instanceof java.lang.RuntimeException) 
835                  throw (java.lang.RuntimeException) setShort2Exception; 
836              if (setShort2Exception instanceof java.lang.Error) 
837                  throw (java.lang.Error) setShort2Exception; 
838              throw new RuntimeException(); 
839          } 
840          return this.setShort2Return; 
841      } 
842   
843      public boolean setInteger2Called; 
844      public net.sf.hibernate.Query setInteger2Return; 
845      public Throwable setInteger2Exception; 
846      public java.lang.String setInteger2Name; 
847      public int setInteger2Val; 
848      public net.sf.hibernate.Query setInteger(java.lang.String name, int val) { 
849          setInteger2Called = true; 
850          this.setInteger2Name = name; 
851          this.setInteger2Val = val; 
852          if (setInteger2Exception != null) { 
853              if (setInteger2Exception instanceof java.lang.RuntimeException) 
854                  throw (java.lang.RuntimeException) setInteger2Exception; 
855              if (setInteger2Exception instanceof java.lang.Error) 
856                  throw (java.lang.Error) setInteger2Exception; 
857              throw new RuntimeException(); 
858          } 
859          return this.setInteger2Return; 
860      } 
861   
862      public boolean setLong2Called; 
863      public net.sf.hibernate.Query setLong2Return; 
864      public Throwable setLong2Exception; 
865      public java.lang.String setLong2Name; 
866      public long setLong2Val; 
867      public net.sf.hibernate.Query setLong(java.lang.String name, long val) { 
868          setLong2Called = true; 
869          this.setLong2Name = name; 
870          this.setLong2Val = val; 
871          if (setLong2Exception != null) { 
872              if (setLong2Exception instanceof java.lang.RuntimeException) 
873                  throw (java.lang.RuntimeException) setLong2Exception; 
874              if (setLong2Exception instanceof java.lang.Error) 
875                  throw (java.lang.Error) setLong2Exception; 
876              throw new RuntimeException(); 
877          } 
878          return this.setLong2Return; 
879      } 
880   
881      public boolean setFloat2Called; 
882      public net.sf.hibernate.Query setFloat2Return; 
883      public Throwable setFloat2Exception; 
884      public java.lang.String setFloat2Name; 
885      public float setFloat2Val; 
886      public net.sf.hibernate.Query setFloat(java.lang.String name, float val) { 
887          setFloat2Called = true; 
888          this.setFloat2Name = name; 
889          this.setFloat2Val = val; 
890          if (setFloat2Exception != null) { 
891              if (setFloat2Exception instanceof java.lang.RuntimeException) 
892                  throw (java.lang.RuntimeException) setFloat2Exception; 
893              if (setFloat2Exception instanceof java.lang.Error) 
894                  throw (java.lang.Error) setFloat2Exception; 
895              throw new RuntimeException(); 
896          } 
897          return this.setFloat2Return; 
898      } 
899   
900      public boolean setDouble2Called; 
901      public net.sf.hibernate.Query setDouble2Return; 
902      public Throwable setDouble2Exception; 
903      public java.lang.String setDouble2Name; 
904      public double setDouble2Val; 
905      public net.sf.hibernate.Query setDouble(java.lang.String name, double val) { 
906          setDouble2Called = true; 
907          this.setDouble2Name = name; 
908          this.setDouble2Val = val; 
909          if (setDouble2Exception != null) { 
910              if (setDouble2Exception instanceof java.lang.RuntimeException) 
911                  throw (java.lang.RuntimeException) setDouble2Exception; 
912              if (setDouble2Exception instanceof java.lang.Error) 
913                  throw (java.lang.Error) setDouble2Exception; 
914              throw new RuntimeException(); 
915          } 
916          return this.setDouble2Return; 
917      } 
918   
919      public boolean setBinary2Called; 
920      public net.sf.hibernate.Query setBinary2Return; 
921      public Throwable setBinary2Exception; 
922      public java.lang.String setBinary2Name; 
923      public byte[] setBinary2Val; 
924      public net.sf.hibernate.Query setBinary(java.lang.String name, byte[] val) { 
925          setBinary2Called = true; 
926          this.setBinary2Name = name; 
927          this.setBinary2Val = val; 
928          if (setBinary2Exception != null) { 
929              if (setBinary2Exception instanceof java.lang.RuntimeException) 
930                  throw (java.lang.RuntimeException) setBinary2Exception; 
931              if (setBinary2Exception instanceof java.lang.Error) 
932                  throw (java.lang.Error) setBinary2Exception; 
933              throw new RuntimeException(); 
934          } 
935          return this.setBinary2Return; 
936      } 
937   
938      public boolean setSerializable2Called; 
939      public net.sf.hibernate.Query setSerializable2Return; 
940      public Throwable setSerializable2Exception; 
941      public java.lang.String setSerializable2Name; 
942      public java.io.Serializable setSerializable2Val; 
943      public net.sf.hibernate.Query setSerializable(java.lang.String name, java.io.Serializable val) { 
944          setSerializable2Called = true; 
945          this.setSerializable2Name = name; 
946          this.setSerializable2Val = val; 
947          if (setSerializable2Exception != null) { 
948              if (setSerializable2Exception instanceof java.lang.RuntimeException) 
949                  throw (java.lang.RuntimeException) setSerializable2Exception; 
950              if (setSerializable2Exception instanceof java.lang.Error) 
951                  throw (java.lang.Error) setSerializable2Exception; 
952              throw new RuntimeException(); 
953          } 
954          return this.setSerializable2Return; 
955      } 
956   
957      public boolean setLocale2Called; 
958      public net.sf.hibernate.Query setLocale2Return; 
959      public Throwable setLocale2Exception; 
960      public java.lang.String setLocale2Name; 
961      public java.util.Locale setLocale2Locale; 
962      public net.sf.hibernate.Query setLocale(java.lang.String name, java.util.Locale locale) { 
963          setLocale2Called = true; 
964          this.setLocale2Name = name; 
965          this.setLocale2Locale = locale; 
966          if (setLocale2Exception != null) { 
967              if (setLocale2Exception instanceof java.lang.RuntimeException) 
968                  throw (java.lang.RuntimeException) setLocale2Exception; 
969              if (setLocale2Exception instanceof java.lang.Error) 
970                  throw (java.lang.Error) setLocale2Exception; 
971              throw new RuntimeException(); 
972          } 
973          return this.setLocale2Return; 
974      } 
975   
976      public boolean setBigDecimal2Called; 
977      public net.sf.hibernate.Query setBigDecimal2Return; 
978      public Throwable setBigDecimal2Exception; 
979      public java.lang.String setBigDecimal2Name; 
980      public java.math.BigDecimal setBigDecimal2Number; 
981      public net.sf.hibernate.Query setBigDecimal(java.lang.String name, java.math.BigDecimal number) { 
982          setBigDecimal2Called = true; 
983          this.setBigDecimal2Name = name; 
984          this.setBigDecimal2Number = number; 
985          if (setBigDecimal2Exception != null) { 
986              if (setBigDecimal2Exception instanceof java.lang.RuntimeException) 
987                  throw (java.lang.RuntimeException) setBigDecimal2Exception; 
988              if (setBigDecimal2Exception instanceof java.lang.Error) 
989                  throw (java.lang.Error) setBigDecimal2Exception; 
990              throw new RuntimeException(); 
991          } 
992          return this.setBigDecimal2Return; 
993      } 
994   
995      public boolean setDate2Called; 
996      public net.sf.hibernate.Query setDate2Return; 
997      public Throwable setDate2Exception; 
998      public java.lang.String setDate2Name; 
999      public java.util.Date setDate2Date; 
1000     public net.sf.hibernate.Query setDate(java.lang.String name, java.util.Date date) { 
1001         setDate2Called = true; 
1002         this.setDate2Name = name; 
1003         this.setDate2Date = date; 
1004         if (setDate2Exception != null) { 
1005             if (setDate2Exception instanceof java.lang.RuntimeException) 
1006                 throw (java.lang.RuntimeException) setDate2Exception; 
1007             if (setDate2Exception instanceof java.lang.Error) 
1008                 throw (java.lang.Error) setDate2Exception; 
1009             throw new RuntimeException(); 
1010         } 
1011         return this.setDate2Return; 
1012     } 
1013  
1014     public boolean setTime2Called; 
1015     public net.sf.hibernate.Query setTime2Return; 
1016     public Throwable setTime2Exception; 
1017     public java.lang.String setTime2Name; 
1018     public java.util.Date setTime2Date; 
1019     public net.sf.hibernate.Query setTime(java.lang.String name, java.util.Date date) { 
1020         setTime2Called = true; 
1021         this.setTime2Name = name; 
1022         this.setTime2Date = date; 
1023         if (setTime2Exception != null) { 
1024             if (setTime2Exception instanceof java.lang.RuntimeException) 
1025                 throw (java.lang.RuntimeException) setTime2Exception; 
1026             if (setTime2Exception instanceof java.lang.Error) 
1027                 throw (java.lang.Error) setTime2Exception; 
1028             throw new RuntimeException(); 
1029         } 
1030         return this.setTime2Return; 
1031     } 
1032  
1033     public boolean setTimestamp2Called; 
1034     public net.sf.hibernate.Query setTimestamp2Return; 
1035     public Throwable setTimestamp2Exception; 
1036     public java.lang.String setTimestamp2Name; 
1037     public java.util.Date setTimestamp2Date; 
1038     public net.sf.hibernate.Query setTimestamp(java.lang.String name, java.util.Date date) { 
1039         setTimestamp2Called = true; 
1040         this.setTimestamp2Name = name; 
1041         this.setTimestamp2Date = date; 
1042         if (setTimestamp2Exception != null) { 
1043             if (setTimestamp2Exception instanceof java.lang.RuntimeException) 
1044                 throw (java.lang.RuntimeException) setTimestamp2Exception; 
1045             if (setTimestamp2Exception instanceof java.lang.Error) 
1046                 throw (java.lang.Error) setTimestamp2Exception; 
1047             throw new RuntimeException(); 
1048         } 
1049         return this.setTimestamp2Return; 
1050     } 
1051  
1052     public boolean setCalendar2Called; 
1053     public net.sf.hibernate.Query setCalendar2Return; 
1054     public Throwable setCalendar2Exception; 
1055     public java.lang.String setCalendar2Name; 
1056     public java.util.Calendar setCalendar2Calendar; 
1057     public net.sf.hibernate.Query setCalendar(java.lang.String name, java.util.Calendar calendar) { 
1058         setCalendar2Called = true; 
1059         this.setCalendar2Name = name; 
1060         this.setCalendar2Calendar = calendar; 
1061         if (setCalendar2Exception != null) { 
1062             if (setCalendar2Exception instanceof java.lang.RuntimeException) 
1063                 throw (java.lang.RuntimeException) setCalendar2Exception; 
1064             if (setCalendar2Exception instanceof java.lang.Error) 
1065                 throw (java.lang.Error) setCalendar2Exception; 
1066             throw new RuntimeException(); 
1067         } 
1068         return this.setCalendar2Return; 
1069     } 
1070  
1071     public boolean setCalendarDate2Called; 
1072     public net.sf.hibernate.Query setCalendarDate2Return; 
1073     public Throwable setCalendarDate2Exception; 
1074     public java.lang.String setCalendarDate2Name; 
1075     public java.util.Calendar setCalendarDate2Calendar; 
1076     public net.sf.hibernate.Query setCalendarDate(java.lang.String name, java.util.Calendar calendar) { 
1077         setCalendarDate2Called = true; 
1078         this.setCalendarDate2Name = name; 
1079         this.setCalendarDate2Calendar = calendar; 
1080         if (setCalendarDate2Exception != null) { 
1081             if (setCalendarDate2Exception instanceof java.lang.RuntimeException) 
1082                 throw (java.lang.RuntimeException) setCalendarDate2Exception; 
1083             if (setCalendarDate2Exception instanceof java.lang.Error) 
1084                 throw (java.lang.Error) setCalendarDate2Exception; 
1085             throw new RuntimeException(); 
1086         } 
1087         return this.setCalendarDate2Return; 
1088     } 
1089  
1090     public boolean setEntityCalled; 
1091     public net.sf.hibernate.Query setEntityReturn; 
1092     public Throwable setEntityException; 
1093     public int setEntityPosition; 
1094     public java.lang.Object setEntityVal; 
1095     public net.sf.hibernate.Query setEntity(int position, java.lang.Object val) { 
1096         setEntityCalled = true; 
1097         this.setEntityPosition = position; 
1098         this.setEntityVal = val; 
1099         if (setEntityException != null) { 
1100             if (setEntityException instanceof java.lang.RuntimeException) 
1101                 throw (java.lang.RuntimeException) setEntityException; 
1102             if (setEntityException instanceof java.lang.Error) 
1103                 throw (java.lang.Error) setEntityException; 
1104             throw new RuntimeException(); 
1105         } 
1106         return this.setEntityReturn; 
1107     } 
1108  
1109     public boolean setEnumCalled; 
1110     public net.sf.hibernate.Query setEnumReturn; 
1111     public Throwable setEnumException; 
1112     public int setEnumPosition; 
1113     public java.lang.Object setEnumVal; 
1114     public net.sf.hibernate.Query setEnum(int position, java.lang.Object val) throws net.sf.hibernate.MappingException { 
1115         setEnumCalled = true; 
1116         this.setEnumPosition = position; 
1117         this.setEnumVal = val; 
1118         if (setEnumException != null) { 
1119             if (setEnumException instanceof net.sf.hibernate.MappingException) 
1120                 throw (net.sf.hibernate.MappingException) setEnumException; 
1121             if (setEnumException instanceof java.lang.RuntimeException) 
1122                 throw (java.lang.RuntimeException) setEnumException; 
1123             if (setEnumException instanceof java.lang.Error) 
1124                 throw (java.lang.Error) setEnumException; 
1125             throw new RuntimeException(); 
1126         } 
1127         return this.setEnumReturn; 
1128     } 
1129  
1130     public boolean setEntity2Called; 
1131     public net.sf.hibernate.Query setEntity2Return; 
1132     public Throwable setEntity2Exception; 
1133     public java.lang.String setEntity2Name; 
1134     public java.lang.Object setEntity2Val; 
1135     public net.sf.hibernate.Query setEntity(java.lang.String name, java.lang.Object val) { 
1136         setEntity2Called = true; 
1137         this.setEntity2Name = name; 
1138         this.setEntity2Val = val; 
1139         if (setEntity2Exception != null) { 
1140             if (setEntity2Exception instanceof java.lang.RuntimeException) 
1141                 throw (java.lang.RuntimeException) setEntity2Exception; 
1142             if (setEntity2Exception instanceof java.lang.Error) 
1143                 throw (java.lang.Error) setEntity2Exception; 
1144             throw new RuntimeException(); 
1145         } 
1146         return this.setEntity2Return; 
1147     } 
1148  
1149     public boolean setEnum2Called; 
1150     public net.sf.hibernate.Query setEnum2Return; 
1151     public Throwable setEnum2Exception; 
1152     public java.lang.String setEnum2Name; 
1153     public java.lang.Object setEnum2Val; 
1154     public net.sf.hibernate.Query setEnum(java.lang.String name, java.lang.Object val) throws net.sf.hibernate.MappingException { 
1155         setEnum2Called = true; 
1156         this.setEnum2Name = name; 
1157         this.setEnum2Val = val; 
1158         if (setEnum2Exception != null) { 
1159             if (setEnum2Exception instanceof net.sf.hibernate.MappingException) 
1160                 throw (net.sf.hibernate.MappingException) setEnum2Exception; 
1161             if (setEnum2Exception instanceof java.lang.RuntimeException) 
1162                 throw (java.lang.RuntimeException) setEnum2Exception; 
1163             if (setEnum2Exception instanceof java.lang.Error) 
1164                 throw (java.lang.Error) setEnum2Exception; 
1165             throw new RuntimeException(); 
1166         } 
1167         return this.setEnum2Return; 
1168     } 
1169  
1170 }