1 | // tlb2java |
2 | package com.moesol.bindings.platform_sdk.data_services; |
3 | |
4 | |
5 | /** |
6 | * <code>IDL: [ helpstring(""), dual, nonextensible, oleautomation, dispatchable ] interface</code> |
7 | */ |
8 | public interface Fields extends com.moesol.bindings.platform_sdk.data_services.Fields20 { |
9 | public static final Class TYPELIB = TYPELIB_2A75196C_D9EB_4129_B803_931327F72D5C.class; |
10 | /** |
11 | * <code>IDL: [uuid(00000564-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 | 0x00000564, (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 | * @param FieldValue |
32 | * <code>IDL: [in] [optional] VARIANT</code> |
33 | */ |
34 | public void Append( |
35 | /*[in]*/ String Name, |
36 | /*[in]*/ int Type, |
37 | /*[in]*/ int DefinedSize, |
38 | /*[in]*/ int Attrib, |
39 | /*[in]*/ Object FieldValue); |
40 | |
41 | /** [optional=1] */ |
42 | public void Append( |
43 | /*[in]*/ String Name, |
44 | /*[in]*/ int Type, |
45 | /*[in]*/ int DefinedSize, |
46 | /*[in]*/ int Attrib); |
47 | |
48 | /** |
49 | * <code>IDL: [ helpstring("") ]</code> |
50 | * |
51 | */ |
52 | public void Update(); |
53 | |
54 | /** |
55 | * <code>IDL: [ helpstring("") ]</code> |
56 | * |
57 | * @param ResyncValues |
58 | * <code>IDL: [in] [optional] [default] ResyncEnum</code> |
59 | */ |
60 | public void Resync( |
61 | /*[in]*/ int ResyncValues); |
62 | |
63 | /** |
64 | * <code>IDL: [ helpstring("") ]</code> |
65 | * |
66 | */ |
67 | public void CancelUpdate(); |
68 | |
69 | |
70 | /** <em>Implementation</em>, <small>Java to COM</small>. */ |
71 | public static class Jni extends com.moesol.bindings.platform_sdk.data_services.Fields20.Jni implements Fields { |
72 | |
73 | protected Jni () { |
74 | } |
75 | |
76 | |
77 | private native void jni_Append( |
78 | /*[in]*/ String p0, |
79 | /*[in]*/ int p1, |
80 | /*[in]*/ int p2, |
81 | /*[in]*/ int p3, |
82 | /*[in]*/ Object p4); |
83 | public void Append( |
84 | /*[in]*/ String p0, |
85 | /*[in]*/ int p1, |
86 | /*[in]*/ int p2, |
87 | /*[in]*/ int p3, |
88 | /*[in]*/ Object p4) { |
89 | |
90 | jni_Append(p0, p1, p2, p3, p4); |
91 | } |
92 | |
93 | /** [optional=1] */ |
94 | public void Append( |
95 | /*[in]*/ String p0, |
96 | /*[in]*/ int p1, |
97 | /*[in]*/ int p2, |
98 | /*[in]*/ int p3) { |
99 | |
100 | Append(p0, p1, p2, p3, null); |
101 | } |
102 | private native void jni_Update(); |
103 | public void Update() { |
104 | |
105 | jni_Update(); |
106 | } |
107 | |
108 | private native void jni_Resync( |
109 | /*[in]*/ int p0); |
110 | public void Resync( |
111 | /*[in]*/ int p0) { |
112 | |
113 | jni_Resync(p0); |
114 | } |
115 | |
116 | private native void jni_CancelUpdate(); |
117 | public void CancelUpdate() { |
118 | |
119 | jni_CancelUpdate(); |
120 | } |
121 | |
122 | } |
123 | |
124 | /** <em>Implementation</em>, <small>COM to Java</small>. */ |
125 | public static class Disp extends com.moesol.bindings.platform_sdk.data_services.Fields20.Disp { |
126 | public static com.moesol.bindings.platform_sdk.component_services.IUnknown.Disp instance() { |
127 | return s_instance; |
128 | } |
129 | |
130 | private static Disp s_instance = new Disp(); |
131 | |
132 | protected Disp() { |
133 | addEntry(3, (short)1, "Append", "(Ljava/lang/String;IIILjava/lang/Object;)V"); |
134 | addEntry(5, (short)1, "Update", "()V"); |
135 | addEntry(6, (short)1, "Resync", "(I)V"); |
136 | addEntry(7, (short)1, "CancelUpdate", "()V"); |
137 | } |
138 | } |
139 | } |