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 Fields20 extends com.moesol.bindings.platform_sdk.data_services.Fields15 { |
9 | public static final Class TYPELIB = TYPELIB_2A75196C_D9EB_4129_B803_931327F72D5C.class; |
10 | /** |
11 | * <code>IDL: [uuid(0000054D-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 | 0x0000054d, (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 Name |
24 | * <code>IDL: [in] BSTR</code> |
25 | * @param Type |
26 | * <code>IDL: [in] DataTypeEnum</code> |
27 | * @param DefinedSize |
28 | * <code>IDL: [in] [optional] [default] LONG</code> |
29 | * @param Attrib |
30 | * <code>IDL: [in] [optional] [default] FieldAttributeEnum</code> |
31 | */ |
32 | public void _Append( |
33 | /*[in]*/ String Name, |
34 | /*[in]*/ int Type, |
35 | /*[in]*/ int DefinedSize, |
36 | /*[in]*/ int Attrib); |
37 | |
38 | /** |
39 | * <code>IDL: [ helpstring("") ]</code> |
40 | * |
41 | * @param Index |
42 | * <code>IDL: [in] VARIANT</code> |
43 | */ |
44 | public void Delete( |
45 | /*[in]*/ Object Index); |
46 | |
47 | |
48 | /** <em>Implementation</em>, <small>Java to COM</small>. */ |
49 | public static class Jni extends com.moesol.bindings.platform_sdk.data_services.Fields15.Jni implements Fields20 { |
50 | |
51 | protected Jni () { |
52 | } |
53 | |
54 | |
55 | private native void jni__Append( |
56 | /*[in]*/ String p0, |
57 | /*[in]*/ int p1, |
58 | /*[in]*/ int p2, |
59 | /*[in]*/ int p3); |
60 | public void _Append( |
61 | /*[in]*/ String p0, |
62 | /*[in]*/ int p1, |
63 | /*[in]*/ int p2, |
64 | /*[in]*/ int p3) { |
65 | |
66 | jni__Append(p0, p1, p2, p3); |
67 | } |
68 | |
69 | private native void jni_Delete( |
70 | /*[in]*/ Object p0); |
71 | public void Delete( |
72 | /*[in]*/ Object p0) { |
73 | |
74 | jni_Delete(p0); |
75 | } |
76 | |
77 | } |
78 | |
79 | /** <em>Implementation</em>, <small>COM to Java</small>. */ |
80 | public static class Disp extends com.moesol.bindings.platform_sdk.data_services.Fields15.Disp { |
81 | public static com.moesol.bindings.platform_sdk.component_services.IUnknown.Disp instance() { |
82 | return s_instance; |
83 | } |
84 | |
85 | private static Disp s_instance = new Disp(); |
86 | |
87 | protected Disp() { |
88 | addEntry(1610874880, (short)1, "_Append", "(Ljava/lang/String;III)V"); |
89 | addEntry(4, (short)1, "Delete", "(Ljava/lang/Object;)V"); |
90 | } |
91 | } |
92 | } |