| 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 Field20 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(0000054C-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 | 0x0000054c, (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] LONG*</code> |
| 25 | */ |
| 26 | public int getActualSize(); |
| 27 | |
| 28 | /** |
| 29 | * <code>IDL: [ helpstring("") ]</code> |
| 30 | * |
| 31 | * @return |
| 32 | * <code>IDL: [out] [retval] LONG*</code> |
| 33 | */ |
| 34 | public int getAttributes(); |
| 35 | |
| 36 | /** |
| 37 | * <code>IDL: [ helpstring("") ]</code> |
| 38 | * |
| 39 | * @return |
| 40 | * <code>IDL: [out] [retval] LONG*</code> |
| 41 | */ |
| 42 | public int getDefinedSize(); |
| 43 | |
| 44 | /** |
| 45 | * <code>IDL: [ helpstring("") ]</code> |
| 46 | * |
| 47 | * @return |
| 48 | * <code>IDL: [out] [retval] BSTR*</code> |
| 49 | */ |
| 50 | public String getName(); |
| 51 | |
| 52 | /** |
| 53 | * <code>IDL: [ helpstring("") ]</code> |
| 54 | * |
| 55 | * @return |
| 56 | * <code>IDL: [out] [retval] DataTypeEnum*</code> |
| 57 | */ |
| 58 | public int getType(); |
| 59 | |
| 60 | /** |
| 61 | * <code>IDL: [ helpstring("") ]</code> |
| 62 | * |
| 63 | * @return |
| 64 | * <code>IDL: [out] [retval] VARIANT*</code> |
| 65 | */ |
| 66 | public Object getValue(); |
| 67 | |
| 68 | /** |
| 69 | * <code>IDL: [ helpstring("") ]</code> |
| 70 | * |
| 71 | * @param pvar |
| 72 | * <code>IDL: [in] VARIANT</code> |
| 73 | */ |
| 74 | public void setValue( |
| 75 | /*[in]*/ Object pvar); |
| 76 | |
| 77 | /** |
| 78 | * <code>IDL: [ helpstring("") ]</code> |
| 79 | * |
| 80 | * @return |
| 81 | * <code>IDL: [out] [retval] BYTE*</code> |
| 82 | */ |
| 83 | public short getPrecision(); |
| 84 | |
| 85 | /** |
| 86 | * <code>IDL: [ helpstring("") ]</code> |
| 87 | * |
| 88 | * @return |
| 89 | * <code>IDL: [out] [retval] BYTE*</code> |
| 90 | */ |
| 91 | public short getNumericScale(); |
| 92 | |
| 93 | /** |
| 94 | * <code>IDL: [ helpstring("") ]</code> |
| 95 | * |
| 96 | * @param Data |
| 97 | * <code>IDL: [in] VARIANT</code> |
| 98 | */ |
| 99 | public void AppendChunk( |
| 100 | /*[in]*/ Object Data); |
| 101 | |
| 102 | /** |
| 103 | * <code>IDL: [ helpstring("") ]</code> |
| 104 | * |
| 105 | * @param Length |
| 106 | * <code>IDL: [in] LONG</code> |
| 107 | * @return |
| 108 | * <code>IDL: [out] [retval] VARIANT*</code> |
| 109 | */ |
| 110 | public Object GetChunk( |
| 111 | /*[in]*/ int Length); |
| 112 | |
| 113 | /** |
| 114 | * <code>IDL: [ helpstring("") ]</code> |
| 115 | * |
| 116 | * @return |
| 117 | * <code>IDL: [out] [retval] VARIANT*</code> |
| 118 | */ |
| 119 | public Object getOriginalValue(); |
| 120 | |
| 121 | /** |
| 122 | * <code>IDL: [ helpstring("") ]</code> |
| 123 | * |
| 124 | * @return |
| 125 | * <code>IDL: [out] [retval] VARIANT*</code> |
| 126 | */ |
| 127 | public Object getUnderlyingValue(); |
| 128 | |
| 129 | /** |
| 130 | * <code>IDL: [ helpstring("") ]</code> |
| 131 | * |
| 132 | * @return |
| 133 | * <code>IDL: [out] [retval] IUnknown**</code> |
| 134 | */ |
| 135 | public com.moesol.bindings.platform_sdk.component_services.IUnknown getDataFormat(); |
| 136 | |
| 137 | /** |
| 138 | * <code>IDL: [ helpstring("") ]</code> |
| 139 | * |
| 140 | * @param ppiDF |
| 141 | * <code>IDL: [in] IUnknown*</code> |
| 142 | */ |
| 143 | public void setrefDataFormat( |
| 144 | /*[in]*/ com.moesol.bindings.platform_sdk.component_services.IUnknown ppiDF); |
| 145 | |
| 146 | /** |
| 147 | * <code>IDL: [ helpstring("") ]</code> |
| 148 | * |
| 149 | * @param pbPrecision |
| 150 | * <code>IDL: [in] BYTE</code> |
| 151 | */ |
| 152 | public void setPrecision( |
| 153 | /*[in]*/ short pbPrecision); |
| 154 | |
| 155 | /** |
| 156 | * <code>IDL: [ helpstring("") ]</code> |
| 157 | * |
| 158 | * @param pbNumericScale |
| 159 | * <code>IDL: [in] BYTE</code> |
| 160 | */ |
| 161 | public void setNumericScale( |
| 162 | /*[in]*/ short pbNumericScale); |
| 163 | |
| 164 | /** |
| 165 | * <code>IDL: [ helpstring("") ]</code> |
| 166 | * |
| 167 | * @param pDataType |
| 168 | * <code>IDL: [in] DataTypeEnum</code> |
| 169 | */ |
| 170 | public void setType( |
| 171 | /*[in]*/ int pDataType); |
| 172 | |
| 173 | /** |
| 174 | * <code>IDL: [ helpstring("") ]</code> |
| 175 | * |
| 176 | * @param pl |
| 177 | * <code>IDL: [in] LONG</code> |
| 178 | */ |
| 179 | public void setDefinedSize( |
| 180 | /*[in]*/ int pl); |
| 181 | |
| 182 | /** |
| 183 | * <code>IDL: [ helpstring("") ]</code> |
| 184 | * |
| 185 | * @param pl |
| 186 | * <code>IDL: [in] LONG</code> |
| 187 | */ |
| 188 | public void setAttributes( |
| 189 | /*[in]*/ int pl); |
| 190 | |
| 191 | |
| 192 | /** <em>Implementation</em>, <small>Java to COM</small>. */ |
| 193 | public static class Jni extends com.moesol.bindings.platform_sdk.data_services._ADO.Jni implements Field20 { |
| 194 | |
| 195 | protected Jni () { |
| 196 | } |
| 197 | |
| 198 | |
| 199 | private native int jni_getActualSize(); |
| 200 | public int getActualSize() { |
| 201 | |
| 202 | return jni_getActualSize(); |
| 203 | } |
| 204 | |
| 205 | private native int jni_getAttributes(); |
| 206 | public int getAttributes() { |
| 207 | |
| 208 | return jni_getAttributes(); |
| 209 | } |
| 210 | |
| 211 | private native int jni_getDefinedSize(); |
| 212 | public int getDefinedSize() { |
| 213 | |
| 214 | return jni_getDefinedSize(); |
| 215 | } |
| 216 | |
| 217 | private native String jni_getName(); |
| 218 | public String getName() { |
| 219 | |
| 220 | return jni_getName(); |
| 221 | } |
| 222 | |
| 223 | private native int jni_getType(); |
| 224 | public int getType() { |
| 225 | |
| 226 | return jni_getType(); |
| 227 | } |
| 228 | |
| 229 | private native Object jni_getValue(); |
| 230 | public Object getValue() { |
| 231 | |
| 232 | return jni_getValue(); |
| 233 | } |
| 234 | |
| 235 | private native void jni_setValue( |
| 236 | /*[in]*/ Object p0); |
| 237 | public void setValue( |
| 238 | /*[in]*/ Object p0) { |
| 239 | |
| 240 | jni_setValue(p0); |
| 241 | } |
| 242 | |
| 243 | private native short jni_getPrecision(); |
| 244 | public short getPrecision() { |
| 245 | |
| 246 | return jni_getPrecision(); |
| 247 | } |
| 248 | |
| 249 | private native short jni_getNumericScale(); |
| 250 | public short getNumericScale() { |
| 251 | |
| 252 | return jni_getNumericScale(); |
| 253 | } |
| 254 | |
| 255 | private native void jni_AppendChunk( |
| 256 | /*[in]*/ Object p0); |
| 257 | public void AppendChunk( |
| 258 | /*[in]*/ Object p0) { |
| 259 | |
| 260 | jni_AppendChunk(p0); |
| 261 | } |
| 262 | |
| 263 | private native Object jni_GetChunk( |
| 264 | /*[in]*/ int p0); |
| 265 | public Object GetChunk( |
| 266 | /*[in]*/ int p0) { |
| 267 | |
| 268 | return jni_GetChunk(p0); |
| 269 | } |
| 270 | |
| 271 | private native Object jni_getOriginalValue(); |
| 272 | public Object getOriginalValue() { |
| 273 | |
| 274 | return jni_getOriginalValue(); |
| 275 | } |
| 276 | |
| 277 | private native Object jni_getUnderlyingValue(); |
| 278 | public Object getUnderlyingValue() { |
| 279 | |
| 280 | return jni_getUnderlyingValue(); |
| 281 | } |
| 282 | |
| 283 | private native com.moesol.bindings.platform_sdk.component_services.IUnknown jni_getDataFormat(); |
| 284 | public com.moesol.bindings.platform_sdk.component_services.IUnknown getDataFormat() { |
| 285 | |
| 286 | return jni_getDataFormat(); |
| 287 | } |
| 288 | |
| 289 | private native void jni_setrefDataFormat( |
| 290 | /*[in]*/ com.moesol.bindings.platform_sdk.component_services.IUnknown p0); |
| 291 | public void setrefDataFormat( |
| 292 | /*[in]*/ com.moesol.bindings.platform_sdk.component_services.IUnknown p0) { |
| 293 | |
| 294 | jni_setrefDataFormat(p0); |
| 295 | } |
| 296 | |
| 297 | private native void jni_setPrecision( |
| 298 | /*[in]*/ short p0); |
| 299 | public void setPrecision( |
| 300 | /*[in]*/ short p0) { |
| 301 | |
| 302 | jni_setPrecision(p0); |
| 303 | } |
| 304 | |
| 305 | private native void jni_setNumericScale( |
| 306 | /*[in]*/ short p0); |
| 307 | public void setNumericScale( |
| 308 | /*[in]*/ short p0) { |
| 309 | |
| 310 | jni_setNumericScale(p0); |
| 311 | } |
| 312 | |
| 313 | private native void jni_setType( |
| 314 | /*[in]*/ int p0); |
| 315 | public void setType( |
| 316 | /*[in]*/ int p0) { |
| 317 | |
| 318 | jni_setType(p0); |
| 319 | } |
| 320 | |
| 321 | private native void jni_setDefinedSize( |
| 322 | /*[in]*/ int p0); |
| 323 | public void setDefinedSize( |
| 324 | /*[in]*/ int p0) { |
| 325 | |
| 326 | jni_setDefinedSize(p0); |
| 327 | } |
| 328 | |
| 329 | private native void jni_setAttributes( |
| 330 | /*[in]*/ int p0); |
| 331 | public void setAttributes( |
| 332 | /*[in]*/ int p0) { |
| 333 | |
| 334 | jni_setAttributes(p0); |
| 335 | } |
| 336 | |
| 337 | } |
| 338 | |
| 339 | /** <em>Implementation</em>, <small>COM to Java</small>. */ |
| 340 | public static class Disp extends com.moesol.bindings.platform_sdk.data_services._ADO.Disp { |
| 341 | public static com.moesol.bindings.platform_sdk.component_services.IUnknown.Disp instance() { |
| 342 | return s_instance; |
| 343 | } |
| 344 | |
| 345 | private static Disp s_instance = new Disp(); |
| 346 | |
| 347 | protected Disp() { |
| 348 | addEntry(1109, (short)2, "getActualSize", "()I"); |
| 349 | addEntry(1114, (short)2, "getAttributes", "()I"); |
| 350 | addEntry(1103, (short)2, "getDefinedSize", "()I"); |
| 351 | addEntry(1100, (short)2, "getName", "()Ljava/lang/String;"); |
| 352 | addEntry(1102, (short)2, "getType", "()I"); |
| 353 | addEntry(0, (short)2, "getValue", "()Ljava/lang/Object;"); |
| 354 | addEntry(0, (short)4, "setValue", "(Ljava/lang/Object;)V"); |
| 355 | addEntry(1112, (short)2, "getPrecision", "()S"); |
| 356 | addEntry(1113, (short)2, "getNumericScale", "()S"); |
| 357 | addEntry(1107, (short)1, "AppendChunk", "(Ljava/lang/Object;)V"); |
| 358 | addEntry(1108, (short)1, "GetChunk", "(I)Ljava/lang/Object;"); |
| 359 | addEntry(1104, (short)2, "getOriginalValue", "()Ljava/lang/Object;"); |
| 360 | addEntry(1105, (short)2, "getUnderlyingValue", "()Ljava/lang/Object;"); |
| 361 | addEntry(1115, (short)2, "getDataFormat", "()Lcom/moesol/bindings/platform_sdk/component_services/IUnknown;"); |
| 362 | addEntry(1115, (short)8, "setrefDataFormat", "(Lcom/moesol/bindings/platform_sdk/component_services/IUnknown;)V"); |
| 363 | addEntry(1112, (short)4, "setPrecision", "(S)V"); |
| 364 | addEntry(1113, (short)4, "setNumericScale", "(S)V"); |
| 365 | addEntry(1102, (short)4, "setType", "(I)V"); |
| 366 | addEntry(1103, (short)4, "setDefinedSize", "(I)V"); |
| 367 | addEntry(1114, (short)4, "setAttributes", "(I)V"); |
| 368 | } |
| 369 | } |
| 370 | } |