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 _Collection 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(000000A0-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 | 0x000000a0, (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] SHORT*</code> |
25 | */ |
26 | public short getCount(); |
27 | |
28 | /** |
29 | * <code>IDL: [ helpstring("") ]</code> |
30 | * |
31 | */ |
32 | public void Refresh(); |
33 | |
34 | |
35 | /** <em>Implementation</em>, <small>Java to COM</small>. */ |
36 | public static class Jni extends com.moesol.bindings.platform_sdk.component_services.IDispatch.Jni implements _Collection { |
37 | |
38 | protected Jni () { |
39 | } |
40 | protected void internalOnSetInterface() { |
41 | MoeSolInternal.recordApartment(this); |
42 | } |
43 | |
44 | |
45 | private native short jni_getCount(); |
46 | public short getCount() { |
47 | |
48 | MoeSolInternal.checkApartment(this); |
49 | return jni_getCount(); |
50 | } |
51 | |
52 | private native void jni_Refresh(); |
53 | public void Refresh() { |
54 | |
55 | MoeSolInternal.checkApartment(this); |
56 | jni_Refresh(); |
57 | } |
58 | |
59 | } |
60 | |
61 | /** <em>Implementation</em>, <small>COM to Java</small>. */ |
62 | public static class Disp extends com.moesol.bindings.platform_sdk.component_services.IDispatch.Disp { |
63 | public static com.moesol.bindings.platform_sdk.component_services.IUnknown.Disp instance() { |
64 | return s_instance; |
65 | } |
66 | |
67 | private static Disp s_instance = new Disp(); |
68 | |
69 | protected Disp() { |
70 | addEntry(1610743808, (short)2, "getCount", "()S"); |
71 | addEntry(-4, (short)1, "_NewEnum", "()Lcom/moesol/bindings/platform_sdk/component_services/IUnknown;"); |
72 | addEntry(1610743810, (short)1, "Refresh", "()V"); |
73 | } |
74 | } |
75 | } |