| 1 | // tlb2java |
| 2 | package com.moesol.bindings.microsoft.dao; |
| 3 | |
| 4 | |
| 5 | /** |
| 6 | * <code>IDL: [ helpstring(""), hidden, dual, nonextensible, oleautomation, dispatchable ] interface</code> |
| 7 | */ |
| 8 | public interface IndexFields extends com.moesol.bindings.microsoft.dao._DynaCollection { |
| 9 | public static final Class TYPELIB = TYPELIB_00025E01_0000_0000_C000_000000000046.class; |
| 10 | /** |
| 11 | * <code>IDL: [uuid(0000005D-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 | 0x0000005d, (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] [optional] VARIANT</code> |
| 25 | * @return |
| 26 | * <code>IDL: [out] [retval] VARIANT*</code> |
| 27 | */ |
| 28 | public Object getItem( |
| 29 | /*[in]*/ Object Item); |
| 30 | |
| 31 | /** [optional=1] */ |
| 32 | public Object getItem(); |
| 33 | |
| 34 | |
| 35 | /** <em>Implementation</em>, <small>Java to COM</small>. */ |
| 36 | public static class Jni extends com.moesol.bindings.microsoft.dao._DynaCollection.Jni implements IndexFields { |
| 37 | |
| 38 | protected Jni () { |
| 39 | } |
| 40 | protected void internalOnSetInterface() { |
| 41 | MoeSolInternal.recordApartment(this); |
| 42 | } |
| 43 | |
| 44 | |
| 45 | private native Object jni_getItem( |
| 46 | /*[in]*/ Object p0); |
| 47 | public Object getItem( |
| 48 | /*[in]*/ Object p0) { |
| 49 | |
| 50 | MoeSolInternal.checkApartment(this); |
| 51 | return jni_getItem(p0); |
| 52 | } |
| 53 | |
| 54 | /** [optional=1] */ |
| 55 | public Object getItem() { |
| 56 | |
| 57 | return getItem(null); |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | /** <em>Implementation</em>, <small>COM to Java</small>. */ |
| 62 | public static class Disp extends com.moesol.bindings.microsoft.dao._DynaCollection.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(0, (short)2, "getItem", "(Ljava/lang/Object;)Ljava/lang/Object;"); |
| 71 | } |
| 72 | } |
| 73 | } |