EMMA Coverage Report (generated Mon Mar 20 21:34:30 PST 2006)
[all classes][com.moesol.bindings.microsoft.dao]

COVERAGE SUMMARY FOR SOURCE FILE [Connection.java]

nameclass, %method, %block, %line, %
Connection.java0%   (0/3)0%   (0/28)0%   (0/248)0%   (0/70)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class Connection$10%   (0/1)100% (0/0)100% (0/0)100% (0/0)
     
class Connection$Disp0%   (0/1)0%   (0/3)0%   (0/112)0%   (0/21)
<static initializer> 0%   (0/1)0%   (0/5)0%   (0/1)
Connection$Disp (): void 0%   (0/1)0%   (0/105)0%   (0/19)
instance (): IUnknown$Disp 0%   (0/1)0%   (0/2)0%   (0/1)
     
class Connection$Jni0%   (0/1)0%   (0/25)0%   (0/136)0%   (0/49)
Cancel (): void 0%   (0/1)0%   (0/5)0%   (0/3)
Close (): void 0%   (0/1)0%   (0/5)0%   (0/3)
Connection$Jni (): void 0%   (0/1)0%   (0/3)0%   (0/2)
CreateQueryDef (): QueryDef 0%   (0/1)0%   (0/5)0%   (0/1)
CreateQueryDef (Object): QueryDef 0%   (0/1)0%   (0/5)0%   (0/1)
CreateQueryDef (Object, Object): QueryDef 0%   (0/1)0%   (0/7)0%   (0/2)
Execute (String): void 0%   (0/1)0%   (0/5)0%   (0/2)
Execute (String, Object): void 0%   (0/1)0%   (0/7)0%   (0/3)
OpenRecordset (String): Recordset 0%   (0/1)0%   (0/7)0%   (0/1)
OpenRecordset (String, Object): Recordset 0%   (0/1)0%   (0/7)0%   (0/1)
OpenRecordset (String, Object, Object): Recordset 0%   (0/1)0%   (0/7)0%   (0/1)
OpenRecordset (String, Object, Object, Object): Recordset 0%   (0/1)0%   (0/9)0%   (0/2)
getConnect (): String 0%   (0/1)0%   (0/5)0%   (0/2)
getDatabase (): Database 0%   (0/1)0%   (0/5)0%   (0/2)
getName (): String 0%   (0/1)0%   (0/5)0%   (0/2)
getQueryDefs (): QueryDefs 0%   (0/1)0%   (0/5)0%   (0/2)
getQueryTimeout (): short 0%   (0/1)0%   (0/5)0%   (0/2)
getRecordsAffected (): int 0%   (0/1)0%   (0/5)0%   (0/2)
getRecordsets (): Recordsets 0%   (0/1)0%   (0/5)0%   (0/2)
getStillExecuting (): boolean 0%   (0/1)0%   (0/5)0%   (0/2)
getTransactions (): boolean 0%   (0/1)0%   (0/5)0%   (0/2)
getUpdatable (): boolean 0%   (0/1)0%   (0/5)0%   (0/2)
gethDbc (): int 0%   (0/1)0%   (0/5)0%   (0/2)
internalOnSetInterface (): void 0%   (0/1)0%   (0/3)0%   (0/2)
setQueryTimeout (short): void 0%   (0/1)0%   (0/6)0%   (0/3)

1// tlb2java
2package com.moesol.bindings.microsoft.dao;
3 
4 
5/**
6 * <code>IDL: [ helpstring(""), dual, nonextensible, oleautomation, dispatchable ] interface</code>
7 */
8public interface Connection extends com.moesol.bindings.platform_sdk.component_services.IDispatch {
9    public static final Class TYPELIB = TYPELIB_00025E01_0000_0000_C000_000000000046.class;
10    /**
11     * <code>IDL: [uuid(00000041-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        0x00000041, (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     * @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] Database**</code>
41     */
42    public com.moesol.bindings.microsoft.dao.Database getDatabase();
43 
44    /**
45     * <code>IDL: [ helpstring("") ]</code>
46     *
47     * @return 
48     *     <code>IDL: [out] [retval] LONG*</code>
49     */
50    public int gethDbc();
51 
52    /**
53     * <code>IDL: [ helpstring("") ]</code>
54     *
55     * @return 
56     *     <code>IDL: [out] [retval] SHORT*</code>
57     */
58    public short getQueryTimeout();
59 
60    /**
61     * <code>IDL: [ helpstring("") ]</code>
62     *
63     * @param pSeconds
64     *     <code>IDL: [in] SHORT</code>
65     */
66    public void setQueryTimeout(
67                /*[in]*/ short pSeconds);
68 
69    /**
70     * <code>IDL: [ helpstring("") ]</code>
71     *
72     * @return 
73     *     <code>IDL: [out] [retval] VARIANT_BOOL*</code>
74     */
75    public boolean getTransactions();
76 
77    /**
78     * <code>IDL: [ helpstring("") ]</code>
79     *
80     * @return 
81     *     <code>IDL: [out] [retval] LONG*</code>
82     */
83    public int getRecordsAffected();
84 
85    /**
86     * <code>IDL: [ helpstring("") ]</code>
87     *
88     * @return 
89     *     <code>IDL: [out] [retval] VARIANT_BOOL*</code>
90     */
91    public boolean getStillExecuting();
92 
93    /**
94     * <code>IDL: [ helpstring("") ]</code>
95     *
96     * @return 
97     *     <code>IDL: [out] [retval] VARIANT_BOOL*</code>
98     */
99    public boolean getUpdatable();
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] Recordsets**</code>
114     */
115    public com.moesol.bindings.microsoft.dao.Recordsets getRecordsets();
116 
117    /**
118     * <code>IDL: [ helpstring("") ]</code>
119     *
120     */
121    public void Cancel();
122 
123    /**
124     * <code>IDL: [ helpstring("") ]</code>
125     *
126     */
127    public void Close();
128 
129    /**
130     * <code>IDL: [ helpstring("") ]</code>
131     *
132     * @param Name
133     *     <code>IDL: [in] [optional] VARIANT</code>
134     * @param SQLText
135     *     <code>IDL: [in] [optional] VARIANT</code>
136     * @return 
137     *     <code>IDL: [out] [retval] QueryDef**</code>
138     */
139    public com.moesol.bindings.microsoft.dao.QueryDef CreateQueryDef(
140                /*[in]*/ Object Name, 
141                /*[in]*/ Object SQLText);
142 
143    /** [optional=1] */
144    public com.moesol.bindings.microsoft.dao.QueryDef CreateQueryDef(
145                /*[in]*/ Object Name);
146 
147    /** [optional=2] */
148    public com.moesol.bindings.microsoft.dao.QueryDef CreateQueryDef();
149 
150    /**
151     * <code>IDL: [ helpstring("") ]</code>
152     *
153     * @param Query
154     *     <code>IDL: [in] BSTR</code>
155     * @param Options
156     *     <code>IDL: [in] [optional] VARIANT</code>
157     */
158    public void Execute(
159                /*[in]*/ String Query, 
160                /*[in]*/ Object Options);
161 
162    /** [optional=1] */
163    public void Execute(
164                /*[in]*/ String Query);
165 
166    /**
167     * <code>IDL: [ helpstring("") ]</code>
168     *
169     * @param Name
170     *     <code>IDL: [in] BSTR</code>
171     * @param Type
172     *     <code>IDL: [in] [optional] VARIANT</code>
173     * @param Options
174     *     <code>IDL: [in] [optional] VARIANT</code>
175     * @param LockEdit
176     *     <code>IDL: [in] [optional] VARIANT</code>
177     * @return 
178     *     <code>IDL: [out] [retval] Recordset**</code>
179     */
180    public com.moesol.bindings.microsoft.dao.Recordset OpenRecordset(
181                /*[in]*/ String Name, 
182                /*[in]*/ Object Type, 
183                /*[in]*/ Object Options, 
184                /*[in]*/ Object LockEdit);
185 
186    /** [optional=1] */
187    public com.moesol.bindings.microsoft.dao.Recordset OpenRecordset(
188                /*[in]*/ String Name, 
189                /*[in]*/ Object Type, 
190                /*[in]*/ Object Options);
191 
192    /** [optional=2] */
193    public com.moesol.bindings.microsoft.dao.Recordset OpenRecordset(
194                /*[in]*/ String Name, 
195                /*[in]*/ Object Type);
196 
197    /** [optional=3] */
198    public com.moesol.bindings.microsoft.dao.Recordset OpenRecordset(
199                /*[in]*/ String Name);
200 
201 
202    /** <em>Implementation</em>, <small>Java to COM</small>. */
203    public static class Jni extends com.moesol.bindings.platform_sdk.component_services.IDispatch.Jni implements Connection {
204 
205    protected Jni () {
206    }
207    protected void internalOnSetInterface() {
208        MoeSolInternal.recordApartment(this);
209    }
210 
211 
212    private native String jni_getName();
213    public String getName() {
214 
215        MoeSolInternal.checkApartment(this);
216        return jni_getName();
217    }
218 
219    private native String jni_getConnect();
220    public String getConnect() {
221 
222        MoeSolInternal.checkApartment(this);
223        return jni_getConnect();
224    }
225 
226    private native com.moesol.bindings.microsoft.dao.Database jni_getDatabase();
227    public com.moesol.bindings.microsoft.dao.Database getDatabase() {
228 
229        MoeSolInternal.checkApartment(this);
230        return jni_getDatabase();
231    }
232 
233    private native int jni_gethDbc();
234    public int gethDbc() {
235 
236        MoeSolInternal.checkApartment(this);
237        return jni_gethDbc();
238    }
239 
240    private native short jni_getQueryTimeout();
241    public short getQueryTimeout() {
242 
243        MoeSolInternal.checkApartment(this);
244        return jni_getQueryTimeout();
245    }
246 
247    private native void jni_setQueryTimeout(
248                /*[in]*/ short p0);
249    public void setQueryTimeout(
250                /*[in]*/ short p0) {
251 
252        MoeSolInternal.checkApartment(this);
253        jni_setQueryTimeout(p0);
254    }
255 
256    private native boolean jni_getTransactions();
257    public boolean getTransactions() {
258 
259        MoeSolInternal.checkApartment(this);
260        return jni_getTransactions();
261    }
262 
263    private native int jni_getRecordsAffected();
264    public int getRecordsAffected() {
265 
266        MoeSolInternal.checkApartment(this);
267        return jni_getRecordsAffected();
268    }
269 
270    private native boolean jni_getStillExecuting();
271    public boolean getStillExecuting() {
272 
273        MoeSolInternal.checkApartment(this);
274        return jni_getStillExecuting();
275    }
276 
277    private native boolean jni_getUpdatable();
278    public boolean getUpdatable() {
279 
280        MoeSolInternal.checkApartment(this);
281        return jni_getUpdatable();
282    }
283 
284    private native com.moesol.bindings.microsoft.dao.QueryDefs jni_getQueryDefs();
285    public com.moesol.bindings.microsoft.dao.QueryDefs getQueryDefs() {
286 
287        MoeSolInternal.checkApartment(this);
288        return jni_getQueryDefs();
289    }
290 
291    private native com.moesol.bindings.microsoft.dao.Recordsets jni_getRecordsets();
292    public com.moesol.bindings.microsoft.dao.Recordsets getRecordsets() {
293 
294        MoeSolInternal.checkApartment(this);
295        return jni_getRecordsets();
296    }
297 
298    private native void jni_Cancel();
299    public void Cancel() {
300 
301        MoeSolInternal.checkApartment(this);
302        jni_Cancel();
303    }
304 
305    private native void jni_Close();
306    public void Close() {
307 
308        MoeSolInternal.checkApartment(this);
309        jni_Close();
310    }
311 
312    private native com.moesol.bindings.microsoft.dao.QueryDef jni_CreateQueryDef(
313                /*[in]*/ Object p0, 
314                /*[in]*/ Object p1);
315    public com.moesol.bindings.microsoft.dao.QueryDef CreateQueryDef(
316                /*[in]*/ Object p0, 
317                /*[in]*/ Object p1) {
318 
319        MoeSolInternal.checkApartment(this);
320        return jni_CreateQueryDef(p0, p1);
321    }
322 
323    /** [optional=1] */
324    public com.moesol.bindings.microsoft.dao.QueryDef CreateQueryDef(
325                /*[in]*/ Object p0) {
326 
327        return CreateQueryDef(p0, null);
328    }
329    /** [optional=2] */
330    public com.moesol.bindings.microsoft.dao.QueryDef CreateQueryDef() {
331 
332        return CreateQueryDef(null, null);
333    }
334    private native void jni_Execute(
335                /*[in]*/ String p0, 
336                /*[in]*/ Object p1);
337    public void Execute(
338                /*[in]*/ String p0, 
339                /*[in]*/ Object p1) {
340 
341        MoeSolInternal.checkApartment(this);
342        jni_Execute(p0, p1);
343    }
344 
345    /** [optional=1] */
346    public void Execute(
347                /*[in]*/ String p0) {
348 
349        Execute(p0, null);
350    }
351    private native com.moesol.bindings.microsoft.dao.Recordset jni_OpenRecordset(
352                /*[in]*/ String p0, 
353                /*[in]*/ Object p1, 
354                /*[in]*/ Object p2, 
355                /*[in]*/ Object p3);
356    public com.moesol.bindings.microsoft.dao.Recordset OpenRecordset(
357                /*[in]*/ String p0, 
358                /*[in]*/ Object p1, 
359                /*[in]*/ Object p2, 
360                /*[in]*/ Object p3) {
361 
362        MoeSolInternal.checkApartment(this);
363        return jni_OpenRecordset(p0, p1, p2, p3);
364    }
365 
366    /** [optional=1] */
367    public com.moesol.bindings.microsoft.dao.Recordset OpenRecordset(
368                /*[in]*/ String p0, 
369                /*[in]*/ Object p1, 
370                /*[in]*/ Object p2) {
371 
372        return OpenRecordset(p0, p1, p2, null);
373    }
374    /** [optional=2] */
375    public com.moesol.bindings.microsoft.dao.Recordset OpenRecordset(
376                /*[in]*/ String p0, 
377                /*[in]*/ Object p1) {
378 
379        return OpenRecordset(p0, p1, null, null);
380    }
381    /** [optional=3] */
382    public com.moesol.bindings.microsoft.dao.Recordset OpenRecordset(
383                /*[in]*/ String p0) {
384 
385        return OpenRecordset(p0, null, null, null);
386    }
387    }
388 
389    /** <em>Implementation</em>, <small>COM to Java</small>. */
390    public static class Disp extends com.moesol.bindings.platform_sdk.component_services.IDispatch.Disp {
391        public static com.moesol.bindings.platform_sdk.component_services.IUnknown.Disp instance() {
392            return s_instance;
393        }
394 
395        private static Disp s_instance = new Disp();
396 
397        protected Disp() {
398            addEntry(1610743808, (short)2, "getName", "()Ljava/lang/String;");
399            addEntry(1610743809, (short)2, "getConnect", "()Ljava/lang/String;");
400            addEntry(1610743810, (short)2, "getDatabase", "()Lcom/moesol/bindings/microsoft/dao/Database;");
401            addEntry(1610743811, (short)2, "gethDbc", "()I");
402            addEntry(1610743812, (short)2, "getQueryTimeout", "()S");
403            addEntry(1610743812, (short)4, "setQueryTimeout", "(S)V");
404            addEntry(1610743814, (short)2, "getTransactions", "()Z");
405            addEntry(1610743815, (short)2, "getRecordsAffected", "()I");
406            addEntry(1610743816, (short)2, "getStillExecuting", "()Z");
407            addEntry(1610743817, (short)2, "getUpdatable", "()Z");
408            addEntry(0, (short)2, "getQueryDefs", "()Lcom/moesol/bindings/microsoft/dao/QueryDefs;");
409            addEntry(1610743819, (short)2, "getRecordsets", "()Lcom/moesol/bindings/microsoft/dao/Recordsets;");
410            addEntry(1610743820, (short)1, "Cancel", "()V");
411            addEntry(1610743821, (short)1, "Close", "()V");
412            addEntry(1610743822, (short)1, "CreateQueryDef", "(Ljava/lang/Object;Ljava/lang/Object;)Lcom/moesol/bindings/microsoft/dao/QueryDef;");
413            addEntry(1610743823, (short)1, "Execute", "(Ljava/lang/String;Ljava/lang/Object;)V");
414            addEntry(1610743824, (short)1, "OpenRecordset", "(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/moesol/bindings/microsoft/dao/Recordset;");
415        }
416    }
417}

[all classes][com.moesol.bindings.microsoft.dao]
EMMA 2.0.5312 (C) Vladimir Roubtsov