| 1 | // tlb2java |
| 2 | package com.moesol.bindings.microsoft.dao; |
| 3 | |
| 4 | |
| 5 | /** |
| 6 | * <code>IDL: [ helpstring(""), dual, nonextensible, oleautomation, dispatchable ] interface</code> |
| 7 | */ |
| 8 | public interface _Field extends com.moesol.bindings.microsoft.dao._DAO { |
| 9 | public static final Class TYPELIB = TYPELIB_00025E01_0000_0000_C000_000000000046.class; |
| 10 | /** |
| 11 | * <code>IDL: [uuid(00000051-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 | 0x00000051, (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 getCollatingOrder(); |
| 27 | |
| 28 | /** |
| 29 | * <code>IDL: [ helpstring("") ]</code> |
| 30 | * |
| 31 | * @return |
| 32 | * <code>IDL: [out] [retval] SHORT*</code> |
| 33 | */ |
| 34 | public short getType(); |
| 35 | |
| 36 | /** |
| 37 | * <code>IDL: [ helpstring("") ]</code> |
| 38 | * |
| 39 | * @param ps |
| 40 | * <code>IDL: [in] SHORT</code> |
| 41 | */ |
| 42 | public void setType( |
| 43 | /*[in]*/ short ps); |
| 44 | |
| 45 | /** |
| 46 | * <code>IDL: [ helpstring("") ]</code> |
| 47 | * |
| 48 | * @return |
| 49 | * <code>IDL: [out] [retval] BSTR*</code> |
| 50 | */ |
| 51 | public String getName(); |
| 52 | |
| 53 | /** |
| 54 | * <code>IDL: [ helpstring("") ]</code> |
| 55 | * |
| 56 | * @param pbstr |
| 57 | * <code>IDL: [in] BSTR</code> |
| 58 | */ |
| 59 | public void setName( |
| 60 | /*[in]*/ String pbstr); |
| 61 | |
| 62 | /** |
| 63 | * <code>IDL: [ helpstring("") ]</code> |
| 64 | * |
| 65 | * @return |
| 66 | * <code>IDL: [out] [retval] LONG*</code> |
| 67 | */ |
| 68 | public int getSize(); |
| 69 | |
| 70 | /** |
| 71 | * <code>IDL: [ helpstring("") ]</code> |
| 72 | * |
| 73 | * @param pl |
| 74 | * <code>IDL: [in] LONG</code> |
| 75 | */ |
| 76 | public void setSize( |
| 77 | /*[in]*/ int pl); |
| 78 | |
| 79 | /** |
| 80 | * <code>IDL: [ helpstring("") ]</code> |
| 81 | * |
| 82 | * @return |
| 83 | * <code>IDL: [out] [retval] BSTR*</code> |
| 84 | */ |
| 85 | public String getSourceField(); |
| 86 | |
| 87 | /** |
| 88 | * <code>IDL: [ helpstring("") ]</code> |
| 89 | * |
| 90 | * @return |
| 91 | * <code>IDL: [out] [retval] BSTR*</code> |
| 92 | */ |
| 93 | public String getSourceTable(); |
| 94 | |
| 95 | /** |
| 96 | * <code>IDL: [ helpstring("") ]</code> |
| 97 | * |
| 98 | * @return |
| 99 | * <code>IDL: [out] [retval] VARIANT*</code> |
| 100 | */ |
| 101 | public Object getValue(); |
| 102 | |
| 103 | /** |
| 104 | * <code>IDL: [ helpstring("") ]</code> |
| 105 | * |
| 106 | * @param pvar |
| 107 | * <code>IDL: [in] VARIANT</code> |
| 108 | */ |
| 109 | public void setValue( |
| 110 | /*[in]*/ Object pvar); |
| 111 | |
| 112 | /** |
| 113 | * <code>IDL: [ helpstring("") ]</code> |
| 114 | * |
| 115 | * @return |
| 116 | * <code>IDL: [out] [retval] LONG*</code> |
| 117 | */ |
| 118 | public int getAttributes(); |
| 119 | |
| 120 | /** |
| 121 | * <code>IDL: [ helpstring("") ]</code> |
| 122 | * |
| 123 | * @param pl |
| 124 | * <code>IDL: [in] LONG</code> |
| 125 | */ |
| 126 | public void setAttributes( |
| 127 | /*[in]*/ int pl); |
| 128 | |
| 129 | /** |
| 130 | * <code>IDL: [ helpstring("") ]</code> |
| 131 | * |
| 132 | * @return |
| 133 | * <code>IDL: [out] [retval] SHORT*</code> |
| 134 | */ |
| 135 | public short getOrdinalPosition(); |
| 136 | |
| 137 | /** |
| 138 | * <code>IDL: [ helpstring("") ]</code> |
| 139 | * |
| 140 | * @param ps |
| 141 | * <code>IDL: [in] SHORT</code> |
| 142 | */ |
| 143 | public void setOrdinalPosition( |
| 144 | /*[in]*/ short ps); |
| 145 | |
| 146 | /** |
| 147 | * <code>IDL: [ helpstring("") ]</code> |
| 148 | * |
| 149 | * @return |
| 150 | * <code>IDL: [out] [retval] BSTR*</code> |
| 151 | */ |
| 152 | public String getValidationText(); |
| 153 | |
| 154 | /** |
| 155 | * <code>IDL: [ helpstring("") ]</code> |
| 156 | * |
| 157 | * @param pbstr |
| 158 | * <code>IDL: [in] BSTR</code> |
| 159 | */ |
| 160 | public void setValidationText( |
| 161 | /*[in]*/ String pbstr); |
| 162 | |
| 163 | /** |
| 164 | * <code>IDL: [ helpstring("") ]</code> |
| 165 | * |
| 166 | * @return |
| 167 | * <code>IDL: [out] [retval] VARIANT_BOOL*</code> |
| 168 | */ |
| 169 | public boolean getValidateOnSet(); |
| 170 | |
| 171 | /** |
| 172 | * <code>IDL: [ helpstring("") ]</code> |
| 173 | * |
| 174 | * @param pb |
| 175 | * <code>IDL: [in] VARIANT_BOOL</code> |
| 176 | */ |
| 177 | public void setValidateOnSet( |
| 178 | /*[in]*/ boolean pb); |
| 179 | |
| 180 | /** |
| 181 | * <code>IDL: [ helpstring("") ]</code> |
| 182 | * |
| 183 | * @return |
| 184 | * <code>IDL: [out] [retval] BSTR*</code> |
| 185 | */ |
| 186 | public String getValidationRule(); |
| 187 | |
| 188 | /** |
| 189 | * <code>IDL: [ helpstring("") ]</code> |
| 190 | * |
| 191 | * @param pbstr |
| 192 | * <code>IDL: [in] BSTR</code> |
| 193 | */ |
| 194 | public void setValidationRule( |
| 195 | /*[in]*/ String pbstr); |
| 196 | |
| 197 | /** |
| 198 | * <code>IDL: [ helpstring("") ]</code> |
| 199 | * |
| 200 | * @return |
| 201 | * <code>IDL: [out] [retval] VARIANT*</code> |
| 202 | */ |
| 203 | public Object getDefaultValue(); |
| 204 | |
| 205 | /** |
| 206 | * <code>IDL: [ helpstring("") ]</code> |
| 207 | * |
| 208 | * @param pvar |
| 209 | * <code>IDL: [in] VARIANT</code> |
| 210 | */ |
| 211 | public void setDefaultValue( |
| 212 | /*[in]*/ Object pvar); |
| 213 | |
| 214 | /** |
| 215 | * <code>IDL: [ helpstring("") ]</code> |
| 216 | * |
| 217 | * @return |
| 218 | * <code>IDL: [out] [retval] VARIANT_BOOL*</code> |
| 219 | */ |
| 220 | public boolean getRequired(); |
| 221 | |
| 222 | /** |
| 223 | * <code>IDL: [ helpstring("") ]</code> |
| 224 | * |
| 225 | * @param pb |
| 226 | * <code>IDL: [in] VARIANT_BOOL</code> |
| 227 | */ |
| 228 | public void setRequired( |
| 229 | /*[in]*/ boolean pb); |
| 230 | |
| 231 | /** |
| 232 | * <code>IDL: [ helpstring("") ]</code> |
| 233 | * |
| 234 | * @return |
| 235 | * <code>IDL: [out] [retval] VARIANT_BOOL*</code> |
| 236 | */ |
| 237 | public boolean getAllowZeroLength(); |
| 238 | |
| 239 | /** |
| 240 | * <code>IDL: [ helpstring("") ]</code> |
| 241 | * |
| 242 | * @param pb |
| 243 | * <code>IDL: [in] VARIANT_BOOL</code> |
| 244 | */ |
| 245 | public void setAllowZeroLength( |
| 246 | /*[in]*/ boolean pb); |
| 247 | |
| 248 | /** |
| 249 | * <code>IDL: [ helpstring("") ]</code> |
| 250 | * |
| 251 | * @return |
| 252 | * <code>IDL: [out] [retval] VARIANT_BOOL*</code> |
| 253 | */ |
| 254 | public boolean getDataUpdatable(); |
| 255 | |
| 256 | /** |
| 257 | * <code>IDL: [ helpstring("") ]</code> |
| 258 | * |
| 259 | * @return |
| 260 | * <code>IDL: [out] [retval] BSTR*</code> |
| 261 | */ |
| 262 | public String getForeignName(); |
| 263 | |
| 264 | /** |
| 265 | * <code>IDL: [ helpstring("") ]</code> |
| 266 | * |
| 267 | * @param pbstr |
| 268 | * <code>IDL: [in] BSTR</code> |
| 269 | */ |
| 270 | public void setForeignName( |
| 271 | /*[in]*/ String pbstr); |
| 272 | |
| 273 | /** |
| 274 | * <code>IDL: [ helpstring("") ]</code> |
| 275 | * |
| 276 | * @param Val |
| 277 | * <code>IDL: [in] VARIANT</code> |
| 278 | */ |
| 279 | public void AppendChunk( |
| 280 | /*[in]*/ Object Val); |
| 281 | |
| 282 | /** |
| 283 | * <code>IDL: [ helpstring("") ]</code> |
| 284 | * |
| 285 | * @param Offset |
| 286 | * <code>IDL: [in] LONG</code> |
| 287 | * @param Bytes |
| 288 | * <code>IDL: [in] LONG</code> |
| 289 | * @return |
| 290 | * <code>IDL: [out] [retval] VARIANT*</code> |
| 291 | */ |
| 292 | public Object GetChunk( |
| 293 | /*[in]*/ int Offset, |
| 294 | /*[in]*/ int Bytes); |
| 295 | |
| 296 | /** |
| 297 | * <code>IDL: [ helpstring("") ]</code> |
| 298 | * |
| 299 | * @param Name |
| 300 | * <code>IDL: [in] [optional] VARIANT</code> |
| 301 | * @param Type |
| 302 | * <code>IDL: [in] [optional] VARIANT</code> |
| 303 | * @param Value |
| 304 | * <code>IDL: [in] [optional] VARIANT</code> |
| 305 | * @param DDL |
| 306 | * <code>IDL: [in] [optional] VARIANT</code> |
| 307 | * @return |
| 308 | * <code>IDL: [out] [retval] Property**</code> |
| 309 | */ |
| 310 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
| 311 | /*[in]*/ Object Name, |
| 312 | /*[in]*/ Object Type, |
| 313 | /*[in]*/ Object Value, |
| 314 | /*[in]*/ Object DDL); |
| 315 | |
| 316 | /** [optional=1] */ |
| 317 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
| 318 | /*[in]*/ Object Name, |
| 319 | /*[in]*/ Object Type, |
| 320 | /*[in]*/ Object Value); |
| 321 | |
| 322 | /** [optional=2] */ |
| 323 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
| 324 | /*[in]*/ Object Name, |
| 325 | /*[in]*/ Object Type); |
| 326 | |
| 327 | /** [optional=3] */ |
| 328 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
| 329 | /*[in]*/ Object Name); |
| 330 | |
| 331 | /** [optional=4] */ |
| 332 | public com.moesol.bindings.microsoft.dao.Property CreateProperty(); |
| 333 | |
| 334 | /** |
| 335 | * <code>IDL: [ helpstring("") ]</code> |
| 336 | * |
| 337 | * @return |
| 338 | * <code>IDL: [out] [retval] SHORT*</code> |
| 339 | */ |
| 340 | public short getCollectionIndex(); |
| 341 | |
| 342 | /** |
| 343 | * <code>IDL: [ helpstring("") ]</code> |
| 344 | * |
| 345 | * @return |
| 346 | * <code>IDL: [out] [retval] VARIANT*</code> |
| 347 | */ |
| 348 | public Object getOriginalValue(); |
| 349 | |
| 350 | /** |
| 351 | * <code>IDL: [ helpstring("") ]</code> |
| 352 | * |
| 353 | * @return |
| 354 | * <code>IDL: [out] [retval] VARIANT*</code> |
| 355 | */ |
| 356 | public Object getVisibleValue(); |
| 357 | |
| 358 | /** |
| 359 | * <code>IDL: [ helpstring("") ]</code> |
| 360 | * |
| 361 | * @return |
| 362 | * <code>IDL: [out] [retval] LONG*</code> |
| 363 | */ |
| 364 | public int getFieldSize(); |
| 365 | |
| 366 | |
| 367 | /** <em>Implementation</em>, <small>Java to COM</small>. */ |
| 368 | public static class Jni extends com.moesol.bindings.microsoft.dao._DAO.Jni implements _Field { |
| 369 | |
| 370 | protected Jni () { |
| 371 | } |
| 372 | protected void internalOnSetInterface() { |
| 373 | MoeSolInternal.recordApartment(this); |
| 374 | } |
| 375 | |
| 376 | |
| 377 | private native int jni_getCollatingOrder(); |
| 378 | public int getCollatingOrder() { |
| 379 | |
| 380 | MoeSolInternal.checkApartment(this); |
| 381 | return jni_getCollatingOrder(); |
| 382 | } |
| 383 | |
| 384 | private native short jni_getType(); |
| 385 | public short getType() { |
| 386 | |
| 387 | MoeSolInternal.checkApartment(this); |
| 388 | return jni_getType(); |
| 389 | } |
| 390 | |
| 391 | private native void jni_setType( |
| 392 | /*[in]*/ short p0); |
| 393 | public void setType( |
| 394 | /*[in]*/ short p0) { |
| 395 | |
| 396 | MoeSolInternal.checkApartment(this); |
| 397 | jni_setType(p0); |
| 398 | } |
| 399 | |
| 400 | private native String jni_getName(); |
| 401 | public String getName() { |
| 402 | |
| 403 | MoeSolInternal.checkApartment(this); |
| 404 | return jni_getName(); |
| 405 | } |
| 406 | |
| 407 | private native void jni_setName( |
| 408 | /*[in]*/ String p0); |
| 409 | public void setName( |
| 410 | /*[in]*/ String p0) { |
| 411 | |
| 412 | MoeSolInternal.checkApartment(this); |
| 413 | jni_setName(p0); |
| 414 | } |
| 415 | |
| 416 | private native int jni_getSize(); |
| 417 | public int getSize() { |
| 418 | |
| 419 | MoeSolInternal.checkApartment(this); |
| 420 | return jni_getSize(); |
| 421 | } |
| 422 | |
| 423 | private native void jni_setSize( |
| 424 | /*[in]*/ int p0); |
| 425 | public void setSize( |
| 426 | /*[in]*/ int p0) { |
| 427 | |
| 428 | MoeSolInternal.checkApartment(this); |
| 429 | jni_setSize(p0); |
| 430 | } |
| 431 | |
| 432 | private native String jni_getSourceField(); |
| 433 | public String getSourceField() { |
| 434 | |
| 435 | MoeSolInternal.checkApartment(this); |
| 436 | return jni_getSourceField(); |
| 437 | } |
| 438 | |
| 439 | private native String jni_getSourceTable(); |
| 440 | public String getSourceTable() { |
| 441 | |
| 442 | MoeSolInternal.checkApartment(this); |
| 443 | return jni_getSourceTable(); |
| 444 | } |
| 445 | |
| 446 | private native Object jni_getValue(); |
| 447 | public Object getValue() { |
| 448 | |
| 449 | MoeSolInternal.checkApartment(this); |
| 450 | return jni_getValue(); |
| 451 | } |
| 452 | |
| 453 | private native void jni_setValue( |
| 454 | /*[in]*/ Object p0); |
| 455 | public void setValue( |
| 456 | /*[in]*/ Object p0) { |
| 457 | |
| 458 | MoeSolInternal.checkApartment(this); |
| 459 | jni_setValue(p0); |
| 460 | } |
| 461 | |
| 462 | private native int jni_getAttributes(); |
| 463 | public int getAttributes() { |
| 464 | |
| 465 | MoeSolInternal.checkApartment(this); |
| 466 | return jni_getAttributes(); |
| 467 | } |
| 468 | |
| 469 | private native void jni_setAttributes( |
| 470 | /*[in]*/ int p0); |
| 471 | public void setAttributes( |
| 472 | /*[in]*/ int p0) { |
| 473 | |
| 474 | MoeSolInternal.checkApartment(this); |
| 475 | jni_setAttributes(p0); |
| 476 | } |
| 477 | |
| 478 | private native short jni_getOrdinalPosition(); |
| 479 | public short getOrdinalPosition() { |
| 480 | |
| 481 | MoeSolInternal.checkApartment(this); |
| 482 | return jni_getOrdinalPosition(); |
| 483 | } |
| 484 | |
| 485 | private native void jni_setOrdinalPosition( |
| 486 | /*[in]*/ short p0); |
| 487 | public void setOrdinalPosition( |
| 488 | /*[in]*/ short p0) { |
| 489 | |
| 490 | MoeSolInternal.checkApartment(this); |
| 491 | jni_setOrdinalPosition(p0); |
| 492 | } |
| 493 | |
| 494 | private native String jni_getValidationText(); |
| 495 | public String getValidationText() { |
| 496 | |
| 497 | MoeSolInternal.checkApartment(this); |
| 498 | return jni_getValidationText(); |
| 499 | } |
| 500 | |
| 501 | private native void jni_setValidationText( |
| 502 | /*[in]*/ String p0); |
| 503 | public void setValidationText( |
| 504 | /*[in]*/ String p0) { |
| 505 | |
| 506 | MoeSolInternal.checkApartment(this); |
| 507 | jni_setValidationText(p0); |
| 508 | } |
| 509 | |
| 510 | private native boolean jni_getValidateOnSet(); |
| 511 | public boolean getValidateOnSet() { |
| 512 | |
| 513 | MoeSolInternal.checkApartment(this); |
| 514 | return jni_getValidateOnSet(); |
| 515 | } |
| 516 | |
| 517 | private native void jni_setValidateOnSet( |
| 518 | /*[in]*/ boolean p0); |
| 519 | public void setValidateOnSet( |
| 520 | /*[in]*/ boolean p0) { |
| 521 | |
| 522 | MoeSolInternal.checkApartment(this); |
| 523 | jni_setValidateOnSet(p0); |
| 524 | } |
| 525 | |
| 526 | private native String jni_getValidationRule(); |
| 527 | public String getValidationRule() { |
| 528 | |
| 529 | MoeSolInternal.checkApartment(this); |
| 530 | return jni_getValidationRule(); |
| 531 | } |
| 532 | |
| 533 | private native void jni_setValidationRule( |
| 534 | /*[in]*/ String p0); |
| 535 | public void setValidationRule( |
| 536 | /*[in]*/ String p0) { |
| 537 | |
| 538 | MoeSolInternal.checkApartment(this); |
| 539 | jni_setValidationRule(p0); |
| 540 | } |
| 541 | |
| 542 | private native Object jni_getDefaultValue(); |
| 543 | public Object getDefaultValue() { |
| 544 | |
| 545 | MoeSolInternal.checkApartment(this); |
| 546 | return jni_getDefaultValue(); |
| 547 | } |
| 548 | |
| 549 | private native void jni_setDefaultValue( |
| 550 | /*[in]*/ Object p0); |
| 551 | public void setDefaultValue( |
| 552 | /*[in]*/ Object p0) { |
| 553 | |
| 554 | MoeSolInternal.checkApartment(this); |
| 555 | jni_setDefaultValue(p0); |
| 556 | } |
| 557 | |
| 558 | private native boolean jni_getRequired(); |
| 559 | public boolean getRequired() { |
| 560 | |
| 561 | MoeSolInternal.checkApartment(this); |
| 562 | return jni_getRequired(); |
| 563 | } |
| 564 | |
| 565 | private native void jni_setRequired( |
| 566 | /*[in]*/ boolean p0); |
| 567 | public void setRequired( |
| 568 | /*[in]*/ boolean p0) { |
| 569 | |
| 570 | MoeSolInternal.checkApartment(this); |
| 571 | jni_setRequired(p0); |
| 572 | } |
| 573 | |
| 574 | private native boolean jni_getAllowZeroLength(); |
| 575 | public boolean getAllowZeroLength() { |
| 576 | |
| 577 | MoeSolInternal.checkApartment(this); |
| 578 | return jni_getAllowZeroLength(); |
| 579 | } |
| 580 | |
| 581 | private native void jni_setAllowZeroLength( |
| 582 | /*[in]*/ boolean p0); |
| 583 | public void setAllowZeroLength( |
| 584 | /*[in]*/ boolean p0) { |
| 585 | |
| 586 | MoeSolInternal.checkApartment(this); |
| 587 | jni_setAllowZeroLength(p0); |
| 588 | } |
| 589 | |
| 590 | private native boolean jni_getDataUpdatable(); |
| 591 | public boolean getDataUpdatable() { |
| 592 | |
| 593 | MoeSolInternal.checkApartment(this); |
| 594 | return jni_getDataUpdatable(); |
| 595 | } |
| 596 | |
| 597 | private native String jni_getForeignName(); |
| 598 | public String getForeignName() { |
| 599 | |
| 600 | MoeSolInternal.checkApartment(this); |
| 601 | return jni_getForeignName(); |
| 602 | } |
| 603 | |
| 604 | private native void jni_setForeignName( |
| 605 | /*[in]*/ String p0); |
| 606 | public void setForeignName( |
| 607 | /*[in]*/ String p0) { |
| 608 | |
| 609 | MoeSolInternal.checkApartment(this); |
| 610 | jni_setForeignName(p0); |
| 611 | } |
| 612 | |
| 613 | private native void jni_AppendChunk( |
| 614 | /*[in]*/ Object p0); |
| 615 | public void AppendChunk( |
| 616 | /*[in]*/ Object p0) { |
| 617 | |
| 618 | MoeSolInternal.checkApartment(this); |
| 619 | jni_AppendChunk(p0); |
| 620 | } |
| 621 | |
| 622 | private native Object jni_GetChunk( |
| 623 | /*[in]*/ int p0, |
| 624 | /*[in]*/ int p1); |
| 625 | public Object GetChunk( |
| 626 | /*[in]*/ int p0, |
| 627 | /*[in]*/ int p1) { |
| 628 | |
| 629 | MoeSolInternal.checkApartment(this); |
| 630 | return jni_GetChunk(p0, p1); |
| 631 | } |
| 632 | |
| 633 | private native com.moesol.bindings.microsoft.dao.Property jni_CreateProperty( |
| 634 | /*[in]*/ Object p0, |
| 635 | /*[in]*/ Object p1, |
| 636 | /*[in]*/ Object p2, |
| 637 | /*[in]*/ Object p3); |
| 638 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
| 639 | /*[in]*/ Object p0, |
| 640 | /*[in]*/ Object p1, |
| 641 | /*[in]*/ Object p2, |
| 642 | /*[in]*/ Object p3) { |
| 643 | |
| 644 | MoeSolInternal.checkApartment(this); |
| 645 | return jni_CreateProperty(p0, p1, p2, p3); |
| 646 | } |
| 647 | |
| 648 | /** [optional=1] */ |
| 649 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
| 650 | /*[in]*/ Object p0, |
| 651 | /*[in]*/ Object p1, |
| 652 | /*[in]*/ Object p2) { |
| 653 | |
| 654 | return CreateProperty(p0, p1, p2, null); |
| 655 | } |
| 656 | /** [optional=2] */ |
| 657 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
| 658 | /*[in]*/ Object p0, |
| 659 | /*[in]*/ Object p1) { |
| 660 | |
| 661 | return CreateProperty(p0, p1, null, null); |
| 662 | } |
| 663 | /** [optional=3] */ |
| 664 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
| 665 | /*[in]*/ Object p0) { |
| 666 | |
| 667 | return CreateProperty(p0, null, null, null); |
| 668 | } |
| 669 | /** [optional=4] */ |
| 670 | public com.moesol.bindings.microsoft.dao.Property CreateProperty() { |
| 671 | |
| 672 | return CreateProperty(null, null, null, null); |
| 673 | } |
| 674 | private native short jni_getCollectionIndex(); |
| 675 | public short getCollectionIndex() { |
| 676 | |
| 677 | MoeSolInternal.checkApartment(this); |
| 678 | return jni_getCollectionIndex(); |
| 679 | } |
| 680 | |
| 681 | private native Object jni_getOriginalValue(); |
| 682 | public Object getOriginalValue() { |
| 683 | |
| 684 | MoeSolInternal.checkApartment(this); |
| 685 | return jni_getOriginalValue(); |
| 686 | } |
| 687 | |
| 688 | private native Object jni_getVisibleValue(); |
| 689 | public Object getVisibleValue() { |
| 690 | |
| 691 | MoeSolInternal.checkApartment(this); |
| 692 | return jni_getVisibleValue(); |
| 693 | } |
| 694 | |
| 695 | private native int jni_getFieldSize(); |
| 696 | public int getFieldSize() { |
| 697 | |
| 698 | MoeSolInternal.checkApartment(this); |
| 699 | return jni_getFieldSize(); |
| 700 | } |
| 701 | |
| 702 | } |
| 703 | |
| 704 | /** <em>Implementation</em>, <small>COM to Java</small>. */ |
| 705 | public static class Disp extends com.moesol.bindings.microsoft.dao._DAO.Disp { |
| 706 | public static com.moesol.bindings.platform_sdk.component_services.IUnknown.Disp instance() { |
| 707 | return s_instance; |
| 708 | } |
| 709 | |
| 710 | private static Disp s_instance = new Disp(); |
| 711 | |
| 712 | protected Disp() { |
| 713 | addEntry(1610809344, (short)2, "getCollatingOrder", "()I"); |
| 714 | addEntry(1610809345, (short)2, "getType", "()S"); |
| 715 | addEntry(1610809345, (short)4, "setType", "(S)V"); |
| 716 | addEntry(1610809347, (short)2, "getName", "()Ljava/lang/String;"); |
| 717 | addEntry(1610809347, (short)4, "setName", "(Ljava/lang/String;)V"); |
| 718 | addEntry(1610809349, (short)2, "getSize", "()I"); |
| 719 | addEntry(1610809349, (short)4, "setSize", "(I)V"); |
| 720 | addEntry(1610809351, (short)2, "getSourceField", "()Ljava/lang/String;"); |
| 721 | addEntry(1610809352, (short)2, "getSourceTable", "()Ljava/lang/String;"); |
| 722 | addEntry(0, (short)2, "getValue", "()Ljava/lang/Object;"); |
| 723 | addEntry(0, (short)4, "setValue", "(Ljava/lang/Object;)V"); |
| 724 | addEntry(1610809355, (short)2, "getAttributes", "()I"); |
| 725 | addEntry(1610809355, (short)4, "setAttributes", "(I)V"); |
| 726 | addEntry(1610809357, (short)2, "getOrdinalPosition", "()S"); |
| 727 | addEntry(1610809357, (short)4, "setOrdinalPosition", "(S)V"); |
| 728 | addEntry(1610809359, (short)2, "getValidationText", "()Ljava/lang/String;"); |
| 729 | addEntry(1610809359, (short)4, "setValidationText", "(Ljava/lang/String;)V"); |
| 730 | addEntry(1610809361, (short)2, "getValidateOnSet", "()Z"); |
| 731 | addEntry(1610809361, (short)4, "setValidateOnSet", "(Z)V"); |
| 732 | addEntry(1610809363, (short)2, "getValidationRule", "()Ljava/lang/String;"); |
| 733 | addEntry(1610809363, (short)4, "setValidationRule", "(Ljava/lang/String;)V"); |
| 734 | addEntry(1610809365, (short)2, "getDefaultValue", "()Ljava/lang/Object;"); |
| 735 | addEntry(1610809365, (short)4, "setDefaultValue", "(Ljava/lang/Object;)V"); |
| 736 | addEntry(1610809367, (short)2, "getRequired", "()Z"); |
| 737 | addEntry(1610809367, (short)4, "setRequired", "(Z)V"); |
| 738 | addEntry(1610809369, (short)2, "getAllowZeroLength", "()Z"); |
| 739 | addEntry(1610809369, (short)4, "setAllowZeroLength", "(Z)V"); |
| 740 | addEntry(1610809371, (short)2, "getDataUpdatable", "()Z"); |
| 741 | addEntry(1610809372, (short)2, "getForeignName", "()Ljava/lang/String;"); |
| 742 | addEntry(1610809372, (short)4, "setForeignName", "(Ljava/lang/String;)V"); |
| 743 | addEntry(1610809374, (short)1, "AppendChunk", "(Ljava/lang/Object;)V"); |
| 744 | addEntry(1610809375, (short)1, "GetChunk", "(II)Ljava/lang/Object;"); |
| 745 | addEntry(1610809376, (short)1, "_30_FieldSize", "()I"); |
| 746 | addEntry(1610809377, (short)1, "CreateProperty", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/moesol/bindings/microsoft/dao/Property;"); |
| 747 | addEntry(1610809378, (short)2, "getCollectionIndex", "()S"); |
| 748 | addEntry(1610809379, (short)2, "getOriginalValue", "()Ljava/lang/Object;"); |
| 749 | addEntry(1610809380, (short)2, "getVisibleValue", "()Ljava/lang/Object;"); |
| 750 | addEntry(1610809381, (short)2, "getFieldSize", "()I"); |
| 751 | } |
| 752 | } |
| 753 | } |