| 1 | // tlb2java |
| 2 | package com.moesol.bindings.platform_sdk.data_services; |
| 3 | |
| 4 | |
| 5 | /** |
| 6 | * <code>IDL: [ helpstring(""), hidden, dual, nonextensible, oleautomation, dispatchable ] interface</code> |
| 7 | */ |
| 8 | public interface Recordset21 extends com.moesol.bindings.platform_sdk.data_services.Recordset20 { |
| 9 | public static final Class TYPELIB = TYPELIB_2A75196C_D9EB_4129_B803_931327F72D5C.class; |
| 10 | /** |
| 11 | * <code>IDL: [uuid(00000555-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 | 0x00000555, (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 KeyValues |
| 24 | * <code>IDL: [in] VARIANT</code> |
| 25 | * @param SeekOption |
| 26 | * <code>IDL: [in] [optional] [default] SeekEnum</code> |
| 27 | */ |
| 28 | public void Seek( |
| 29 | /*[in]*/ Object KeyValues, |
| 30 | /*[in]*/ int SeekOption); |
| 31 | |
| 32 | /** |
| 33 | * <code>IDL: [ helpstring("") ]</code> |
| 34 | * |
| 35 | * @param pbstrIndex |
| 36 | * <code>IDL: [in] BSTR</code> |
| 37 | */ |
| 38 | public void setIndex( |
| 39 | /*[in]*/ String pbstrIndex); |
| 40 | |
| 41 | /** |
| 42 | * <code>IDL: [ helpstring("") ]</code> |
| 43 | * |
| 44 | * @return |
| 45 | * <code>IDL: [out] [retval] BSTR*</code> |
| 46 | */ |
| 47 | public String getIndex(); |
| 48 | |
| 49 | |
| 50 | /** <em>Implementation</em>, <small>Java to COM</small>. */ |
| 51 | public static class Jni extends com.moesol.bindings.platform_sdk.data_services.Recordset20.Jni implements Recordset21 { |
| 52 | |
| 53 | protected Jni () { |
| 54 | } |
| 55 | |
| 56 | |
| 57 | private native void jni_Seek( |
| 58 | /*[in]*/ Object p0, |
| 59 | /*[in]*/ int p1); |
| 60 | public void Seek( |
| 61 | /*[in]*/ Object p0, |
| 62 | /*[in]*/ int p1) { |
| 63 | |
| 64 | jni_Seek(p0, p1); |
| 65 | } |
| 66 | |
| 67 | private native void jni_setIndex( |
| 68 | /*[in]*/ String p0); |
| 69 | public void setIndex( |
| 70 | /*[in]*/ String p0) { |
| 71 | |
| 72 | jni_setIndex(p0); |
| 73 | } |
| 74 | |
| 75 | private native String jni_getIndex(); |
| 76 | public String getIndex() { |
| 77 | |
| 78 | return jni_getIndex(); |
| 79 | } |
| 80 | |
| 81 | } |
| 82 | |
| 83 | /** <em>Implementation</em>, <small>COM to Java</small>. */ |
| 84 | public static class Disp extends com.moesol.bindings.platform_sdk.data_services.Recordset20.Disp { |
| 85 | public static com.moesol.bindings.platform_sdk.component_services.IUnknown.Disp instance() { |
| 86 | return s_instance; |
| 87 | } |
| 88 | |
| 89 | private static Disp s_instance = new Disp(); |
| 90 | |
| 91 | protected Disp() { |
| 92 | addEntry(1066, (short)1, "Seek", "(Ljava/lang/Object;I)V"); |
| 93 | addEntry(1067, (short)4, "setIndex", "(Ljava/lang/String;)V"); |
| 94 | addEntry(1067, (short)2, "getIndex", "()Ljava/lang/String;"); |
| 95 | } |
| 96 | } |
| 97 | } |