1 | // tlb2java |
2 | package com.moesol.bindings.microsoft.dao; |
3 | |
4 | |
5 | /** |
6 | * <code>IDL: [ helpstring(""), dual, nonextensible, oleautomation, dispatchable ] interface</code> |
7 | */ |
8 | public interface Database extends com.moesol.bindings.microsoft.dao._DAO { |
9 | public static final Class TYPELIB = TYPELIB_00025E01_0000_0000_C000_000000000046.class; |
10 | /** |
11 | * <code>IDL: [uuid(00000071-0000-0010-8000-00AA006D2EA4)]</code> |
12 | */ |
13 | public static final com.moesol.bindings.platform_sdk.component_services.GUID IID = new com.moesol.bindings.platform_sdk.component_services.GUID( |
14 | 0x00000071, (short)0x0000, (short)0x0010, |
15 | new byte[] { |
16 | (byte)0x80, (byte)0x00, |
17 | (byte)0x00, (byte)0xaa, (byte)0x00, (byte)0x6d, (byte)0x2e, (byte)0xa4 |
18 | } ); |
19 | |
20 | /** |
21 | * <code>IDL: [ helpstring("") ]</code> |
22 | * |
23 | * @return |
24 | * <code>IDL: [out] [retval] LONG*</code> |
25 | */ |
26 | public int getCollatingOrder(); |
27 | |
28 | /** |
29 | * <code>IDL: [ helpstring("") ]</code> |
30 | * |
31 | * @return |
32 | * <code>IDL: [out] [retval] BSTR*</code> |
33 | */ |
34 | public String getConnect(); |
35 | |
36 | /** |
37 | * <code>IDL: [ helpstring("") ]</code> |
38 | * |
39 | * @return |
40 | * <code>IDL: [out] [retval] BSTR*</code> |
41 | */ |
42 | public String getName(); |
43 | |
44 | /** |
45 | * <code>IDL: [ helpstring("") ]</code> |
46 | * |
47 | * @return |
48 | * <code>IDL: [out] [retval] SHORT*</code> |
49 | */ |
50 | public short getQueryTimeout(); |
51 | |
52 | /** |
53 | * <code>IDL: [ helpstring("") ]</code> |
54 | * |
55 | * @param ps |
56 | * <code>IDL: [in] SHORT</code> |
57 | */ |
58 | public void setQueryTimeout( |
59 | /*[in]*/ short ps); |
60 | |
61 | /** |
62 | * <code>IDL: [ helpstring("") ]</code> |
63 | * |
64 | * @return |
65 | * <code>IDL: [out] [retval] VARIANT_BOOL*</code> |
66 | */ |
67 | public boolean getTransactions(); |
68 | |
69 | /** |
70 | * <code>IDL: [ helpstring("") ]</code> |
71 | * |
72 | * @return |
73 | * <code>IDL: [out] [retval] VARIANT_BOOL*</code> |
74 | */ |
75 | public boolean getUpdatable(); |
76 | |
77 | /** |
78 | * <code>IDL: [ helpstring("") ]</code> |
79 | * |
80 | * @return |
81 | * <code>IDL: [out] [retval] BSTR*</code> |
82 | */ |
83 | public String getVersion(); |
84 | |
85 | /** |
86 | * <code>IDL: [ helpstring("") ]</code> |
87 | * |
88 | * @return |
89 | * <code>IDL: [out] [retval] LONG*</code> |
90 | */ |
91 | public int getRecordsAffected(); |
92 | |
93 | /** |
94 | * <code>IDL: [ helpstring("") ]</code> |
95 | * |
96 | * @return |
97 | * <code>IDL: [out] [retval] TableDefs**</code> |
98 | */ |
99 | public com.moesol.bindings.microsoft.dao.TableDefs getTableDefs(); |
100 | |
101 | /** |
102 | * <code>IDL: [ helpstring("") ]</code> |
103 | * |
104 | * @return |
105 | * <code>IDL: [out] [retval] QueryDefs**</code> |
106 | */ |
107 | public com.moesol.bindings.microsoft.dao.QueryDefs getQueryDefs(); |
108 | |
109 | /** |
110 | * <code>IDL: [ helpstring("") ]</code> |
111 | * |
112 | * @return |
113 | * <code>IDL: [out] [retval] Relations**</code> |
114 | */ |
115 | public com.moesol.bindings.microsoft.dao.Relations getRelations(); |
116 | |
117 | /** |
118 | * <code>IDL: [ helpstring("") ]</code> |
119 | * |
120 | * @return |
121 | * <code>IDL: [out] [retval] Containers**</code> |
122 | */ |
123 | public com.moesol.bindings.microsoft.dao.Containers getContainers(); |
124 | |
125 | /** |
126 | * <code>IDL: [ helpstring("") ]</code> |
127 | * |
128 | * @return |
129 | * <code>IDL: [out] [retval] Recordsets**</code> |
130 | */ |
131 | public com.moesol.bindings.microsoft.dao.Recordsets getRecordsets(); |
132 | |
133 | /** |
134 | * <code>IDL: [ helpstring("") ]</code> |
135 | * |
136 | */ |
137 | public void Close(); |
138 | |
139 | /** |
140 | * <code>IDL: [ helpstring("") ]</code> |
141 | * |
142 | * @param Query |
143 | * <code>IDL: [in] BSTR</code> |
144 | * @param Options |
145 | * <code>IDL: [in] [optional] VARIANT</code> |
146 | */ |
147 | public void Execute( |
148 | /*[in]*/ String Query, |
149 | /*[in]*/ Object Options); |
150 | |
151 | /** [optional=1] */ |
152 | public void Execute( |
153 | /*[in]*/ String Query); |
154 | |
155 | /** |
156 | * <code>IDL: [ helpstring("") ]</code> |
157 | * |
158 | * @param Name |
159 | * <code>IDL: [in] [optional] VARIANT</code> |
160 | * @param Type |
161 | * <code>IDL: [in] [optional] VARIANT</code> |
162 | * @param Value |
163 | * <code>IDL: [in] [optional] VARIANT</code> |
164 | * @param DDL |
165 | * <code>IDL: [in] [optional] VARIANT</code> |
166 | * @return |
167 | * <code>IDL: [out] [retval] Property**</code> |
168 | */ |
169 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
170 | /*[in]*/ Object Name, |
171 | /*[in]*/ Object Type, |
172 | /*[in]*/ Object Value, |
173 | /*[in]*/ Object DDL); |
174 | |
175 | /** [optional=1] */ |
176 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
177 | /*[in]*/ Object Name, |
178 | /*[in]*/ Object Type, |
179 | /*[in]*/ Object Value); |
180 | |
181 | /** [optional=2] */ |
182 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
183 | /*[in]*/ Object Name, |
184 | /*[in]*/ Object Type); |
185 | |
186 | /** [optional=3] */ |
187 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
188 | /*[in]*/ Object Name); |
189 | |
190 | /** [optional=4] */ |
191 | public com.moesol.bindings.microsoft.dao.Property CreateProperty(); |
192 | |
193 | /** |
194 | * <code>IDL: [ helpstring("") ]</code> |
195 | * |
196 | * @param Name |
197 | * <code>IDL: [in] [optional] VARIANT</code> |
198 | * @param Table |
199 | * <code>IDL: [in] [optional] VARIANT</code> |
200 | * @param ForeignTable |
201 | * <code>IDL: [in] [optional] VARIANT</code> |
202 | * @param Attributes |
203 | * <code>IDL: [in] [optional] VARIANT</code> |
204 | * @return |
205 | * <code>IDL: [out] [retval] Relation**</code> |
206 | */ |
207 | public com.moesol.bindings.microsoft.dao.Relation CreateRelation( |
208 | /*[in]*/ Object Name, |
209 | /*[in]*/ Object Table, |
210 | /*[in]*/ Object ForeignTable, |
211 | /*[in]*/ Object Attributes); |
212 | |
213 | /** [optional=1] */ |
214 | public com.moesol.bindings.microsoft.dao.Relation CreateRelation( |
215 | /*[in]*/ Object Name, |
216 | /*[in]*/ Object Table, |
217 | /*[in]*/ Object ForeignTable); |
218 | |
219 | /** [optional=2] */ |
220 | public com.moesol.bindings.microsoft.dao.Relation CreateRelation( |
221 | /*[in]*/ Object Name, |
222 | /*[in]*/ Object Table); |
223 | |
224 | /** [optional=3] */ |
225 | public com.moesol.bindings.microsoft.dao.Relation CreateRelation( |
226 | /*[in]*/ Object Name); |
227 | |
228 | /** [optional=4] */ |
229 | public com.moesol.bindings.microsoft.dao.Relation CreateRelation(); |
230 | |
231 | /** |
232 | * <code>IDL: [ helpstring("") ]</code> |
233 | * |
234 | * @param Name |
235 | * <code>IDL: [in] [optional] VARIANT</code> |
236 | * @param Attributes |
237 | * <code>IDL: [in] [optional] VARIANT</code> |
238 | * @param SourceTableName |
239 | * <code>IDL: [in] [optional] VARIANT</code> |
240 | * @param Connect |
241 | * <code>IDL: [in] [optional] VARIANT</code> |
242 | * @return |
243 | * <code>IDL: [out] [retval] TableDef**</code> |
244 | */ |
245 | public com.moesol.bindings.microsoft.dao.TableDef CreateTableDef( |
246 | /*[in]*/ Object Name, |
247 | /*[in]*/ Object Attributes, |
248 | /*[in]*/ Object SourceTableName, |
249 | /*[in]*/ Object Connect); |
250 | |
251 | /** [optional=1] */ |
252 | public com.moesol.bindings.microsoft.dao.TableDef CreateTableDef( |
253 | /*[in]*/ Object Name, |
254 | /*[in]*/ Object Attributes, |
255 | /*[in]*/ Object SourceTableName); |
256 | |
257 | /** [optional=2] */ |
258 | public com.moesol.bindings.microsoft.dao.TableDef CreateTableDef( |
259 | /*[in]*/ Object Name, |
260 | /*[in]*/ Object Attributes); |
261 | |
262 | /** [optional=3] */ |
263 | public com.moesol.bindings.microsoft.dao.TableDef CreateTableDef( |
264 | /*[in]*/ Object Name); |
265 | |
266 | /** [optional=4] */ |
267 | public com.moesol.bindings.microsoft.dao.TableDef CreateTableDef(); |
268 | |
269 | /** |
270 | * <code>IDL: [ helpstring("") ]</code> |
271 | * |
272 | * @param Name |
273 | * <code>IDL: [in] [optional] VARIANT</code> |
274 | * @param SQLText |
275 | * <code>IDL: [in] [optional] VARIANT</code> |
276 | * @return |
277 | * <code>IDL: [out] [retval] QueryDef**</code> |
278 | */ |
279 | public com.moesol.bindings.microsoft.dao.QueryDef CreateQueryDef( |
280 | /*[in]*/ Object Name, |
281 | /*[in]*/ Object SQLText); |
282 | |
283 | /** [optional=1] */ |
284 | public com.moesol.bindings.microsoft.dao.QueryDef CreateQueryDef( |
285 | /*[in]*/ Object Name); |
286 | |
287 | /** [optional=2] */ |
288 | public com.moesol.bindings.microsoft.dao.QueryDef CreateQueryDef(); |
289 | |
290 | /** |
291 | * <code>IDL: [ helpstring("") ]</code> |
292 | * |
293 | * @return |
294 | * <code>IDL: [out] [retval] BSTR*</code> |
295 | */ |
296 | public String getReplicaID(); |
297 | |
298 | /** |
299 | * <code>IDL: [ helpstring("") ]</code> |
300 | * |
301 | * @return |
302 | * <code>IDL: [out] [retval] BSTR*</code> |
303 | */ |
304 | public String getDesignMasterID(); |
305 | |
306 | /** |
307 | * <code>IDL: [ helpstring("") ]</code> |
308 | * |
309 | * @param pbstr |
310 | * <code>IDL: [in] BSTR</code> |
311 | */ |
312 | public void setDesignMasterID( |
313 | /*[in]*/ String pbstr); |
314 | |
315 | /** |
316 | * <code>IDL: [ helpstring("") ]</code> |
317 | * |
318 | * @param DbPathName |
319 | * <code>IDL: [in] BSTR</code> |
320 | * @param ExchangeType |
321 | * <code>IDL: [in] [optional] VARIANT</code> |
322 | */ |
323 | public void Synchronize( |
324 | /*[in]*/ String DbPathName, |
325 | /*[in]*/ Object ExchangeType); |
326 | |
327 | /** [optional=1] */ |
328 | public void Synchronize( |
329 | /*[in]*/ String DbPathName); |
330 | |
331 | /** |
332 | * <code>IDL: [ helpstring("") ]</code> |
333 | * |
334 | * @param PathName |
335 | * <code>IDL: [in] BSTR</code> |
336 | * @param Description |
337 | * <code>IDL: [in] BSTR</code> |
338 | * @param Options |
339 | * <code>IDL: [in] [optional] VARIANT</code> |
340 | */ |
341 | public void MakeReplica( |
342 | /*[in]*/ String PathName, |
343 | /*[in]*/ String Description, |
344 | /*[in]*/ Object Options); |
345 | |
346 | /** [optional=1] */ |
347 | public void MakeReplica( |
348 | /*[in]*/ String PathName, |
349 | /*[in]*/ String Description); |
350 | |
351 | /** |
352 | * <code>IDL: [ helpstring("") ]</code> |
353 | * |
354 | * @param pbstr |
355 | * <code>IDL: [in] BSTR</code> |
356 | */ |
357 | public void setConnect( |
358 | /*[in]*/ String pbstr); |
359 | |
360 | /** |
361 | * <code>IDL: [ helpstring("") ]</code> |
362 | * |
363 | * @param bstrOld |
364 | * <code>IDL: [in] BSTR</code> |
365 | * @param bstrNew |
366 | * <code>IDL: [in] BSTR</code> |
367 | */ |
368 | public void NewPassword( |
369 | /*[in]*/ String bstrOld, |
370 | /*[in]*/ String bstrNew); |
371 | |
372 | /** |
373 | * <code>IDL: [ helpstring("") ]</code> |
374 | * |
375 | * @param Name |
376 | * <code>IDL: [in] BSTR</code> |
377 | * @param Type |
378 | * <code>IDL: [in] [optional] VARIANT</code> |
379 | * @param Options |
380 | * <code>IDL: [in] [optional] VARIANT</code> |
381 | * @param LockEdit |
382 | * <code>IDL: [in] [optional] VARIANT</code> |
383 | * @return |
384 | * <code>IDL: [out] [retval] Recordset**</code> |
385 | */ |
386 | public com.moesol.bindings.microsoft.dao.Recordset OpenRecordset( |
387 | /*[in]*/ String Name, |
388 | /*[in]*/ Object Type, |
389 | /*[in]*/ Object Options, |
390 | /*[in]*/ Object LockEdit); |
391 | |
392 | /** [optional=1] */ |
393 | public com.moesol.bindings.microsoft.dao.Recordset OpenRecordset( |
394 | /*[in]*/ String Name, |
395 | /*[in]*/ Object Type, |
396 | /*[in]*/ Object Options); |
397 | |
398 | /** [optional=2] */ |
399 | public com.moesol.bindings.microsoft.dao.Recordset OpenRecordset( |
400 | /*[in]*/ String Name, |
401 | /*[in]*/ Object Type); |
402 | |
403 | /** [optional=3] */ |
404 | public com.moesol.bindings.microsoft.dao.Recordset OpenRecordset( |
405 | /*[in]*/ String Name); |
406 | |
407 | /** |
408 | * <code>IDL: [ helpstring("") ]</code> |
409 | * |
410 | * @return |
411 | * <code>IDL: [out] [retval] Connection**</code> |
412 | */ |
413 | public com.moesol.bindings.microsoft.dao.Connection getConnection(); |
414 | |
415 | /** |
416 | * <code>IDL: [ helpstring("") ]</code> |
417 | * |
418 | * @param DbPathName |
419 | * <code>IDL: [in] BSTR</code> |
420 | */ |
421 | public void PopulatePartial( |
422 | /*[in]*/ String DbPathName); |
423 | |
424 | |
425 | /** <em>Implementation</em>, <small>Java to COM</small>. */ |
426 | public static class Jni extends com.moesol.bindings.microsoft.dao._DAO.Jni implements Database { |
427 | |
428 | protected Jni () { |
429 | } |
430 | protected void internalOnSetInterface() { |
431 | MoeSolInternal.recordApartment(this); |
432 | } |
433 | |
434 | |
435 | private native int jni_getCollatingOrder(); |
436 | public int getCollatingOrder() { |
437 | |
438 | MoeSolInternal.checkApartment(this); |
439 | return jni_getCollatingOrder(); |
440 | } |
441 | |
442 | private native String jni_getConnect(); |
443 | public String getConnect() { |
444 | |
445 | MoeSolInternal.checkApartment(this); |
446 | return jni_getConnect(); |
447 | } |
448 | |
449 | private native String jni_getName(); |
450 | public String getName() { |
451 | |
452 | MoeSolInternal.checkApartment(this); |
453 | return jni_getName(); |
454 | } |
455 | |
456 | private native short jni_getQueryTimeout(); |
457 | public short getQueryTimeout() { |
458 | |
459 | MoeSolInternal.checkApartment(this); |
460 | return jni_getQueryTimeout(); |
461 | } |
462 | |
463 | private native void jni_setQueryTimeout( |
464 | /*[in]*/ short p0); |
465 | public void setQueryTimeout( |
466 | /*[in]*/ short p0) { |
467 | |
468 | MoeSolInternal.checkApartment(this); |
469 | jni_setQueryTimeout(p0); |
470 | } |
471 | |
472 | private native boolean jni_getTransactions(); |
473 | public boolean getTransactions() { |
474 | |
475 | MoeSolInternal.checkApartment(this); |
476 | return jni_getTransactions(); |
477 | } |
478 | |
479 | private native boolean jni_getUpdatable(); |
480 | public boolean getUpdatable() { |
481 | |
482 | MoeSolInternal.checkApartment(this); |
483 | return jni_getUpdatable(); |
484 | } |
485 | |
486 | private native String jni_getVersion(); |
487 | public String getVersion() { |
488 | |
489 | MoeSolInternal.checkApartment(this); |
490 | return jni_getVersion(); |
491 | } |
492 | |
493 | private native int jni_getRecordsAffected(); |
494 | public int getRecordsAffected() { |
495 | |
496 | MoeSolInternal.checkApartment(this); |
497 | return jni_getRecordsAffected(); |
498 | } |
499 | |
500 | private native com.moesol.bindings.microsoft.dao.TableDefs jni_getTableDefs(); |
501 | public com.moesol.bindings.microsoft.dao.TableDefs getTableDefs() { |
502 | |
503 | MoeSolInternal.checkApartment(this); |
504 | return jni_getTableDefs(); |
505 | } |
506 | |
507 | private native com.moesol.bindings.microsoft.dao.QueryDefs jni_getQueryDefs(); |
508 | public com.moesol.bindings.microsoft.dao.QueryDefs getQueryDefs() { |
509 | |
510 | MoeSolInternal.checkApartment(this); |
511 | return jni_getQueryDefs(); |
512 | } |
513 | |
514 | private native com.moesol.bindings.microsoft.dao.Relations jni_getRelations(); |
515 | public com.moesol.bindings.microsoft.dao.Relations getRelations() { |
516 | |
517 | MoeSolInternal.checkApartment(this); |
518 | return jni_getRelations(); |
519 | } |
520 | |
521 | private native com.moesol.bindings.microsoft.dao.Containers jni_getContainers(); |
522 | public com.moesol.bindings.microsoft.dao.Containers getContainers() { |
523 | |
524 | MoeSolInternal.checkApartment(this); |
525 | return jni_getContainers(); |
526 | } |
527 | |
528 | private native com.moesol.bindings.microsoft.dao.Recordsets jni_getRecordsets(); |
529 | public com.moesol.bindings.microsoft.dao.Recordsets getRecordsets() { |
530 | |
531 | MoeSolInternal.checkApartment(this); |
532 | return jni_getRecordsets(); |
533 | } |
534 | |
535 | private native void jni_Close(); |
536 | public void Close() { |
537 | |
538 | MoeSolInternal.checkApartment(this); |
539 | jni_Close(); |
540 | } |
541 | |
542 | private native void jni_Execute( |
543 | /*[in]*/ String p0, |
544 | /*[in]*/ Object p1); |
545 | public void Execute( |
546 | /*[in]*/ String p0, |
547 | /*[in]*/ Object p1) { |
548 | |
549 | MoeSolInternal.checkApartment(this); |
550 | jni_Execute(p0, p1); |
551 | } |
552 | |
553 | /** [optional=1] */ |
554 | public void Execute( |
555 | /*[in]*/ String p0) { |
556 | |
557 | Execute(p0, null); |
558 | } |
559 | private native com.moesol.bindings.microsoft.dao.Property jni_CreateProperty( |
560 | /*[in]*/ Object p0, |
561 | /*[in]*/ Object p1, |
562 | /*[in]*/ Object p2, |
563 | /*[in]*/ Object p3); |
564 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
565 | /*[in]*/ Object p0, |
566 | /*[in]*/ Object p1, |
567 | /*[in]*/ Object p2, |
568 | /*[in]*/ Object p3) { |
569 | |
570 | MoeSolInternal.checkApartment(this); |
571 | return jni_CreateProperty(p0, p1, p2, p3); |
572 | } |
573 | |
574 | /** [optional=1] */ |
575 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
576 | /*[in]*/ Object p0, |
577 | /*[in]*/ Object p1, |
578 | /*[in]*/ Object p2) { |
579 | |
580 | return CreateProperty(p0, p1, p2, null); |
581 | } |
582 | /** [optional=2] */ |
583 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
584 | /*[in]*/ Object p0, |
585 | /*[in]*/ Object p1) { |
586 | |
587 | return CreateProperty(p0, p1, null, null); |
588 | } |
589 | /** [optional=3] */ |
590 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
591 | /*[in]*/ Object p0) { |
592 | |
593 | return CreateProperty(p0, null, null, null); |
594 | } |
595 | /** [optional=4] */ |
596 | public com.moesol.bindings.microsoft.dao.Property CreateProperty() { |
597 | |
598 | return CreateProperty(null, null, null, null); |
599 | } |
600 | private native com.moesol.bindings.microsoft.dao.Relation jni_CreateRelation( |
601 | /*[in]*/ Object p0, |
602 | /*[in]*/ Object p1, |
603 | /*[in]*/ Object p2, |
604 | /*[in]*/ Object p3); |
605 | public com.moesol.bindings.microsoft.dao.Relation CreateRelation( |
606 | /*[in]*/ Object p0, |
607 | /*[in]*/ Object p1, |
608 | /*[in]*/ Object p2, |
609 | /*[in]*/ Object p3) { |
610 | |
611 | MoeSolInternal.checkApartment(this); |
612 | return jni_CreateRelation(p0, p1, p2, p3); |
613 | } |
614 | |
615 | /** [optional=1] */ |
616 | public com.moesol.bindings.microsoft.dao.Relation CreateRelation( |
617 | /*[in]*/ Object p0, |
618 | /*[in]*/ Object p1, |
619 | /*[in]*/ Object p2) { |
620 | |
621 | return CreateRelation(p0, p1, p2, null); |
622 | } |
623 | /** [optional=2] */ |
624 | public com.moesol.bindings.microsoft.dao.Relation CreateRelation( |
625 | /*[in]*/ Object p0, |
626 | /*[in]*/ Object p1) { |
627 | |
628 | return CreateRelation(p0, p1, null, null); |
629 | } |
630 | /** [optional=3] */ |
631 | public com.moesol.bindings.microsoft.dao.Relation CreateRelation( |
632 | /*[in]*/ Object p0) { |
633 | |
634 | return CreateRelation(p0, null, null, null); |
635 | } |
636 | /** [optional=4] */ |
637 | public com.moesol.bindings.microsoft.dao.Relation CreateRelation() { |
638 | |
639 | return CreateRelation(null, null, null, null); |
640 | } |
641 | private native com.moesol.bindings.microsoft.dao.TableDef jni_CreateTableDef( |
642 | /*[in]*/ Object p0, |
643 | /*[in]*/ Object p1, |
644 | /*[in]*/ Object p2, |
645 | /*[in]*/ Object p3); |
646 | public com.moesol.bindings.microsoft.dao.TableDef CreateTableDef( |
647 | /*[in]*/ Object p0, |
648 | /*[in]*/ Object p1, |
649 | /*[in]*/ Object p2, |
650 | /*[in]*/ Object p3) { |
651 | |
652 | MoeSolInternal.checkApartment(this); |
653 | return jni_CreateTableDef(p0, p1, p2, p3); |
654 | } |
655 | |
656 | /** [optional=1] */ |
657 | public com.moesol.bindings.microsoft.dao.TableDef CreateTableDef( |
658 | /*[in]*/ Object p0, |
659 | /*[in]*/ Object p1, |
660 | /*[in]*/ Object p2) { |
661 | |
662 | return CreateTableDef(p0, p1, p2, null); |
663 | } |
664 | /** [optional=2] */ |
665 | public com.moesol.bindings.microsoft.dao.TableDef CreateTableDef( |
666 | /*[in]*/ Object p0, |
667 | /*[in]*/ Object p1) { |
668 | |
669 | return CreateTableDef(p0, p1, null, null); |
670 | } |
671 | /** [optional=3] */ |
672 | public com.moesol.bindings.microsoft.dao.TableDef CreateTableDef( |
673 | /*[in]*/ Object p0) { |
674 | |
675 | return CreateTableDef(p0, null, null, null); |
676 | } |
677 | /** [optional=4] */ |
678 | public com.moesol.bindings.microsoft.dao.TableDef CreateTableDef() { |
679 | |
680 | return CreateTableDef(null, null, null, null); |
681 | } |
682 | private native com.moesol.bindings.microsoft.dao.QueryDef jni_CreateQueryDef( |
683 | /*[in]*/ Object p0, |
684 | /*[in]*/ Object p1); |
685 | public com.moesol.bindings.microsoft.dao.QueryDef CreateQueryDef( |
686 | /*[in]*/ Object p0, |
687 | /*[in]*/ Object p1) { |
688 | |
689 | MoeSolInternal.checkApartment(this); |
690 | return jni_CreateQueryDef(p0, p1); |
691 | } |
692 | |
693 | /** [optional=1] */ |
694 | public com.moesol.bindings.microsoft.dao.QueryDef CreateQueryDef( |
695 | /*[in]*/ Object p0) { |
696 | |
697 | return CreateQueryDef(p0, null); |
698 | } |
699 | /** [optional=2] */ |
700 | public com.moesol.bindings.microsoft.dao.QueryDef CreateQueryDef() { |
701 | |
702 | return CreateQueryDef(null, null); |
703 | } |
704 | private native String jni_getReplicaID(); |
705 | public String getReplicaID() { |
706 | |
707 | MoeSolInternal.checkApartment(this); |
708 | return jni_getReplicaID(); |
709 | } |
710 | |
711 | private native String jni_getDesignMasterID(); |
712 | public String getDesignMasterID() { |
713 | |
714 | MoeSolInternal.checkApartment(this); |
715 | return jni_getDesignMasterID(); |
716 | } |
717 | |
718 | private native void jni_setDesignMasterID( |
719 | /*[in]*/ String p0); |
720 | public void setDesignMasterID( |
721 | /*[in]*/ String p0) { |
722 | |
723 | MoeSolInternal.checkApartment(this); |
724 | jni_setDesignMasterID(p0); |
725 | } |
726 | |
727 | private native void jni_Synchronize( |
728 | /*[in]*/ String p0, |
729 | /*[in]*/ Object p1); |
730 | public void Synchronize( |
731 | /*[in]*/ String p0, |
732 | /*[in]*/ Object p1) { |
733 | |
734 | MoeSolInternal.checkApartment(this); |
735 | jni_Synchronize(p0, p1); |
736 | } |
737 | |
738 | /** [optional=1] */ |
739 | public void Synchronize( |
740 | /*[in]*/ String p0) { |
741 | |
742 | Synchronize(p0, null); |
743 | } |
744 | private native void jni_MakeReplica( |
745 | /*[in]*/ String p0, |
746 | /*[in]*/ String p1, |
747 | /*[in]*/ Object p2); |
748 | public void MakeReplica( |
749 | /*[in]*/ String p0, |
750 | /*[in]*/ String p1, |
751 | /*[in]*/ Object p2) { |
752 | |
753 | MoeSolInternal.checkApartment(this); |
754 | jni_MakeReplica(p0, p1, p2); |
755 | } |
756 | |
757 | /** [optional=1] */ |
758 | public void MakeReplica( |
759 | /*[in]*/ String p0, |
760 | /*[in]*/ String p1) { |
761 | |
762 | MakeReplica(p0, p1, null); |
763 | } |
764 | private native void jni_setConnect( |
765 | /*[in]*/ String p0); |
766 | public void setConnect( |
767 | /*[in]*/ String p0) { |
768 | |
769 | MoeSolInternal.checkApartment(this); |
770 | jni_setConnect(p0); |
771 | } |
772 | |
773 | private native void jni_NewPassword( |
774 | /*[in]*/ String p0, |
775 | /*[in]*/ String p1); |
776 | public void NewPassword( |
777 | /*[in]*/ String p0, |
778 | /*[in]*/ String p1) { |
779 | |
780 | MoeSolInternal.checkApartment(this); |
781 | jni_NewPassword(p0, p1); |
782 | } |
783 | |
784 | private native com.moesol.bindings.microsoft.dao.Recordset jni_OpenRecordset( |
785 | /*[in]*/ String p0, |
786 | /*[in]*/ Object p1, |
787 | /*[in]*/ Object p2, |
788 | /*[in]*/ Object p3); |
789 | public com.moesol.bindings.microsoft.dao.Recordset OpenRecordset( |
790 | /*[in]*/ String p0, |
791 | /*[in]*/ Object p1, |
792 | /*[in]*/ Object p2, |
793 | /*[in]*/ Object p3) { |
794 | |
795 | MoeSolInternal.checkApartment(this); |
796 | return jni_OpenRecordset(p0, p1, p2, p3); |
797 | } |
798 | |
799 | /** [optional=1] */ |
800 | public com.moesol.bindings.microsoft.dao.Recordset OpenRecordset( |
801 | /*[in]*/ String p0, |
802 | /*[in]*/ Object p1, |
803 | /*[in]*/ Object p2) { |
804 | |
805 | return OpenRecordset(p0, p1, p2, null); |
806 | } |
807 | /** [optional=2] */ |
808 | public com.moesol.bindings.microsoft.dao.Recordset OpenRecordset( |
809 | /*[in]*/ String p0, |
810 | /*[in]*/ Object p1) { |
811 | |
812 | return OpenRecordset(p0, p1, null, null); |
813 | } |
814 | /** [optional=3] */ |
815 | public com.moesol.bindings.microsoft.dao.Recordset OpenRecordset( |
816 | /*[in]*/ String p0) { |
817 | |
818 | return OpenRecordset(p0, null, null, null); |
819 | } |
820 | private native com.moesol.bindings.microsoft.dao.Connection jni_getConnection(); |
821 | public com.moesol.bindings.microsoft.dao.Connection getConnection() { |
822 | |
823 | MoeSolInternal.checkApartment(this); |
824 | return jni_getConnection(); |
825 | } |
826 | |
827 | private native void jni_PopulatePartial( |
828 | /*[in]*/ String p0); |
829 | public void PopulatePartial( |
830 | /*[in]*/ String p0) { |
831 | |
832 | MoeSolInternal.checkApartment(this); |
833 | jni_PopulatePartial(p0); |
834 | } |
835 | |
836 | } |
837 | |
838 | /** <em>Implementation</em>, <small>COM to Java</small>. */ |
839 | public static class Disp extends com.moesol.bindings.microsoft.dao._DAO.Disp { |
840 | public static com.moesol.bindings.platform_sdk.component_services.IUnknown.Disp instance() { |
841 | return s_instance; |
842 | } |
843 | |
844 | private static Disp s_instance = new Disp(); |
845 | |
846 | protected Disp() { |
847 | addEntry(1610809344, (short)2, "getCollatingOrder", "()I"); |
848 | addEntry(1610809345, (short)2, "getConnect", "()Ljava/lang/String;"); |
849 | addEntry(1610809346, (short)2, "getName", "()Ljava/lang/String;"); |
850 | addEntry(1610809347, (short)2, "getQueryTimeout", "()S"); |
851 | addEntry(1610809347, (short)4, "setQueryTimeout", "(S)V"); |
852 | addEntry(1610809349, (short)2, "getTransactions", "()Z"); |
853 | addEntry(1610809350, (short)2, "getUpdatable", "()Z"); |
854 | addEntry(1610809351, (short)2, "getVersion", "()Ljava/lang/String;"); |
855 | addEntry(1610809352, (short)2, "getRecordsAffected", "()I"); |
856 | addEntry(0, (short)2, "getTableDefs", "()Lcom/moesol/bindings/microsoft/dao/TableDefs;"); |
857 | addEntry(1610809354, (short)2, "getQueryDefs", "()Lcom/moesol/bindings/microsoft/dao/QueryDefs;"); |
858 | addEntry(1610809355, (short)2, "getRelations", "()Lcom/moesol/bindings/microsoft/dao/Relations;"); |
859 | addEntry(1610809356, (short)2, "getContainers", "()Lcom/moesol/bindings/microsoft/dao/Containers;"); |
860 | addEntry(1610809357, (short)2, "getRecordsets", "()Lcom/moesol/bindings/microsoft/dao/Recordsets;"); |
861 | addEntry(1610809358, (short)1, "Close", "()V"); |
862 | addEntry(1610809359, (short)1, "Execute", "(Ljava/lang/String;Ljava/lang/Object;)V"); |
863 | addEntry(1610809360, (short)1, "_30_OpenRecordset", "(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lcom/moesol/bindings/microsoft/dao/Recordset;"); |
864 | addEntry(1610809361, (short)1, "CreateProperty", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/moesol/bindings/microsoft/dao/Property;"); |
865 | addEntry(1610809362, (short)1, "CreateRelation", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/moesol/bindings/microsoft/dao/Relation;"); |
866 | addEntry(1610809363, (short)1, "CreateTableDef", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/moesol/bindings/microsoft/dao/TableDef;"); |
867 | addEntry(1610809364, (short)1, "BeginTrans", "()V"); |
868 | addEntry(1610809365, (short)1, "CommitTrans", "(I)V"); |
869 | addEntry(1610809366, (short)1, "Rollback", "()V"); |
870 | addEntry(1610809367, (short)1, "CreateDynaset", "(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lcom/moesol/bindings/microsoft/dao/Recordset;"); |
871 | addEntry(1610809368, (short)1, "CreateQueryDef", "(Ljava/lang/Object;Ljava/lang/Object;)Lcom/moesol/bindings/microsoft/dao/QueryDef;"); |
872 | addEntry(1610809369, (short)1, "CreateSnapshot", "(Ljava/lang/String;Ljava/lang/Object;)Lcom/moesol/bindings/microsoft/dao/Recordset;"); |
873 | addEntry(1610809370, (short)1, "DeleteQueryDef", "(Ljava/lang/String;)V"); |
874 | addEntry(1610809371, (short)1, "ExecuteSQL", "(Ljava/lang/String;)I"); |
875 | addEntry(1610809372, (short)1, "ListFields", "(Ljava/lang/String;)Lcom/moesol/bindings/microsoft/dao/Recordset;"); |
876 | addEntry(1610809373, (short)1, "ListTables", "()Lcom/moesol/bindings/microsoft/dao/Recordset;"); |
877 | addEntry(1610809374, (short)1, "OpenQueryDef", "(Ljava/lang/String;)Lcom/moesol/bindings/microsoft/dao/QueryDef;"); |
878 | addEntry(1610809375, (short)1, "OpenTable", "(Ljava/lang/String;Ljava/lang/Object;)Lcom/moesol/bindings/microsoft/dao/Recordset;"); |
879 | addEntry(1610809376, (short)2, "getReplicaID", "()Ljava/lang/String;"); |
880 | addEntry(1610809377, (short)2, "getDesignMasterID", "()Ljava/lang/String;"); |
881 | addEntry(1610809377, (short)4, "setDesignMasterID", "(Ljava/lang/String;)V"); |
882 | addEntry(1610809379, (short)1, "Synchronize", "(Ljava/lang/String;Ljava/lang/Object;)V"); |
883 | addEntry(1610809380, (short)1, "MakeReplica", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V"); |
884 | addEntry(1610809345, (short)4, "setConnect", "(Ljava/lang/String;)V"); |
885 | addEntry(1610809382, (short)1, "NewPassword", "(Ljava/lang/String;Ljava/lang/String;)V"); |
886 | addEntry(1610809383, (short)1, "OpenRecordset", "(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/moesol/bindings/microsoft/dao/Recordset;"); |
887 | addEntry(1610809384, (short)2, "getConnection", "()Lcom/moesol/bindings/microsoft/dao/Connection;"); |
888 | addEntry(1610809385, (short)1, "PopulatePartial", "(Ljava/lang/String;)V"); |
889 | } |
890 | } |
891 | } |