| 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 _DAO 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(0000000A-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 | 0x0000000a, (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] Properties**</code> |
| 25 | */ |
| 26 | public com.moesol.bindings.microsoft.dao.Properties getProperties(); |
| 27 | |
| 28 | |
| 29 | /** <em>Implementation</em>, <small>Java to COM</small>. */ |
| 30 | public static class Jni extends com.moesol.bindings.platform_sdk.component_services.IDispatch.Jni implements _DAO { |
| 31 | |
| 32 | protected Jni () { |
| 33 | } |
| 34 | protected void internalOnSetInterface() { |
| 35 | MoeSolInternal.recordApartment(this); |
| 36 | } |
| 37 | |
| 38 | |
| 39 | private native com.moesol.bindings.microsoft.dao.Properties jni_getProperties(); |
| 40 | public com.moesol.bindings.microsoft.dao.Properties getProperties() { |
| 41 | |
| 42 | MoeSolInternal.checkApartment(this); |
| 43 | return jni_getProperties(); |
| 44 | } |
| 45 | |
| 46 | } |
| 47 | |
| 48 | /** <em>Implementation</em>, <small>COM to Java</small>. */ |
| 49 | public static class Disp extends com.moesol.bindings.platform_sdk.component_services.IDispatch.Disp { |
| 50 | public static com.moesol.bindings.platform_sdk.component_services.IUnknown.Disp instance() { |
| 51 | return s_instance; |
| 52 | } |
| 53 | |
| 54 | private static Disp s_instance = new Disp(); |
| 55 | |
| 56 | protected Disp() { |
| 57 | addEntry(10, (short)2, "getProperties", "()Lcom/moesol/bindings/microsoft/dao/Properties;"); |
| 58 | } |
| 59 | } |
| 60 | } |