| 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 Containers extends com.moesol.bindings.microsoft.dao._Collection { |
| 9 | public static final Class TYPELIB = TYPELIB_00025E01_0000_0000_C000_000000000046.class; |
| 10 | /** |
| 11 | * <code>IDL: [uuid(00000093-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 | 0x00000093, (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 | * @param Item |
| 24 | * <code>IDL: [in] VARIANT</code> |
| 25 | * @return |
| 26 | * <code>IDL: [out] [retval] Container**</code> |
| 27 | */ |
| 28 | public com.moesol.bindings.microsoft.dao.Container getItem( |
| 29 | /*[in]*/ Object Item); |
| 30 | |
| 31 | |
| 32 | /** <em>Implementation</em>, <small>Java to COM</small>. */ |
| 33 | public static class Jni extends com.moesol.bindings.microsoft.dao._Collection.Jni implements Containers { |
| 34 | |
| 35 | protected Jni () { |
| 36 | } |
| 37 | protected void internalOnSetInterface() { |
| 38 | MoeSolInternal.recordApartment(this); |
| 39 | } |
| 40 | |
| 41 | |
| 42 | private native com.moesol.bindings.microsoft.dao.Container jni_getItem( |
| 43 | /*[in]*/ Object p0); |
| 44 | public com.moesol.bindings.microsoft.dao.Container getItem( |
| 45 | /*[in]*/ Object p0) { |
| 46 | |
| 47 | MoeSolInternal.checkApartment(this); |
| 48 | return jni_getItem(p0); |
| 49 | } |
| 50 | |
| 51 | } |
| 52 | |
| 53 | /** <em>Implementation</em>, <small>COM to Java</small>. */ |
| 54 | public static class Disp extends com.moesol.bindings.microsoft.dao._Collection.Disp { |
| 55 | public static com.moesol.bindings.platform_sdk.component_services.IUnknown.Disp instance() { |
| 56 | return s_instance; |
| 57 | } |
| 58 | |
| 59 | private static Disp s_instance = new Disp(); |
| 60 | |
| 61 | protected Disp() { |
| 62 | addEntry(0, (short)2, "getItem", "(Ljava/lang/Object;)Lcom/moesol/bindings/microsoft/dao/Container;"); |
| 63 | } |
| 64 | } |
| 65 | } |