/home/mario/oci/jnb/dataaccess/source/test/java/com/ociweb/service/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 com.ociweb.service; 
44    
45   public class MockQuery extends MockCommonQuery implements Query { 
46    
47       public boolean setParameterCalled; 
48       public com.ociweb.service.Query setParameterReturn; 
49       public Throwable setParameterException; 
50       public int setParameterI; 
51       public java.lang.Object setParameterO; 
52       public com.ociweb.service.Query setParameter(int i, java.lang.Object o) throws com.ociweb.service.LookupException { 
53           setParameterCalled = true; 
54           this.setParameterI = i; 
55           this.setParameterO = o; 
56           if (setParameterException != null) { 
57               if (setParameterException instanceof com.ociweb.service.LookupException) 
58                   throw (com.ociweb.service.LookupException) setParameterException; 
59               if (setParameterException instanceof java.lang.RuntimeException) 
60                   throw (java.lang.RuntimeException) setParameterException; 
61               if (setParameterException instanceof java.lang.Error) 
62                   throw (java.lang.Error) setParameterException; 
63               throw new RuntimeException(); 
64           } 
65           return this.setParameterReturn; 
66       } 
67    
68       public boolean setParameter2Called; 
69       public com.ociweb.service.Query setParameter2Return; 
70       public Throwable setParameter2Exception; 
71       public java.lang.String setParameter2S; 
72       public java.lang.Object setParameter2O; 
73       public com.ociweb.service.Query setParameter(java.lang.String s, java.lang.Object o) throws com.ociweb.service.LookupException { 
74           setParameter2Called = true; 
75           this.setParameter2S = s; 
76           this.setParameter2O = o; 
77           if (setParameter2Exception != null) { 
78               if (setParameter2Exception instanceof com.ociweb.service.LookupException) 
79                   throw (com.ociweb.service.LookupException) setParameter2Exception; 
80               if (setParameter2Exception instanceof java.lang.RuntimeException) 
81                   throw (java.lang.RuntimeException) setParameter2Exception; 
82               if (setParameter2Exception instanceof java.lang.Error) 
83                   throw (java.lang.Error) setParameter2Exception; 
84               throw new RuntimeException(); 
85           } 
86           return this.setParameter2Return; 
87       } 
88    
89       public boolean setParameterListCalled; 
90       public com.ociweb.service.Query setParameterListReturn; 
91       public Throwable setParameterListException; 
92       public java.lang.String setParameterListS; 
93       public java.util.Collection setParameterListCollection; 
94       public com.ociweb.service.Query setParameterList(java.lang.String s, java.util.Collection collection) throws com.ociweb.service.LookupException { 
95           setParameterListCalled = true; 
96           this.setParameterListS = s; 
97           this.setParameterListCollection = collection; 
98           if (setParameterListException != null) { 
99               if (setParameterListException instanceof com.ociweb.service.LookupException) 
100                  throw (com.ociweb.service.LookupException) setParameterListException; 
101              if (setParameterListException instanceof java.lang.RuntimeException) 
102                  throw (java.lang.RuntimeException) setParameterListException; 
103              if (setParameterListException instanceof java.lang.Error) 
104                  throw (java.lang.Error) setParameterListException; 
105              throw new RuntimeException(); 
106          } 
107          return this.setParameterListReturn; 
108      } 
109   
110      public boolean setParameterList2Called; 
111      public com.ociweb.service.Query setParameterList2Return; 
112      public Throwable setParameterList2Exception; 
113      public java.lang.String setParameterList2S; 
114      public java.lang.Object[] setParameterList2Objects; 
115      public com.ociweb.service.Query setParameterList(java.lang.String s, java.lang.Object[] objects) throws com.ociweb.service.LookupException { 
116          setParameterList2Called = true; 
117          this.setParameterList2S = s; 
118          this.setParameterList2Objects = objects; 
119          if (setParameterList2Exception != null) { 
120              if (setParameterList2Exception instanceof com.ociweb.service.LookupException) 
121                  throw (com.ociweb.service.LookupException) setParameterList2Exception; 
122              if (setParameterList2Exception instanceof java.lang.RuntimeException) 
123                  throw (java.lang.RuntimeException) setParameterList2Exception; 
124              if (setParameterList2Exception instanceof java.lang.Error) 
125                  throw (java.lang.Error) setParameterList2Exception; 
126              throw new RuntimeException(); 
127          } 
128          return this.setParameterList2Return; 
129      } 
130   
131      public boolean setPropertiesCalled; 
132      public com.ociweb.service.Query setPropertiesReturn; 
133      public Throwable setPropertiesException; 
134      public java.lang.Object setPropertiesO; 
135      public com.ociweb.service.Query setProperties(java.lang.Object o) throws com.ociweb.service.LookupException { 
136          setPropertiesCalled = true; 
137          this.setPropertiesO = o; 
138          if (setPropertiesException != null) { 
139              if (setPropertiesException instanceof com.ociweb.service.LookupException) 
140                  throw (com.ociweb.service.LookupException) setPropertiesException; 
141              if (setPropertiesException instanceof java.lang.RuntimeException) 
142                  throw (java.lang.RuntimeException) setPropertiesException; 
143              if (setPropertiesException instanceof java.lang.Error) 
144                  throw (java.lang.Error) setPropertiesException; 
145              throw new RuntimeException(); 
146          } 
147          return this.setPropertiesReturn; 
148      } 
149   
150      public boolean setStringCalled; 
151      public com.ociweb.service.Query setStringReturn; 
152      public Throwable setStringException; 
153      public int setStringI; 
154      public java.lang.String setStringS; 
155      public com.ociweb.service.Query setString(int i, java.lang.String s) { 
156          setStringCalled = true; 
157          this.setStringI = i; 
158          this.setStringS = s; 
159          if (setStringException != null) { 
160              if (setStringException instanceof java.lang.RuntimeException) 
161                  throw (java.lang.RuntimeException) setStringException; 
162              if (setStringException instanceof java.lang.Error) 
163                  throw (java.lang.Error) setStringException; 
164              throw new RuntimeException(); 
165          } 
166          return this.setStringReturn; 
167      } 
168   
169      public boolean setCharacterCalled; 
170      public com.ociweb.service.Query setCharacterReturn; 
171      public Throwable setCharacterException; 
172      public int setCharacterI; 
173      public char setCharacterC; 
174      public com.ociweb.service.Query setCharacter(int i, char c) { 
175          setCharacterCalled = true; 
176          this.setCharacterI = i; 
177          this.setCharacterC = c; 
178          if (setCharacterException != null) { 
179              if (setCharacterException instanceof java.lang.RuntimeException) 
180                  throw (java.lang.RuntimeException) setCharacterException; 
181              if (setCharacterException instanceof java.lang.Error) 
182                  throw (java.lang.Error) setCharacterException; 
183              throw new RuntimeException(); 
184          } 
185          return this.setCharacterReturn; 
186      } 
187   
188      public boolean setBooleanCalled; 
189      public com.ociweb.service.Query setBooleanReturn; 
190      public Throwable setBooleanException; 
191      public int setBooleanI; 
192      public boolean setBooleanB; 
193      public com.ociweb.service.Query setBoolean(int i, boolean b) { 
194          setBooleanCalled = true; 
195          this.setBooleanI = i; 
196          this.setBooleanB = b; 
197          if (setBooleanException != null) { 
198              if (setBooleanException instanceof java.lang.RuntimeException) 
199                  throw (java.lang.RuntimeException) setBooleanException; 
200              if (setBooleanException instanceof java.lang.Error) 
201                  throw (java.lang.Error) setBooleanException; 
202              throw new RuntimeException(); 
203          } 
204          return this.setBooleanReturn; 
205      } 
206   
207      public boolean setByteCalled; 
208      public com.ociweb.service.Query setByteReturn; 
209      public Throwable setByteException; 
210      public int setByteI; 
211      public byte setByteB; 
212      public com.ociweb.service.Query setByte(int i, byte b) { 
213          setByteCalled = true; 
214          this.setByteI = i; 
215          this.setByteB = b; 
216          if (setByteException != null) { 
217              if (setByteException instanceof java.lang.RuntimeException) 
218                  throw (java.lang.RuntimeException) setByteException; 
219              if (setByteException instanceof java.lang.Error) 
220                  throw (java.lang.Error) setByteException; 
221              throw new RuntimeException(); 
222          } 
223          return this.setByteReturn; 
224      } 
225   
226      public boolean setShortCalled; 
227      public com.ociweb.service.Query setShortReturn; 
228      public Throwable setShortException; 
229      public int setShortI; 
230      public short setShortI1; 
231      public com.ociweb.service.Query setShort(int i, short i1) { 
232          setShortCalled = true; 
233          this.setShortI = i; 
234          this.setShortI1 = i1; 
235          if (setShortException != null) { 
236              if (setShortException instanceof java.lang.RuntimeException) 
237                  throw (java.lang.RuntimeException) setShortException; 
238              if (setShortException instanceof java.lang.Error) 
239                  throw (java.lang.Error) setShortException; 
240              throw new RuntimeException(); 
241          } 
242          return this.setShortReturn; 
243      } 
244   
245      public boolean setIntegerCalled; 
246      public com.ociweb.service.Query setIntegerReturn; 
247      public Throwable setIntegerException; 
248      public int setIntegerI; 
249      public int setIntegerI1; 
250      public com.ociweb.service.Query setInteger(int i, int i1) { 
251          setIntegerCalled = true; 
252          this.setIntegerI = i; 
253          this.setIntegerI1 = i1; 
254          if (setIntegerException != null) { 
255              if (setIntegerException instanceof java.lang.RuntimeException) 
256                  throw (java.lang.RuntimeException) setIntegerException; 
257              if (setIntegerException instanceof java.lang.Error) 
258                  throw (java.lang.Error) setIntegerException; 
259              throw new RuntimeException(); 
260          } 
261          return this.setIntegerReturn; 
262      } 
263   
264      public boolean setLongCalled; 
265      public com.ociweb.service.Query setLongReturn; 
266      public Throwable setLongException; 
267      public int setLongI; 
268      public long setLongL; 
269      public com.ociweb.service.Query setLong(int i, long l) { 
270          setLongCalled = true; 
271          this.setLongI = i; 
272          this.setLongL = l; 
273          if (setLongException != null) { 
274              if (setLongException instanceof java.lang.RuntimeException) 
275                  throw (java.lang.RuntimeException) setLongException; 
276              if (setLongException instanceof java.lang.Error) 
277                  throw (java.lang.Error) setLongException; 
278              throw new RuntimeException(); 
279          } 
280          return this.setLongReturn; 
281      } 
282   
283      public boolean setFloatCalled; 
284      public com.ociweb.service.Query setFloatReturn; 
285      public Throwable setFloatException; 
286      public int setFloatI; 
287      public float setFloatV; 
288      public com.ociweb.service.Query setFloat(int i, float v) { 
289          setFloatCalled = true; 
290          this.setFloatI = i; 
291          this.setFloatV = v; 
292          if (setFloatException != null) { 
293              if (setFloatException instanceof java.lang.RuntimeException) 
294                  throw (java.lang.RuntimeException) setFloatException; 
295              if (setFloatException instanceof java.lang.Error) 
296                  throw (java.lang.Error) setFloatException; 
297              throw new RuntimeException(); 
298          } 
299          return this.setFloatReturn; 
300      } 
301   
302      public boolean setDoubleCalled; 
303      public com.ociweb.service.Query setDoubleReturn; 
304      public Throwable setDoubleException; 
305      public int setDoubleI; 
306      public double setDoubleV; 
307      public com.ociweb.service.Query setDouble(int i, double v) { 
308          setDoubleCalled = true; 
309          this.setDoubleI = i; 
310          this.setDoubleV = v; 
311          if (setDoubleException != null) { 
312              if (setDoubleException instanceof java.lang.RuntimeException) 
313                  throw (java.lang.RuntimeException) setDoubleException; 
314              if (setDoubleException instanceof java.lang.Error) 
315                  throw (java.lang.Error) setDoubleException; 
316              throw new RuntimeException(); 
317          } 
318          return this.setDoubleReturn; 
319      } 
320   
321      public boolean setBinaryCalled; 
322      public com.ociweb.service.Query setBinaryReturn; 
323      public Throwable setBinaryException; 
324      public int setBinaryI; 
325      public byte[] setBinaryBytes; 
326      public com.ociweb.service.Query setBinary(int i, byte[] bytes) { 
327          setBinaryCalled = true; 
328          this.setBinaryI = i; 
329          this.setBinaryBytes = bytes; 
330          if (setBinaryException != null) { 
331              if (setBinaryException instanceof java.lang.RuntimeException) 
332                  throw (java.lang.RuntimeException) setBinaryException; 
333              if (setBinaryException instanceof java.lang.Error) 
334                  throw (java.lang.Error) setBinaryException; 
335              throw new RuntimeException(); 
336          } 
337          return this.setBinaryReturn; 
338      } 
339   
340      public boolean setSerializableCalled; 
341      public com.ociweb.service.Query setSerializableReturn; 
342      public Throwable setSerializableException; 
343      public int setSerializableI; 
344      public java.io.Serializable setSerializableSerializable; 
345      public com.ociweb.service.Query setSerializable(int i, java.io.Serializable serializable) { 
346          setSerializableCalled = true; 
347          this.setSerializableI = i; 
348          this.setSerializableSerializable = serializable; 
349          if (setSerializableException != null) { 
350              if (setSerializableException instanceof java.lang.RuntimeException) 
351                  throw (java.lang.RuntimeException) setSerializableException; 
352              if (setSerializableException instanceof java.lang.Error) 
353                  throw (java.lang.Error) setSerializableException; 
354              throw new RuntimeException(); 
355          } 
356          return this.setSerializableReturn; 
357      } 
358   
359      public boolean setLocaleCalled; 
360      public com.ociweb.service.Query setLocaleReturn; 
361      public Throwable setLocaleException; 
362      public int setLocaleI; 
363      public java.util.Locale setLocaleLocale; 
364      public com.ociweb.service.Query setLocale(int i, java.util.Locale locale) { 
365          setLocaleCalled = true; 
366          this.setLocaleI = i; 
367          this.setLocaleLocale = locale; 
368          if (setLocaleException != null) { 
369              if (setLocaleException instanceof java.lang.RuntimeException) 
370                  throw (java.lang.RuntimeException) setLocaleException; 
371              if (setLocaleException instanceof java.lang.Error) 
372                  throw (java.lang.Error) setLocaleException; 
373              throw new RuntimeException(); 
374          } 
375          return this.setLocaleReturn; 
376      } 
377   
378      public boolean setBigDecimalCalled; 
379      public com.ociweb.service.Query setBigDecimalReturn; 
380      public Throwable setBigDecimalException; 
381      public int setBigDecimalI; 
382      public java.math.BigDecimal setBigDecimalBigDecimal; 
383      public com.ociweb.service.Query setBigDecimal(int i, java.math.BigDecimal bigDecimal) { 
384          setBigDecimalCalled = true; 
385          this.setBigDecimalI = i; 
386          this.setBigDecimalBigDecimal = bigDecimal; 
387          if (setBigDecimalException != null) { 
388              if (setBigDecimalException instanceof java.lang.RuntimeException) 
389                  throw (java.lang.RuntimeException) setBigDecimalException; 
390              if (setBigDecimalException instanceof java.lang.Error) 
391                  throw (java.lang.Error) setBigDecimalException; 
392              throw new RuntimeException(); 
393          } 
394          return this.setBigDecimalReturn; 
395      } 
396   
397      public boolean setDateCalled; 
398      public com.ociweb.service.Query setDateReturn; 
399      public Throwable setDateException; 
400      public int setDateI; 
401      public java.util.Date setDateDate; 
402      public com.ociweb.service.Query setDate(int i, java.util.Date date) { 
403          setDateCalled = true; 
404          this.setDateI = i; 
405          this.setDateDate = date; 
406          if (setDateException != null) { 
407              if (setDateException instanceof java.lang.RuntimeException) 
408                  throw (java.lang.RuntimeException) setDateException; 
409              if (setDateException instanceof java.lang.Error) 
410                  throw (java.lang.Error) setDateException; 
411              throw new RuntimeException(); 
412          } 
413          return this.setDateReturn; 
414      } 
415   
416      public boolean setTimeCalled; 
417      public com.ociweb.service.Query setTimeReturn; 
418      public Throwable setTimeException; 
419      public int setTimeI; 
420      public java.util.Date setTimeDate; 
421      public com.ociweb.service.Query setTime(int i, java.util.Date date) { 
422          setTimeCalled = true; 
423          this.setTimeI = i; 
424          this.setTimeDate = date; 
425          if (setTimeException != null) { 
426              if (setTimeException instanceof java.lang.RuntimeException) 
427                  throw (java.lang.RuntimeException) setTimeException; 
428              if (setTimeException instanceof java.lang.Error) 
429                  throw (java.lang.Error) setTimeException; 
430              throw new RuntimeException(); 
431          } 
432          return this.setTimeReturn; 
433      } 
434   
435      public boolean setTimestampCalled; 
436      public com.ociweb.service.Query setTimestampReturn; 
437      public Throwable setTimestampException; 
438      public int setTimestampI; 
439      public java.util.Date setTimestampDate; 
440      public com.ociweb.service.Query setTimestamp(int i, java.util.Date date) { 
441          setTimestampCalled = true; 
442          this.setTimestampI = i; 
443          this.setTimestampDate = date; 
444          if (setTimestampException != null) { 
445              if (setTimestampException instanceof java.lang.RuntimeException) 
446                  throw (java.lang.RuntimeException) setTimestampException; 
447              if (setTimestampException instanceof java.lang.Error) 
448                  throw (java.lang.Error) setTimestampException; 
449              throw new RuntimeException(); 
450          } 
451          return this.setTimestampReturn; 
452      } 
453   
454      public boolean setCalendarCalled; 
455      public com.ociweb.service.Query setCalendarReturn; 
456      public Throwable setCalendarException; 
457      public int setCalendarI; 
458      public java.util.Calendar setCalendarCalendar; 
459      public com.ociweb.service.Query setCalendar(int i, java.util.Calendar calendar) { 
460          setCalendarCalled = true; 
461          this.setCalendarI = i; 
462          this.setCalendarCalendar = calendar; 
463          if (setCalendarException != null) { 
464              if (setCalendarException instanceof java.lang.RuntimeException) 
465                  throw (java.lang.RuntimeException) setCalendarException; 
466              if (setCalendarException instanceof java.lang.Error) 
467                  throw (java.lang.Error) setCalendarException; 
468              throw new RuntimeException(); 
469          } 
470          return this.setCalendarReturn; 
471      } 
472   
473      public boolean setCalendarDateCalled; 
474      public com.ociweb.service.Query setCalendarDateReturn; 
475      public Throwable setCalendarDateException; 
476      public int setCalendarDateI; 
477      public java.util.Calendar setCalendarDateCalendar; 
478      public com.ociweb.service.Query setCalendarDate(int i, java.util.Calendar calendar) { 
479          setCalendarDateCalled = true; 
480          this.setCalendarDateI = i; 
481          this.setCalendarDateCalendar = calendar; 
482          if (setCalendarDateException != null) { 
483              if (setCalendarDateException instanceof java.lang.RuntimeException) 
484                  throw (java.lang.RuntimeException) setCalendarDateException; 
485              if (setCalendarDateException instanceof java.lang.Error) 
486                  throw (java.lang.Error) setCalendarDateException; 
487              throw new RuntimeException(); 
488          } 
489          return this.setCalendarDateReturn; 
490      } 
491   
492      public boolean setString2Called; 
493      public com.ociweb.service.Query setString2Return; 
494      public Throwable setString2Exception; 
495      public java.lang.String setString2S; 
496      public java.lang.String setString2S1; 
497      public com.ociweb.service.Query setString(java.lang.String s, java.lang.String s1) { 
498          setString2Called = true; 
499          this.setString2S = s; 
500          this.setString2S1 = s1; 
501          if (setString2Exception != null) { 
502              if (setString2Exception instanceof java.lang.RuntimeException) 
503                  throw (java.lang.RuntimeException) setString2Exception; 
504              if (setString2Exception instanceof java.lang.Error) 
505                  throw (java.lang.Error) setString2Exception; 
506              throw new RuntimeException(); 
507          } 
508          return this.setString2Return; 
509      } 
510   
511      public boolean setCharacter2Called; 
512      public com.ociweb.service.Query setCharacter2Return; 
513      public Throwable setCharacter2Exception; 
514      public java.lang.String setCharacter2S; 
515      public char setCharacter2C; 
516      public com.ociweb.service.Query setCharacter(java.lang.String s, char c) { 
517          setCharacter2Called = true; 
518          this.setCharacter2S = s; 
519          this.setCharacter2C = c; 
520          if (setCharacter2Exception != null) { 
521              if (setCharacter2Exception instanceof java.lang.RuntimeException) 
522                  throw (java.lang.RuntimeException) setCharacter2Exception; 
523              if (setCharacter2Exception instanceof java.lang.Error) 
524                  throw (java.lang.Error) setCharacter2Exception; 
525              throw new RuntimeException(); 
526          } 
527          return this.setCharacter2Return; 
528      } 
529   
530      public boolean setBoolean2Called; 
531      public com.ociweb.service.Query setBoolean2Return; 
532      public Throwable setBoolean2Exception; 
533      public java.lang.String setBoolean2S; 
534      public boolean setBoolean2B; 
535      public com.ociweb.service.Query setBoolean(java.lang.String s, boolean b) { 
536          setBoolean2Called = true; 
537          this.setBoolean2S = s; 
538          this.setBoolean2B = b; 
539          if (setBoolean2Exception != null) { 
540              if (setBoolean2Exception instanceof java.lang.RuntimeException) 
541                  throw (java.lang.RuntimeException) setBoolean2Exception; 
542              if (setBoolean2Exception instanceof java.lang.Error) 
543                  throw (java.lang.Error) setBoolean2Exception; 
544              throw new RuntimeException(); 
545          } 
546          return this.setBoolean2Return; 
547      } 
548   
549      public boolean setByte2Called; 
550      public com.ociweb.service.Query setByte2Return; 
551      public Throwable setByte2Exception; 
552      public java.lang.String setByte2S; 
553      public byte setByte2B; 
554      public com.ociweb.service.Query setByte(java.lang.String s, byte b) { 
555          setByte2Called = true; 
556          this.setByte2S = s; 
557          this.setByte2B = b; 
558          if (setByte2Exception != null) { 
559              if (setByte2Exception instanceof java.lang.RuntimeException) 
560                  throw (java.lang.RuntimeException) setByte2Exception; 
561              if (setByte2Exception instanceof java.lang.Error) 
562                  throw (java.lang.Error) setByte2Exception; 
563              throw new RuntimeException(); 
564          } 
565          return this.setByte2Return; 
566      } 
567   
568      public boolean setShort2Called; 
569      public com.ociweb.service.Query setShort2Return; 
570      public Throwable setShort2Exception; 
571      public java.lang.String setShort2S; 
572      public short setShort2I; 
573      public com.ociweb.service.Query setShort(java.lang.String s, short i) { 
574          setShort2Called = true; 
575          this.setShort2S = s; 
576          this.setShort2I = i; 
577          if (setShort2Exception != null) { 
578              if (setShort2Exception instanceof java.lang.RuntimeException) 
579                  throw (java.lang.RuntimeException) setShort2Exception; 
580              if (setShort2Exception instanceof java.lang.Error) 
581                  throw (java.lang.Error) setShort2Exception; 
582              throw new RuntimeException(); 
583          } 
584          return this.setShort2Return; 
585      } 
586   
587      public boolean setInteger2Called; 
588      public com.ociweb.service.Query setInteger2Return; 
589      public Throwable setInteger2Exception; 
590      public java.lang.String setInteger2S; 
591      public int setInteger2I; 
592      public com.ociweb.service.Query setInteger(java.lang.String s, int i) { 
593          setInteger2Called = true; 
594          this.setInteger2S = s; 
595          this.setInteger2I = i; 
596          if (setInteger2Exception != null) { 
597              if (setInteger2Exception instanceof java.lang.RuntimeException) 
598                  throw (java.lang.RuntimeException) setInteger2Exception; 
599              if (setInteger2Exception instanceof java.lang.Error) 
600                  throw (java.lang.Error) setInteger2Exception; 
601              throw new RuntimeException(); 
602          } 
603          return this.setInteger2Return; 
604      } 
605   
606      public boolean setLong2Called; 
607      public com.ociweb.service.Query setLong2Return; 
608      public Throwable setLong2Exception; 
609      public java.lang.String setLong2S; 
610      public long setLong2L; 
611      public com.ociweb.service.Query setLong(java.lang.String s, long l) { 
612          setLong2Called = true; 
613          this.setLong2S = s; 
614          this.setLong2L = l; 
615          if (setLong2Exception != null) { 
616              if (setLong2Exception instanceof java.lang.RuntimeException) 
617                  throw (java.lang.RuntimeException) setLong2Exception; 
618              if (setLong2Exception instanceof java.lang.Error) 
619                  throw (java.lang.Error) setLong2Exception; 
620              throw new RuntimeException(); 
621          } 
622          return this.setLong2Return; 
623      } 
624   
625      public boolean setFloat2Called; 
626      public com.ociweb.service.Query setFloat2Return; 
627      public Throwable setFloat2Exception; 
628      public java.lang.String setFloat2S; 
629      public float setFloat2V; 
630      public com.ociweb.service.Query setFloat(java.lang.String s, float v) { 
631          setFloat2Called = true; 
632          this.setFloat2S = s; 
633          this.setFloat2V = v; 
634          if (setFloat2Exception != null) { 
635              if (setFloat2Exception instanceof java.lang.RuntimeException) 
636                  throw (java.lang.RuntimeException) setFloat2Exception; 
637              if (setFloat2Exception instanceof java.lang.Error) 
638                  throw (java.lang.Error) setFloat2Exception; 
639              throw new RuntimeException(); 
640          } 
641          return this.setFloat2Return; 
642      } 
643   
644      public boolean setDouble2Called; 
645      public com.ociweb.service.Query setDouble2Return; 
646      public Throwable setDouble2Exception; 
647      public java.lang.String setDouble2S; 
648      public double setDouble2V; 
649      public com.ociweb.service.Query setDouble(java.lang.String s, double v) { 
650          setDouble2Called = true; 
651          this.setDouble2S = s; 
652          this.setDouble2V = v; 
653          if (setDouble2Exception != null) { 
654              if (setDouble2Exception instanceof java.lang.RuntimeException) 
655                  throw (java.lang.RuntimeException) setDouble2Exception; 
656              if (setDouble2Exception instanceof java.lang.Error) 
657                  throw (java.lang.Error) setDouble2Exception; 
658              throw new RuntimeException(); 
659          } 
660          return this.setDouble2Return; 
661      } 
662   
663      public boolean setBinary2Called; 
664      public com.ociweb.service.Query setBinary2Return; 
665      public Throwable setBinary2Exception; 
666      public java.lang.String setBinary2S; 
667      public byte[] setBinary2Bytes; 
668      public com.ociweb.service.Query setBinary(java.lang.String s, byte[] bytes) { 
669          setBinary2Called = true; 
670          this.setBinary2S = s; 
671          this.setBinary2Bytes = bytes; 
672          if (setBinary2Exception != null) { 
673              if (setBinary2Exception instanceof java.lang.RuntimeException) 
674                  throw (java.lang.RuntimeException) setBinary2Exception; 
675              if (setBinary2Exception instanceof java.lang.Error) 
676                  throw (java.lang.Error) setBinary2Exception; 
677              throw new RuntimeException(); 
678          } 
679          return this.setBinary2Return; 
680      } 
681   
682      public boolean setSerializable2Called; 
683      public com.ociweb.service.Query setSerializable2Return; 
684      public Throwable setSerializable2Exception; 
685      public java.lang.String setSerializable2S; 
686      public java.io.Serializable setSerializable2Serializable; 
687      public com.ociweb.service.Query setSerializable(java.lang.String s, java.io.Serializable serializable) { 
688          setSerializable2Called = true; 
689          this.setSerializable2S = s; 
690          this.setSerializable2Serializable = serializable; 
691          if (setSerializable2Exception != null) { 
692              if (setSerializable2Exception instanceof java.lang.RuntimeException) 
693                  throw (java.lang.RuntimeException) setSerializable2Exception; 
694              if (setSerializable2Exception instanceof java.lang.Error) 
695                  throw (java.lang.Error) setSerializable2Exception; 
696              throw new RuntimeException(); 
697          } 
698          return this.setSerializable2Return; 
699      } 
700   
701      public boolean setLocale2Called; 
702      public com.ociweb.service.Query setLocale2Return; 
703      public Throwable setLocale2Exception; 
704      public java.lang.String setLocale2S; 
705      public java.util.Locale setLocale2Locale; 
706      public com.ociweb.service.Query setLocale(java.lang.String s, java.util.Locale locale) { 
707          setLocale2Called = true; 
708          this.setLocale2S = s; 
709          this.setLocale2Locale = locale; 
710          if (setLocale2Exception != null) { 
711              if (setLocale2Exception instanceof java.lang.RuntimeException) 
712                  throw (java.lang.RuntimeException) setLocale2Exception; 
713              if (setLocale2Exception instanceof java.lang.Error) 
714                  throw (java.lang.Error) setLocale2Exception; 
715              throw new RuntimeException(); 
716          } 
717          return this.setLocale2Return; 
718      } 
719   
720      public boolean setBigDecimal2Called; 
721      public com.ociweb.service.Query setBigDecimal2Return; 
722      public Throwable setBigDecimal2Exception; 
723      public java.lang.String setBigDecimal2S; 
724      public java.math.BigDecimal setBigDecimal2BigDecimal; 
725      public com.ociweb.service.Query setBigDecimal(java.lang.String s, java.math.BigDecimal bigDecimal) { 
726          setBigDecimal2Called = true; 
727          this.setBigDecimal2S = s; 
728          this.setBigDecimal2BigDecimal = bigDecimal; 
729          if (setBigDecimal2Exception != null) { 
730              if (setBigDecimal2Exception instanceof java.lang.RuntimeException) 
731                  throw (java.lang.RuntimeException) setBigDecimal2Exception; 
732              if (setBigDecimal2Exception instanceof java.lang.Error) 
733                  throw (java.lang.Error) setBigDecimal2Exception; 
734              throw new RuntimeException(); 
735          } 
736          return this.setBigDecimal2Return; 
737      } 
738   
739      public boolean setDate2Called; 
740      public com.ociweb.service.Query setDate2Return; 
741      public Throwable setDate2Exception; 
742      public java.lang.String setDate2S; 
743      public java.util.Date setDate2Date; 
744      public com.ociweb.service.Query setDate(java.lang.String s, java.util.Date date) { 
745          setDate2Called = true; 
746          this.setDate2S = s; 
747          this.setDate2Date = date; 
748          if (setDate2Exception != null) { 
749              if (setDate2Exception instanceof java.lang.RuntimeException) 
750                  throw (java.lang.RuntimeException) setDate2Exception; 
751              if (setDate2Exception instanceof java.lang.Error) 
752                  throw (java.lang.Error) setDate2Exception; 
753              throw new RuntimeException(); 
754          } 
755          return this.setDate2Return; 
756      } 
757   
758      public boolean setTime2Called; 
759      public com.ociweb.service.Query setTime2Return; 
760      public Throwable setTime2Exception; 
761      public java.lang.String setTime2S; 
762      public java.util.Date setTime2Date; 
763      public com.ociweb.service.Query setTime(java.lang.String s, java.util.Date date) { 
764          setTime2Called = true; 
765          this.setTime2S = s; 
766          this.setTime2Date = date; 
767          if (setTime2Exception != null) { 
768              if (setTime2Exception instanceof java.lang.RuntimeException) 
769                  throw (java.lang.RuntimeException) setTime2Exception; 
770              if (setTime2Exception instanceof java.lang.Error) 
771                  throw (java.lang.Error) setTime2Exception; 
772              throw new RuntimeException(); 
773          } 
774          return this.setTime2Return; 
775      } 
776   
777      public boolean setTimestamp2Called; 
778      public com.ociweb.service.Query setTimestamp2Return; 
779      public Throwable setTimestamp2Exception; 
780      public java.lang.String setTimestamp2S; 
781      public java.util.Date setTimestamp2Date; 
782      public com.ociweb.service.Query setTimestamp(java.lang.String s, java.util.Date date) { 
783          setTimestamp2Called = true; 
784          this.setTimestamp2S = s; 
785          this.setTimestamp2Date = date; 
786          if (setTimestamp2Exception != null) { 
787              if (setTimestamp2Exception instanceof java.lang.RuntimeException) 
788                  throw (java.lang.RuntimeException) setTimestamp2Exception; 
789              if (setTimestamp2Exception instanceof java.lang.Error) 
790                  throw (java.lang.Error) setTimestamp2Exception; 
791              throw new RuntimeException(); 
792          } 
793          return this.setTimestamp2Return; 
794      } 
795   
796      public boolean setCalendar2Called; 
797      public com.ociweb.service.Query setCalendar2Return; 
798      public Throwable setCalendar2Exception; 
799      public java.lang.String setCalendar2S; 
800      public java.util.Calendar setCalendar2Calendar; 
801      public com.ociweb.service.Query setCalendar(java.lang.String s, java.util.Calendar calendar) { 
802          setCalendar2Called = true; 
803          this.setCalendar2S = s; 
804          this.setCalendar2Calendar = calendar; 
805          if (setCalendar2Exception != null) { 
806              if (setCalendar2Exception instanceof java.lang.RuntimeException) 
807                  throw (java.lang.RuntimeException) setCalendar2Exception; 
808              if (setCalendar2Exception instanceof java.lang.Error) 
809                  throw (java.lang.Error) setCalendar2Exception; 
810              throw new RuntimeException(); 
811          } 
812          return this.setCalendar2Return; 
813      } 
814   
815      public boolean setCalendarDate2Called; 
816      public com.ociweb.service.Query setCalendarDate2Return; 
817      public Throwable setCalendarDate2Exception; 
818      public java.lang.String setCalendarDate2S; 
819      public java.util.Calendar setCalendarDate2Calendar; 
820      public com.ociweb.service.Query setCalendarDate(java.lang.String s, java.util.Calendar calendar) { 
821          setCalendarDate2Called = true; 
822          this.setCalendarDate2S = s; 
823          this.setCalendarDate2Calendar = calendar; 
824          if (setCalendarDate2Exception != null) { 
825              if (setCalendarDate2Exception instanceof java.lang.RuntimeException) 
826                  throw (java.lang.RuntimeException) setCalendarDate2Exception; 
827              if (setCalendarDate2Exception instanceof java.lang.Error) 
828                  throw (java.lang.Error) setCalendarDate2Exception; 
829              throw new RuntimeException(); 
830          } 
831          return this.setCalendarDate2Return; 
832      } 
833   
834      public boolean setEntityCalled; 
835      public com.ociweb.service.Query setEntityReturn; 
836      public Throwable setEntityException; 
837      public int setEntityI; 
838      public java.lang.Object setEntityO; 
839      public com.ociweb.service.Query setEntity(int i, java.lang.Object o) { 
840          setEntityCalled = true; 
841          this.setEntityI = i; 
842          this.setEntityO = o; 
843          if (setEntityException != null) { 
844              if (setEntityException instanceof java.lang.RuntimeException) 
845                  throw (java.lang.RuntimeException) setEntityException; 
846              if (setEntityException instanceof java.lang.Error) 
847                  throw (java.lang.Error) setEntityException; 
848              throw new RuntimeException(); 
849          } 
850          return this.setEntityReturn; 
851      } 
852   
853      public boolean setEntity2Called; 
854      public com.ociweb.service.Query setEntity2Return; 
855      public Throwable setEntity2Exception; 
856      public java.lang.String setEntity2S; 
857      public java.lang.Object setEntity2O; 
858      public com.ociweb.service.Query setEntity(java.lang.String s, java.lang.Object o) { 
859          setEntity2Called = true; 
860          this.setEntity2S = s; 
861          this.setEntity2O = o; 
862          if (setEntity2Exception != null) { 
863              if (setEntity2Exception instanceof java.lang.RuntimeException) 
864                  throw (java.lang.RuntimeException) setEntity2Exception; 
865              if (setEntity2Exception instanceof java.lang.Error) 
866                  throw (java.lang.Error) setEntity2Exception; 
867              throw new RuntimeException(); 
868          } 
869          return this.setEntity2Return; 
870      } 
871   
872  }