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 _Parameter extends com.moesol.bindings.platform_sdk.data_services._ADO { |
9 | public static final Class TYPELIB = TYPELIB_2A75196C_D9EB_4129_B803_931327F72D5C.class; |
10 | /** |
11 | * <code>IDL: [uuid(0000050C-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 | 0x0000050c, (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 | * @return |
24 | * <code>IDL: [out] [retval] BSTR*</code> |
25 | */ |
26 | public String getName(); |
27 | |
28 | /** |
29 | * <code>IDL: [ helpstring("") ]</code> |
30 | * |
31 | * @param pbstr |
32 | * <code>IDL: [in] BSTR</code> |
33 | */ |
34 | public void setName( |
35 | /*[in]*/ String pbstr); |
36 | |
37 | /** |
38 | * <code>IDL: [ helpstring("") ]</code> |
39 | * |
40 | * @return |
41 | * <code>IDL: [out] [retval] VARIANT*</code> |
42 | */ |
43 | public Object getValue(); |
44 | |
45 | /** |
46 | * <code>IDL: [ helpstring("") ]</code> |
47 | * |
48 | * @param pvar |
49 | * <code>IDL: [in] VARIANT</code> |
50 | */ |
51 | public void setValue( |
52 | /*[in]*/ Object pvar); |
53 | |
54 | /** |
55 | * <code>IDL: [ helpstring("") ]</code> |
56 | * |
57 | * @return |
58 | * <code>IDL: [out] [retval] DataTypeEnum*</code> |
59 | */ |
60 | public int getType(); |
61 | |
62 | /** |
63 | * <code>IDL: [ helpstring("") ]</code> |
64 | * |
65 | * @param psDataType |
66 | * <code>IDL: [in] DataTypeEnum</code> |
67 | */ |
68 | public void setType( |
69 | /*[in]*/ int psDataType); |
70 | |
71 | /** |
72 | * <code>IDL: [ helpstring("") ]</code> |
73 | * |
74 | * @param plParmDirection |
75 | * <code>IDL: [in] ParameterDirectionEnum</code> |
76 | */ |
77 | public void setDirection( |
78 | /*[in]*/ int plParmDirection); |
79 | |
80 | /** |
81 | * <code>IDL: [ helpstring("") ]</code> |
82 | * |
83 | * @return |
84 | * <code>IDL: [out] [retval] ParameterDirectionEnum*</code> |
85 | */ |
86 | public int getDirection(); |
87 | |
88 | /** |
89 | * <code>IDL: [ helpstring("") ]</code> |
90 | * |
91 | * @param pbPrecision |
92 | * <code>IDL: [in] BYTE</code> |
93 | */ |
94 | public void setPrecision( |
95 | /*[in]*/ short pbPrecision); |
96 | |
97 | /** |
98 | * <code>IDL: [ helpstring("") ]</code> |
99 | * |
100 | * @return |
101 | * <code>IDL: [out] [retval] BYTE*</code> |
102 | */ |
103 | public short getPrecision(); |
104 | |
105 | /** |
106 | * <code>IDL: [ helpstring("") ]</code> |
107 | * |
108 | * @param pbScale |
109 | * <code>IDL: [in] BYTE</code> |
110 | */ |
111 | public void setNumericScale( |
112 | /*[in]*/ short pbScale); |
113 | |
114 | /** |
115 | * <code>IDL: [ helpstring("") ]</code> |
116 | * |
117 | * @return |
118 | * <code>IDL: [out] [retval] BYTE*</code> |
119 | */ |
120 | public short getNumericScale(); |
121 | |
122 | /** |
123 | * <code>IDL: [ helpstring("") ]</code> |
124 | * |
125 | * @param pl |
126 | * <code>IDL: [in] LONG</code> |
127 | */ |
128 | public void setSize( |
129 | /*[in]*/ int pl); |
130 | |
131 | /** |
132 | * <code>IDL: [ helpstring("") ]</code> |
133 | * |
134 | * @return |
135 | * <code>IDL: [out] [retval] LONG*</code> |
136 | */ |
137 | public int getSize(); |
138 | |
139 | /** |
140 | * <code>IDL: [ helpstring("") ]</code> |
141 | * |
142 | * @param Val |
143 | * <code>IDL: [in] VARIANT</code> |
144 | */ |
145 | public void AppendChunk( |
146 | /*[in]*/ Object Val); |
147 | |
148 | /** |
149 | * <code>IDL: [ helpstring("") ]</code> |
150 | * |
151 | * @return |
152 | * <code>IDL: [out] [retval] LONG*</code> |
153 | */ |
154 | public int getAttributes(); |
155 | |
156 | /** |
157 | * <code>IDL: [ helpstring("") ]</code> |
158 | * |
159 | * @param plParmAttribs |
160 | * <code>IDL: [in] LONG</code> |
161 | */ |
162 | public void setAttributes( |
163 | /*[in]*/ int plParmAttribs); |
164 | |
165 | |
166 | /** <em>Implementation</em>, <small>Java to COM</small>. */ |
167 | public static class Jni extends com.moesol.bindings.platform_sdk.data_services._ADO.Jni implements _Parameter { |
168 | |
169 | protected Jni () { |
170 | } |
171 | |
172 | |
173 | private native String jni_getName(); |
174 | public String getName() { |
175 | |
176 | return jni_getName(); |
177 | } |
178 | |
179 | private native void jni_setName( |
180 | /*[in]*/ String p0); |
181 | public void setName( |
182 | /*[in]*/ String p0) { |
183 | |
184 | jni_setName(p0); |
185 | } |
186 | |
187 | private native Object jni_getValue(); |
188 | public Object getValue() { |
189 | |
190 | return jni_getValue(); |
191 | } |
192 | |
193 | private native void jni_setValue( |
194 | /*[in]*/ Object p0); |
195 | public void setValue( |
196 | /*[in]*/ Object p0) { |
197 | |
198 | jni_setValue(p0); |
199 | } |
200 | |
201 | private native int jni_getType(); |
202 | public int getType() { |
203 | |
204 | return jni_getType(); |
205 | } |
206 | |
207 | private native void jni_setType( |
208 | /*[in]*/ int p0); |
209 | public void setType( |
210 | /*[in]*/ int p0) { |
211 | |
212 | jni_setType(p0); |
213 | } |
214 | |
215 | private native void jni_setDirection( |
216 | /*[in]*/ int p0); |
217 | public void setDirection( |
218 | /*[in]*/ int p0) { |
219 | |
220 | jni_setDirection(p0); |
221 | } |
222 | |
223 | private native int jni_getDirection(); |
224 | public int getDirection() { |
225 | |
226 | return jni_getDirection(); |
227 | } |
228 | |
229 | private native void jni_setPrecision( |
230 | /*[in]*/ short p0); |
231 | public void setPrecision( |
232 | /*[in]*/ short p0) { |
233 | |
234 | jni_setPrecision(p0); |
235 | } |
236 | |
237 | private native short jni_getPrecision(); |
238 | public short getPrecision() { |
239 | |
240 | return jni_getPrecision(); |
241 | } |
242 | |
243 | private native void jni_setNumericScale( |
244 | /*[in]*/ short p0); |
245 | public void setNumericScale( |
246 | /*[in]*/ short p0) { |
247 | |
248 | jni_setNumericScale(p0); |
249 | } |
250 | |
251 | private native short jni_getNumericScale(); |
252 | public short getNumericScale() { |
253 | |
254 | return jni_getNumericScale(); |
255 | } |
256 | |
257 | private native void jni_setSize( |
258 | /*[in]*/ int p0); |
259 | public void setSize( |
260 | /*[in]*/ int p0) { |
261 | |
262 | jni_setSize(p0); |
263 | } |
264 | |
265 | private native int jni_getSize(); |
266 | public int getSize() { |
267 | |
268 | return jni_getSize(); |
269 | } |
270 | |
271 | private native void jni_AppendChunk( |
272 | /*[in]*/ Object p0); |
273 | public void AppendChunk( |
274 | /*[in]*/ Object p0) { |
275 | |
276 | jni_AppendChunk(p0); |
277 | } |
278 | |
279 | private native int jni_getAttributes(); |
280 | public int getAttributes() { |
281 | |
282 | return jni_getAttributes(); |
283 | } |
284 | |
285 | private native void jni_setAttributes( |
286 | /*[in]*/ int p0); |
287 | public void setAttributes( |
288 | /*[in]*/ int p0) { |
289 | |
290 | jni_setAttributes(p0); |
291 | } |
292 | |
293 | } |
294 | |
295 | /** <em>Implementation</em>, <small>COM to Java</small>. */ |
296 | public static class Disp extends com.moesol.bindings.platform_sdk.data_services._ADO.Disp { |
297 | public static com.moesol.bindings.platform_sdk.component_services.IUnknown.Disp instance() { |
298 | return s_instance; |
299 | } |
300 | |
301 | private static Disp s_instance = new Disp(); |
302 | |
303 | protected Disp() { |
304 | addEntry(1, (short)2, "getName", "()Ljava/lang/String;"); |
305 | addEntry(1, (short)4, "setName", "(Ljava/lang/String;)V"); |
306 | addEntry(0, (short)2, "getValue", "()Ljava/lang/Object;"); |
307 | addEntry(0, (short)4, "setValue", "(Ljava/lang/Object;)V"); |
308 | addEntry(2, (short)2, "getType", "()I"); |
309 | addEntry(2, (short)4, "setType", "(I)V"); |
310 | addEntry(3, (short)4, "setDirection", "(I)V"); |
311 | addEntry(3, (short)2, "getDirection", "()I"); |
312 | addEntry(4, (short)4, "setPrecision", "(S)V"); |
313 | addEntry(4, (short)2, "getPrecision", "()S"); |
314 | addEntry(5, (short)4, "setNumericScale", "(S)V"); |
315 | addEntry(5, (short)2, "getNumericScale", "()S"); |
316 | addEntry(6, (short)4, "setSize", "(I)V"); |
317 | addEntry(6, (short)2, "getSize", "()I"); |
318 | addEntry(7, (short)1, "AppendChunk", "(Ljava/lang/Object;)V"); |
319 | addEntry(8, (short)2, "getAttributes", "()I"); |
320 | addEntry(8, (short)4, "setAttributes", "(I)V"); |
321 | } |
322 | } |
323 | } |