1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713
/* * @(#)DynAny.java 1.26 05/11/17 * * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package org.omg.CORBA; /** Enables <tt>org.omg.CORBA.Any</tt> values to be dynamically * interpreted (traversed) and * constructed. A <tt>DynAny</tt> object is associated with a data value * which may correspond to a copy of the value inserted into an <tt>Any</tt>. * The <tt>DynAny</tt> APIs enable traversal of the data value associated with an * Any at runtime and extraction of the primitive constituents of the * data value. * @deprecated Use the new <a href="../DynamicAny/DynAny.html">DynAny</a> instead */ @Deprecated public interface DynAny extends org.omg.CORBA.Object { /** * Returns the <code>TypeCode</code> of the object inserted into * this <code>DynAny</code>. * * @return the <code>TypeCode</code> object. */ public org.omg.CORBA.TypeCode type() ; /** * Copy the contents from one Dynamic Any into another. * * @param dyn_any the <code>DynAny</code> object whose contents * are assigned to this <code>DynAny</code>. * @throws Invalid if the source <code>DynAny</code> is * invalid */ public void assign(org.omg.CORBA.DynAny dyn_any) throws org.omg.CORBA.DynAnyPackage.Invalid; /** * Make a <code>DynAny</code> object from an <code>Any</code> * object. * * @param value the <code>Any</code> object. * @throws Invalid if the source <code>Any</code> object is * empty or bad */ public void from_any(org.omg.CORBA.Any value) throws org.omg.CORBA.DynAnyPackage.Invalid; /** * Convert a <code>DynAny</code> object to an <code>Any</code> * object. * * @return the <code>Any</code> object. * @throws Invalid if this <code>DynAny</code> is empty or * bad. * created or does not contain a meaningful value */ public org.omg.CORBA.Any to_any() throws org.omg.CORBA.DynAnyPackage.Invalid; /** * Destroys this <code>DynAny</code> object and frees any resources * used to represent the data value associated with it. This method * also destroys all <code>DynAny</code> objects obtained from it. * <p> * Destruction of <code>DynAny</code> objects should be handled with * care, taking into account issues dealing with the representation of * data values associated with <code>DynAny</code> objects. A programmer * who wants to destroy a <code>DynAny</code> object but still be able * to manipulate some component of the data value associated with it, * should first create a <code>DynAny</code> object for the component * and then make a copy of the created <code>DynAny</code> object. */ public void destroy() ; /** * Clones this <code>DynAny</code> object. * * @return a copy of this <code>DynAny</code> object */ public org.omg.CORBA.DynAny copy() ; /** * Inserts the given <code>boolean</code> as the value for this * <code>DynAny</code> object. * * <p> If this method is called on a constructed <code>DynAny</code> * object, it initializes the next component of the constructed data * value associated with this <code>DynAny</code> object. * * @param value the <code>boolean</code> to insert into this * <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.InvalidValue * if the value inserted is not consistent with the type * of the accessed component in this <code>DynAny</code> object */ public void insert_boolean(boolean value) throws org.omg.CORBA.DynAnyPackage.InvalidValue; /** * Inserts the given <code>byte</code> as the value for this * <code>DynAny</code> object. * * <p> If this method is called on a constructed <code>DynAny</code> * object, it initializes the next component of the constructed data * value associated with this <code>DynAny</code> object. * * @param value the <code>byte</code> to insert into this * <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.InvalidValue * if the value inserted is not consistent with the type * of the accessed component in this <code>DynAny</code> object */ public void insert_octet(byte value) throws org.omg.CORBA.DynAnyPackage.InvalidValue; /** * Inserts the given <code>char</code> as the value for this * <code>DynAny</code> object. * * <p> If this method is called on a constructed <code>DynAny</code> * object, it initializes the next component of the constructed data * value associated with this <code>DynAny</code> object. * * @param value the <code>char</code> to insert into this * <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.InvalidValue * if the value inserted is not consistent with the type * of the accessed component in this <code>DynAny</code> object */ public void insert_char(char value) throws org.omg.CORBA.DynAnyPackage.InvalidValue; /** * Inserts the given <code>short</code> as the value for this * <code>DynAny</code> object. * * <p> If this method is called on a constructed <code>DynAny</code> * object, it initializes the next component of the constructed data * value associated with this <code>DynAny</code> object. * * @param value the <code>short</code> to insert into this * <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.InvalidValue * if the value inserted is not consistent with the type * of the accessed component in this <code>DynAny</code> object */ public void insert_short(short value) throws org.omg.CORBA.DynAnyPackage.InvalidValue; /** * Inserts the given <code>short</code> as the value for this * <code>DynAny</code> object. * * <p> If this method is called on a constructed <code>DynAny</code> * object, it initializes the next component of the constructed data * value associated with this <code>DynAny</code> object. * * @param value the <code>short</code> to insert into this * <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.InvalidValue * if the value inserted is not consistent with the type * of the accessed component in this <code>DynAny</code> object */ public void insert_ushort(short value) throws org.omg.CORBA.DynAnyPackage.InvalidValue; /** * Inserts the given <code>int</code> as the value for this * <code>DynAny</code> object. * * <p> If this method is called on a constructed <code>DynAny</code> * object, it initializes the next component of the constructed data * value associated with this <code>DynAny</code> object. * * @param value the <code>int</code> to insert into this * <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.InvalidValue * if the value inserted is not consistent with the type * of the accessed component in this <code>DynAny</code> object */ public void insert_long(int value) throws org.omg.CORBA.DynAnyPackage.InvalidValue; /** * Inserts the given <code>int</code> as the value for this * <code>DynAny</code> object. * * <p> If this method is called on a constructed <code>DynAny</code> * object, it initializes the next component of the constructed data * value associated with this <code>DynAny</code> object. * * @param value the <code>int</code> to insert into this * <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.InvalidValue * if the value inserted is not consistent with the type * of the accessed component in this <code>DynAny</code> object */ public void insert_ulong(int value) throws org.omg.CORBA.DynAnyPackage.InvalidValue; /** * Inserts the given <code>float</code> as the value for this * <code>DynAny</code> object. * * <p> If this method is called on a constructed <code>DynAny</code> * object, it initializes the next component of the constructed data * value associated with this <code>DynAny</code> object. * * @param value the <code>float</code> to insert into this * <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.InvalidValue * if the value inserted is not consistent with the type * of the accessed component in this <code>DynAny</code> object */ public void insert_float(float value) throws org.omg.CORBA.DynAnyPackage.InvalidValue; /** * Inserts the given <code>double</code> as the value for this * <code>DynAny</code> object. * * <p> If this method is called on a constructed <code>DynAny</code> * object, it initializes the next component of the constructed data * value associated with this <code>DynAny</code> object. * * @param value the <code>double</code> to insert into this * <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.InvalidValue * if the value inserted is not consistent with the type * of the accessed component in this <code>DynAny</code> object */ public void insert_double(double value) throws org.omg.CORBA.DynAnyPackage.InvalidValue; /** * Inserts the given <code>String</code> object as the value for this * <code>DynAny</code> object. * * <p> If this method is called on a constructed <code>DynAny</code> * object, it initializes the next component of the constructed data * value associated with this <code>DynAny</code> object. * * @param value the <code>String</code> to insert into this * <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.InvalidValue * if the value inserted is not consistent with the type * of the accessed component in this <code>DynAny</code> object */ public void insert_string(String value) throws org.omg.CORBA.DynAnyPackage.InvalidValue; /** * Inserts the given <code>org.omg.CORBA.Object</code> as the value for this * <code>DynAny</code> object. * * <p> If this method is called on a constructed <code>DynAny</code> * object, it initializes the next component of the constructed data * value associated with this <code>DynAny</code> object. * * @param value the <code>org.omg.CORBA.Object</code> to insert into this * <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.InvalidValue * if the value inserted is not consistent with the type * of the accessed component in this <code>DynAny</code> object */ public void insert_reference(org.omg.CORBA.Object value) throws org.omg.CORBA.DynAnyPackage.InvalidValue; /** * Inserts the given <code>org.omg.CORBA.TypeCode</code> as the value for this * <code>DynAny</code> object. * * <p> If this method is called on a constructed <code>DynAny</code> * object, it initializes the next component of the constructed data * value associated with this <code>DynAny</code> object. * * @param value the <code>org.omg.CORBA.TypeCode</code> to insert into this * <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.InvalidValue * if the value inserted is not consistent with the type * of the accessed component in this <code>DynAny</code> object */ public void insert_typecode(org.omg.CORBA.TypeCode value) throws org.omg.CORBA.DynAnyPackage.InvalidValue; /** * Inserts the given <code>long</code> as the value for this * <code>DynAny</code> object. * * <p> If this method is called on a constructed <code>DynAny</code> * object, it initializes the next component of the constructed data * value associated with this <code>DynAny</code> object. * * @param value the <code>long</code> to insert into this * <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.InvalidValue * if the value inserted is not consistent with the type * of the accessed component in this <code>DynAny</code> object */ public void insert_longlong(long value) throws org.omg.CORBA.DynAnyPackage.InvalidValue; /** * Inserts the given <code>long</code> as the value for this * <code>DynAny</code> object. * * <p> If this method is called on a constructed <code>DynAny</code> * object, it initializes the next component of the constructed data * value associated with this <code>DynAny</code> object. * * @param value the <code>long</code> to insert into this * <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.InvalidValue * if the value inserted is not consistent with the type * of the accessed component in this <code>DynAny</code> object */ public void insert_ulonglong(long value) throws org.omg.CORBA.DynAnyPackage.InvalidValue; /** * Inserts the given <code>char</code> as the value for this * <code>DynAny</code> object. * * <p> If this method is called on a constructed <code>DynAny</code> * object, it initializes the next component of the constructed data * value associated with this <code>DynAny</code> object. * * @param value the <code>char</code> to insert into this * <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.InvalidValue * if the value inserted is not consistent with the type * of the accessed component in this <code>DynAny</code> object */ public void insert_wchar(char value) throws org.omg.CORBA.DynAnyPackage.InvalidValue; /** * Inserts the given <code>String</code> as the value for this * <code>DynAny</code> object. * * <p> If this method is called on a constructed <code>DynAny</code> * object, it initializes the next component of the constructed data * value associated with this <code>DynAny</code> object. * * @param value the <code>String</code> to insert into this * <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.InvalidValue * if the value inserted is not consistent with the type * of the accessed component in this <code>DynAny</code> object */ public void insert_wstring(String value) throws org.omg.CORBA.DynAnyPackage.InvalidValue; /** * Inserts the given <code>org.omg.CORBA.Any</code> object as the value for this * <code>DynAny</code> object. * * <p> If this method is called on a constructed <code>DynAny</code> * object, it initializes the next component of the constructed data * value associated with this <code>DynAny</code> object. * * @param value the <code>org.omg.CORBA.Any</code> object to insert into this * <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.InvalidValue * if the value inserted is not consistent with the type * of the accessed component in this <code>DynAny</code> object */ public void insert_any(org.omg.CORBA.Any value) throws org.omg.CORBA.DynAnyPackage.InvalidValue; // orbos 98-01-18: Objects By Value -- begin /** * Inserts the given <code>java.io.Serializable</code> object as the value for this * <code>DynAny</code> object. * * <p> If this method is called on a constructed <code>DynAny</code> * object, it initializes the next component of the constructed data * value associated with this <code>DynAny</code> object. * * @param value the <code>java.io.Serializable</code> object to insert into this * <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.InvalidValue * if the value inserted is not consistent with the type * of the accessed component in this <code>DynAny</code> object */ public void insert_val(java.io.Serializable value) throws org.omg.CORBA.DynAnyPackage.InvalidValue; /** * Retrieves the <code>java.io.Serializable</code> object contained * in this <code>DynAny</code> object. * * @return the <code>java.io.Serializable</code> object that is the * value for this <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.TypeMismatch * if the type code of the accessed component in this * <code>DynAny</code> object is not equivalent to * the type code for a <code>java.io.Serializable</code> object */ public java.io.Serializable get_val() throws org.omg.CORBA.DynAnyPackage.TypeMismatch; // orbos 98-01-18: Objects By Value -- end /** * Retrieves the <code>boolean</code> contained * in this <code>DynAny</code> object. * * @return the <code>boolean</code> that is the * value for this <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.TypeMismatch * if the type code of the accessed component in this * <code>DynAny</code> object is not equivalent to * the type code for a <code>boolean</code> */ public boolean get_boolean() throws org.omg.CORBA.DynAnyPackage.TypeMismatch; /** * Retrieves the <code>byte</code> contained * in this <code>DynAny</code> object. * * @return the <code>byte</code> that is the * value for this <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.TypeMismatch * if the type code of the accessed component in this * <code>DynAny</code> object is not equivalent to * the type code for a <code>byte</code> */ public byte get_octet() throws org.omg.CORBA.DynAnyPackage.TypeMismatch; /** * Retrieves the <code>char</code> contained * in this <code>DynAny</code> object. * * @return the <code>char</code> that is the * value for this <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.TypeMismatch * if the type code of the accessed component in this * <code>DynAny</code> object is not equivalent to * the type code for a <code>char</code> */ public char get_char() throws org.omg.CORBA.DynAnyPackage.TypeMismatch; /** * Retrieves the <code>short</code> contained * in this <code>DynAny</code> object. * * @return the <code>short</code> that is the * value for this <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.TypeMismatch * if the type code of the accessed component in this * <code>DynAny</code> object is not equivalent to * the type code for a <code>short</code> */ public short get_short() throws org.omg.CORBA.DynAnyPackage.TypeMismatch; /** * Retrieves the <code>short</code> contained * in this <code>DynAny</code> object. * * @return the <code>short</code> that is the * value for this <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.TypeMismatch * if the type code of the accessed component in this * <code>DynAny</code> object is not equivalent to * the type code for a <code>short</code> */ public short get_ushort() throws org.omg.CORBA.DynAnyPackage.TypeMismatch; /** * Retrieves the <code>int</code> contained * in this <code>DynAny</code> object. * * @return the <code>int</code> that is the * value for this <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.TypeMismatch * if the type code of the accessed component in this * <code>DynAny</code> object is not equivalent to * the type code for a <code>int</code> */ public int get_long() throws org.omg.CORBA.DynAnyPackage.TypeMismatch; /** * Retrieves the <code>int</code> contained * in this <code>DynAny</code> object. * * @return the <code>int</code> that is the * value for this <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.TypeMismatch * if the type code of the accessed component in this * <code>DynAny</code> object is not equivalent to * the type code for a <code>int</code> */ public int get_ulong() throws org.omg.CORBA.DynAnyPackage.TypeMismatch; /** * Retrieves the <code>float</code> contained * in this <code>DynAny</code> object. * * @return the <code>float</code> that is the * value for this <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.TypeMismatch * if the type code of the accessed component in this * <code>DynAny</code> object is not equivalent to * the type code for a <code>float</code> */ public float get_float() throws org.omg.CORBA.DynAnyPackage.TypeMismatch; /** * Retrieves the <code>double</code> contained * in this <code>DynAny</code> object. * * @return the <code>double</code> that is the * value for this <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.TypeMismatch * if the type code of the accessed component in this * <code>DynAny</code> object is not equivalent to * the type code for a <code>double</code> */ public double get_double() throws org.omg.CORBA.DynAnyPackage.TypeMismatch; /** * Retrieves the <code>String</code> contained * in this <code>DynAny</code> object. * * @return the <code>String</code> that is the * value for this <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.TypeMismatch * if the type code of the accessed component in this * <code>DynAny</code> object is not equivalent to * the type code for a <code>String</code> */ public String get_string() throws org.omg.CORBA.DynAnyPackage.TypeMismatch; /** * Retrieves the <code>org.omg.CORBA.Other</code> contained * in this <code>DynAny</code> object. * * @return the <code>org.omg.CORBA.Other</code> that is the * value for this <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.TypeMismatch * if the type code of the accessed component in this * <code>DynAny</code> object is not equivalent to * the type code for an <code>org.omg.CORBA.Other</code> */ public org.omg.CORBA.Object get_reference() throws org.omg.CORBA.DynAnyPackage.TypeMismatch; /** * Retrieves the <code>org.omg.CORBA.TypeCode</code> contained * in this <code>DynAny</code> object. * * @return the <code>org.omg.CORBA.TypeCode</code> that is the * value for this <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.TypeMismatch * if the type code of the accessed component in this * <code>DynAny</code> object is not equivalent to * the type code for a <code>org.omg.CORBA.TypeCode</code> */ public org.omg.CORBA.TypeCode get_typecode() throws org.omg.CORBA.DynAnyPackage.TypeMismatch; /** * Retrieves the <code>long</code> contained * in this <code>DynAny</code> object. * * @return the <code>long</code> that is the * value for this <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.TypeMismatch * if the type code of the accessed component in this * <code>DynAny</code> object is not equivalent to * the type code for a <code>long</code> */ public long get_longlong() throws org.omg.CORBA.DynAnyPackage.TypeMismatch; /** * Retrieves the <code>long</code> contained * in this <code>DynAny</code> object. * * @return the <code>long</code> that is the * value for this <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.TypeMismatch * if the type code of the accessed component in this * <code>DynAny</code> object is not equivalent to * the type code for a <code>long</code> */ public long get_ulonglong() throws org.omg.CORBA.DynAnyPackage.TypeMismatch; /** * Retrieves the <code>char</code> contained * in this <code>DynAny</code> object. * * @return the <code>char</code> that is the * value for this <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.TypeMismatch * if the type code of the accessed component in this * <code>DynAny</code> object is not equivalent to * the type code for a <code>char</code> */ public char get_wchar() throws org.omg.CORBA.DynAnyPackage.TypeMismatch; /** * Retrieves the <code>String</code> contained * in this <code>DynAny</code> object. * * @return the <code>String</code> that is the * value for this <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.TypeMismatch * if the type code of the accessed component in this * <code>DynAny</code> object is not equivalent to * the type code for a <code>String</code> */ public String get_wstring() throws org.omg.CORBA.DynAnyPackage.TypeMismatch; /** * Retrieves the <code>org.omg.CORBA.Any</code> contained * in this <code>DynAny</code> object. * * @return the <code>org.omg.CORBA.Any</code> that is the * value for this <code>DynAny</code> object * @throws org.omg.CORBA.DynAnyPackage.TypeMismatch * if the type code of the accessed component in this * <code>DynAny</code> object is not equivalent to * the type code for an <code>org.omg.CORBA.Any</code> */ public org.omg.CORBA.Any get_any() throws org.omg.CORBA.DynAnyPackage.TypeMismatch; /** * Returns a <code>DynAny</code> object reference that can * be used to get/set the value of the component currently accessed. * The appropriate <code>insert</code> method * can be called on the resulting <code>DynAny</code> object * to initialize the component. * The appropriate <code>get</code> method * can be called on the resulting <code>DynAny</code> object * to extract the value of the component. * * @return a <code>DynAny</code> object reference that can be * used to retrieve or set the value of the component currently * accessed */ public org.omg.CORBA.DynAny current_component() ; /** * Moves to the next component of this <code>DynAny</code> object. * This method is used for iterating through the components of * a constructed type, effectively moving a pointer from one * component to the next. The pointer starts out on the first * component when a <code>DynAny</code> object is created. * * @return <code>true</code> if the pointer points to a component; * <code>false</code> if there are no more components or this * <code>DynAny</code> is associated with a basic type rather than * a constructed type */ public boolean next() ; /** * Moves the internal pointer to the given index. Logically, this method * sets a new offset for this pointer. * * @param index an <code>int</code> indicating the position to which * the pointer should move. The first position is 0. * @return <code>true</code> if the pointer points to a component; * <code>false</code> if there is no component at the designated * index. If this <code>DynAny</code> object is associated with a * basic type, this method returns <code>false</code> for any index * other than 0. */ public boolean seek(int index) ; /** * Moves the internal pointer to the first component. */ public void rewind() ; }