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 _Index 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(00000059-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 | 0x00000059, (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] BSTR*</code> |
25 | */ |
26 | public String getName(); |
27 | |
28 | /** |
29 | * <code>IDL: [ helpstring("") ]</code> |
30 | * |
31 | * @param pbstr |
32 | * <code>IDL: [in] BSTR</code> |
33 | */ |
34 | public void setName( |
35 | /*[in]*/ String pbstr); |
36 | |
37 | /** |
38 | * <code>IDL: [ helpstring("") ]</code> |
39 | * |
40 | * @return |
41 | * <code>IDL: [out] [retval] VARIANT_BOOL*</code> |
42 | */ |
43 | public boolean getForeign(); |
44 | |
45 | /** |
46 | * <code>IDL: [ helpstring("") ]</code> |
47 | * |
48 | * @return |
49 | * <code>IDL: [out] [retval] VARIANT_BOOL*</code> |
50 | */ |
51 | public boolean getUnique(); |
52 | |
53 | /** |
54 | * <code>IDL: [ helpstring("") ]</code> |
55 | * |
56 | * @param pb |
57 | * <code>IDL: [in] VARIANT_BOOL</code> |
58 | */ |
59 | public void setUnique( |
60 | /*[in]*/ boolean pb); |
61 | |
62 | /** |
63 | * <code>IDL: [ helpstring("") ]</code> |
64 | * |
65 | * @return |
66 | * <code>IDL: [out] [retval] VARIANT_BOOL*</code> |
67 | */ |
68 | public boolean getClustered(); |
69 | |
70 | /** |
71 | * <code>IDL: [ helpstring("") ]</code> |
72 | * |
73 | * @param pb |
74 | * <code>IDL: [in] VARIANT_BOOL</code> |
75 | */ |
76 | public void setClustered( |
77 | /*[in]*/ boolean pb); |
78 | |
79 | /** |
80 | * <code>IDL: [ helpstring("") ]</code> |
81 | * |
82 | * @return |
83 | * <code>IDL: [out] [retval] VARIANT_BOOL*</code> |
84 | */ |
85 | public boolean getRequired(); |
86 | |
87 | /** |
88 | * <code>IDL: [ helpstring("") ]</code> |
89 | * |
90 | * @param pb |
91 | * <code>IDL: [in] VARIANT_BOOL</code> |
92 | */ |
93 | public void setRequired( |
94 | /*[in]*/ boolean pb); |
95 | |
96 | /** |
97 | * <code>IDL: [ helpstring("") ]</code> |
98 | * |
99 | * @return |
100 | * <code>IDL: [out] [retval] VARIANT_BOOL*</code> |
101 | */ |
102 | public boolean getIgnoreNulls(); |
103 | |
104 | /** |
105 | * <code>IDL: [ helpstring("") ]</code> |
106 | * |
107 | * @param pb |
108 | * <code>IDL: [in] VARIANT_BOOL</code> |
109 | */ |
110 | public void setIgnoreNulls( |
111 | /*[in]*/ boolean pb); |
112 | |
113 | /** |
114 | * <code>IDL: [ helpstring("") ]</code> |
115 | * |
116 | * @return |
117 | * <code>IDL: [out] [retval] VARIANT_BOOL*</code> |
118 | */ |
119 | public boolean getPrimary(); |
120 | |
121 | /** |
122 | * <code>IDL: [ helpstring("") ]</code> |
123 | * |
124 | * @param pb |
125 | * <code>IDL: [in] VARIANT_BOOL</code> |
126 | */ |
127 | public void setPrimary( |
128 | /*[in]*/ boolean pb); |
129 | |
130 | /** |
131 | * <code>IDL: [ helpstring("") ]</code> |
132 | * |
133 | * @return |
134 | * <code>IDL: [out] [retval] LONG*</code> |
135 | */ |
136 | public int getDistinctCount(); |
137 | |
138 | /** |
139 | * <code>IDL: [ helpstring("") ]</code> |
140 | * |
141 | * @return |
142 | * <code>IDL: [out] [retval] VARIANT*</code> |
143 | */ |
144 | public Object getFields(); |
145 | |
146 | /** |
147 | * <code>IDL: [ helpstring("") ]</code> |
148 | * |
149 | * @param pv |
150 | * <code>IDL: [in] VARIANT</code> |
151 | */ |
152 | public void setFields( |
153 | /*[in]*/ Object pv); |
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 Size |
163 | * <code>IDL: [in] [optional] VARIANT</code> |
164 | * @return |
165 | * <code>IDL: [out] [retval] Field**</code> |
166 | */ |
167 | public com.moesol.bindings.microsoft.dao.Field CreateField( |
168 | /*[in]*/ Object Name, |
169 | /*[in]*/ Object Type, |
170 | /*[in]*/ Object Size); |
171 | |
172 | /** [optional=1] */ |
173 | public com.moesol.bindings.microsoft.dao.Field CreateField( |
174 | /*[in]*/ Object Name, |
175 | /*[in]*/ Object Type); |
176 | |
177 | /** [optional=2] */ |
178 | public com.moesol.bindings.microsoft.dao.Field CreateField( |
179 | /*[in]*/ Object Name); |
180 | |
181 | /** [optional=3] */ |
182 | public com.moesol.bindings.microsoft.dao.Field CreateField(); |
183 | |
184 | /** |
185 | * <code>IDL: [ helpstring("") ]</code> |
186 | * |
187 | * @param Name |
188 | * <code>IDL: [in] [optional] VARIANT</code> |
189 | * @param Type |
190 | * <code>IDL: [in] [optional] VARIANT</code> |
191 | * @param Value |
192 | * <code>IDL: [in] [optional] VARIANT</code> |
193 | * @param DDL |
194 | * <code>IDL: [in] [optional] VARIANT</code> |
195 | * @return |
196 | * <code>IDL: [out] [retval] Property**</code> |
197 | */ |
198 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
199 | /*[in]*/ Object Name, |
200 | /*[in]*/ Object Type, |
201 | /*[in]*/ Object Value, |
202 | /*[in]*/ Object DDL); |
203 | |
204 | /** [optional=1] */ |
205 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
206 | /*[in]*/ Object Name, |
207 | /*[in]*/ Object Type, |
208 | /*[in]*/ Object Value); |
209 | |
210 | /** [optional=2] */ |
211 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
212 | /*[in]*/ Object Name, |
213 | /*[in]*/ Object Type); |
214 | |
215 | /** [optional=3] */ |
216 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
217 | /*[in]*/ Object Name); |
218 | |
219 | /** [optional=4] */ |
220 | public com.moesol.bindings.microsoft.dao.Property CreateProperty(); |
221 | |
222 | |
223 | /** <em>Implementation</em>, <small>Java to COM</small>. */ |
224 | public static class Jni extends com.moesol.bindings.microsoft.dao._DAO.Jni implements _Index { |
225 | |
226 | protected Jni () { |
227 | } |
228 | protected void internalOnSetInterface() { |
229 | MoeSolInternal.recordApartment(this); |
230 | } |
231 | |
232 | |
233 | private native String jni_getName(); |
234 | public String getName() { |
235 | |
236 | MoeSolInternal.checkApartment(this); |
237 | return jni_getName(); |
238 | } |
239 | |
240 | private native void jni_setName( |
241 | /*[in]*/ String p0); |
242 | public void setName( |
243 | /*[in]*/ String p0) { |
244 | |
245 | MoeSolInternal.checkApartment(this); |
246 | jni_setName(p0); |
247 | } |
248 | |
249 | private native boolean jni_getForeign(); |
250 | public boolean getForeign() { |
251 | |
252 | MoeSolInternal.checkApartment(this); |
253 | return jni_getForeign(); |
254 | } |
255 | |
256 | private native boolean jni_getUnique(); |
257 | public boolean getUnique() { |
258 | |
259 | MoeSolInternal.checkApartment(this); |
260 | return jni_getUnique(); |
261 | } |
262 | |
263 | private native void jni_setUnique( |
264 | /*[in]*/ boolean p0); |
265 | public void setUnique( |
266 | /*[in]*/ boolean p0) { |
267 | |
268 | MoeSolInternal.checkApartment(this); |
269 | jni_setUnique(p0); |
270 | } |
271 | |
272 | private native boolean jni_getClustered(); |
273 | public boolean getClustered() { |
274 | |
275 | MoeSolInternal.checkApartment(this); |
276 | return jni_getClustered(); |
277 | } |
278 | |
279 | private native void jni_setClustered( |
280 | /*[in]*/ boolean p0); |
281 | public void setClustered( |
282 | /*[in]*/ boolean p0) { |
283 | |
284 | MoeSolInternal.checkApartment(this); |
285 | jni_setClustered(p0); |
286 | } |
287 | |
288 | private native boolean jni_getRequired(); |
289 | public boolean getRequired() { |
290 | |
291 | MoeSolInternal.checkApartment(this); |
292 | return jni_getRequired(); |
293 | } |
294 | |
295 | private native void jni_setRequired( |
296 | /*[in]*/ boolean p0); |
297 | public void setRequired( |
298 | /*[in]*/ boolean p0) { |
299 | |
300 | MoeSolInternal.checkApartment(this); |
301 | jni_setRequired(p0); |
302 | } |
303 | |
304 | private native boolean jni_getIgnoreNulls(); |
305 | public boolean getIgnoreNulls() { |
306 | |
307 | MoeSolInternal.checkApartment(this); |
308 | return jni_getIgnoreNulls(); |
309 | } |
310 | |
311 | private native void jni_setIgnoreNulls( |
312 | /*[in]*/ boolean p0); |
313 | public void setIgnoreNulls( |
314 | /*[in]*/ boolean p0) { |
315 | |
316 | MoeSolInternal.checkApartment(this); |
317 | jni_setIgnoreNulls(p0); |
318 | } |
319 | |
320 | private native boolean jni_getPrimary(); |
321 | public boolean getPrimary() { |
322 | |
323 | MoeSolInternal.checkApartment(this); |
324 | return jni_getPrimary(); |
325 | } |
326 | |
327 | private native void jni_setPrimary( |
328 | /*[in]*/ boolean p0); |
329 | public void setPrimary( |
330 | /*[in]*/ boolean p0) { |
331 | |
332 | MoeSolInternal.checkApartment(this); |
333 | jni_setPrimary(p0); |
334 | } |
335 | |
336 | private native int jni_getDistinctCount(); |
337 | public int getDistinctCount() { |
338 | |
339 | MoeSolInternal.checkApartment(this); |
340 | return jni_getDistinctCount(); |
341 | } |
342 | |
343 | private native Object jni_getFields(); |
344 | public Object getFields() { |
345 | |
346 | MoeSolInternal.checkApartment(this); |
347 | return jni_getFields(); |
348 | } |
349 | |
350 | private native void jni_setFields( |
351 | /*[in]*/ Object p0); |
352 | public void setFields( |
353 | /*[in]*/ Object p0) { |
354 | |
355 | MoeSolInternal.checkApartment(this); |
356 | jni_setFields(p0); |
357 | } |
358 | |
359 | private native com.moesol.bindings.microsoft.dao.Field jni_CreateField( |
360 | /*[in]*/ Object p0, |
361 | /*[in]*/ Object p1, |
362 | /*[in]*/ Object p2); |
363 | public com.moesol.bindings.microsoft.dao.Field CreateField( |
364 | /*[in]*/ Object p0, |
365 | /*[in]*/ Object p1, |
366 | /*[in]*/ Object p2) { |
367 | |
368 | MoeSolInternal.checkApartment(this); |
369 | return jni_CreateField(p0, p1, p2); |
370 | } |
371 | |
372 | /** [optional=1] */ |
373 | public com.moesol.bindings.microsoft.dao.Field CreateField( |
374 | /*[in]*/ Object p0, |
375 | /*[in]*/ Object p1) { |
376 | |
377 | return CreateField(p0, p1, null); |
378 | } |
379 | /** [optional=2] */ |
380 | public com.moesol.bindings.microsoft.dao.Field CreateField( |
381 | /*[in]*/ Object p0) { |
382 | |
383 | return CreateField(p0, null, null); |
384 | } |
385 | /** [optional=3] */ |
386 | public com.moesol.bindings.microsoft.dao.Field CreateField() { |
387 | |
388 | return CreateField(null, null, null); |
389 | } |
390 | private native com.moesol.bindings.microsoft.dao.Property jni_CreateProperty( |
391 | /*[in]*/ Object p0, |
392 | /*[in]*/ Object p1, |
393 | /*[in]*/ Object p2, |
394 | /*[in]*/ Object p3); |
395 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
396 | /*[in]*/ Object p0, |
397 | /*[in]*/ Object p1, |
398 | /*[in]*/ Object p2, |
399 | /*[in]*/ Object p3) { |
400 | |
401 | MoeSolInternal.checkApartment(this); |
402 | return jni_CreateProperty(p0, p1, p2, p3); |
403 | } |
404 | |
405 | /** [optional=1] */ |
406 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
407 | /*[in]*/ Object p0, |
408 | /*[in]*/ Object p1, |
409 | /*[in]*/ Object p2) { |
410 | |
411 | return CreateProperty(p0, p1, p2, null); |
412 | } |
413 | /** [optional=2] */ |
414 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
415 | /*[in]*/ Object p0, |
416 | /*[in]*/ Object p1) { |
417 | |
418 | return CreateProperty(p0, p1, null, null); |
419 | } |
420 | /** [optional=3] */ |
421 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
422 | /*[in]*/ Object p0) { |
423 | |
424 | return CreateProperty(p0, null, null, null); |
425 | } |
426 | /** [optional=4] */ |
427 | public com.moesol.bindings.microsoft.dao.Property CreateProperty() { |
428 | |
429 | return CreateProperty(null, null, null, null); |
430 | } |
431 | } |
432 | |
433 | /** <em>Implementation</em>, <small>COM to Java</small>. */ |
434 | public static class Disp extends com.moesol.bindings.microsoft.dao._DAO.Disp { |
435 | public static com.moesol.bindings.platform_sdk.component_services.IUnknown.Disp instance() { |
436 | return s_instance; |
437 | } |
438 | |
439 | private static Disp s_instance = new Disp(); |
440 | |
441 | protected Disp() { |
442 | addEntry(1610809344, (short)2, "getName", "()Ljava/lang/String;"); |
443 | addEntry(1610809344, (short)4, "setName", "(Ljava/lang/String;)V"); |
444 | addEntry(1610809346, (short)2, "getForeign", "()Z"); |
445 | addEntry(1610809347, (short)2, "getUnique", "()Z"); |
446 | addEntry(1610809347, (short)4, "setUnique", "(Z)V"); |
447 | addEntry(1610809349, (short)2, "getClustered", "()Z"); |
448 | addEntry(1610809349, (short)4, "setClustered", "(Z)V"); |
449 | addEntry(1610809351, (short)2, "getRequired", "()Z"); |
450 | addEntry(1610809351, (short)4, "setRequired", "(Z)V"); |
451 | addEntry(1610809353, (short)2, "getIgnoreNulls", "()Z"); |
452 | addEntry(1610809353, (short)4, "setIgnoreNulls", "(Z)V"); |
453 | addEntry(1610809355, (short)2, "getPrimary", "()Z"); |
454 | addEntry(1610809355, (short)4, "setPrimary", "(Z)V"); |
455 | addEntry(1610809357, (short)2, "getDistinctCount", "()I"); |
456 | addEntry(1610809358, (short)2, "getFields", "()Ljava/lang/Object;"); |
457 | addEntry(1610809358, (short)4, "setFields", "(Ljava/lang/Object;)V"); |
458 | addEntry(1610809360, (short)1, "CreateField", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/moesol/bindings/microsoft/dao/Field;"); |
459 | addEntry(1610809361, (short)1, "CreateProperty", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/moesol/bindings/microsoft/dao/Property;"); |
460 | } |
461 | } |
462 | } |