1 package org.omg.DynamicAny; 2 3 4 10 11 12 22 public class _DynUnionStub extends org.omg.CORBA.portable.ObjectImpl implements org.omg.DynamicAny.DynUnion 23 { 24 final public static java.lang.Class _opsClass = DynUnionOperations .class; 25 26 27 28 31 public org.omg.DynamicAny.DynAny get_discriminator () 32 { 33 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_discriminator", _opsClass); 34 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 35 36 try { 37 return $self.get_discriminator (); 38 } finally { 39 _servant_postinvoke ($so); 40 } 41 } 43 44 59 public void set_discriminator (org.omg.DynamicAny.DynAny d) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch 60 { 61 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("set_discriminator", _opsClass); 62 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 63 64 try { 65 $self.set_discriminator (d); 66 } finally { 67 _servant_postinvoke ($so); 68 } 69 } 71 72 78 public void set_to_default_member () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch 79 { 80 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("set_to_default_member", _opsClass); 81 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 82 83 try { 84 $self.set_to_default_member (); 85 } finally { 86 _servant_postinvoke ($so); 87 } 88 } 90 91 98 public void set_to_no_active_member () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch 99 { 100 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("set_to_no_active_member", _opsClass); 101 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 102 103 try { 104 $self.set_to_no_active_member (); 105 } finally { 106 _servant_postinvoke ($so); 107 } 108 } 110 111 118 public boolean has_no_active_member () 119 { 120 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("has_no_active_member", _opsClass); 121 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 122 123 try { 124 return $self.has_no_active_member (); 125 } finally { 126 _servant_postinvoke ($so); 127 } 128 } 130 131 134 public org.omg.CORBA.TCKind discriminator_kind () 135 { 136 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("discriminator_kind", _opsClass); 137 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 138 139 try { 140 return $self.discriminator_kind (); 141 } finally { 142 _servant_postinvoke ($so); 143 } 144 } 146 147 152 public org.omg.CORBA.TCKind member_kind () throws org.omg.DynamicAny.DynAnyPackage.InvalidValue 153 { 154 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("member_kind", _opsClass); 155 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 156 157 try { 158 return $self.member_kind (); 159 } finally { 160 _servant_postinvoke ($so); 161 } 162 } 164 165 172 public org.omg.DynamicAny.DynAny member () throws org.omg.DynamicAny.DynAnyPackage.InvalidValue 173 { 174 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("member", _opsClass); 175 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 176 177 try { 178 return $self.member (); 179 } finally { 180 _servant_postinvoke ($so); 181 } 182 } 184 185 191 public String member_name () throws org.omg.DynamicAny.DynAnyPackage.InvalidValue 192 { 193 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("member_name", _opsClass); 194 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 195 196 try { 197 return $self.member_name (); 198 } finally { 199 _servant_postinvoke ($so); 200 } 201 } 203 204 213 public org.omg.CORBA.TypeCode type () 214 { 215 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("type", _opsClass); 216 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 217 218 try { 219 return $self.type (); 220 } finally { 221 _servant_postinvoke ($so); 222 } 223 } 225 226 235 public void assign (org.omg.DynamicAny.DynAny dyn_any) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch 236 { 237 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("assign", _opsClass); 238 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 239 240 try { 241 $self.assign (dyn_any); 242 } finally { 243 _servant_postinvoke ($so); 244 } 245 } 247 248 256 public void from_any (org.omg.CORBA.Any value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 257 { 258 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("from_any", _opsClass); 259 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 260 261 try { 262 $self.from_any (value); 263 } finally { 264 _servant_postinvoke ($so); 265 } 266 } 268 269 276 public org.omg.CORBA.Any to_any () 277 { 278 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("to_any", _opsClass); 279 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 280 281 try { 282 return $self.to_any (); 283 } finally { 284 _servant_postinvoke ($so); 285 } 286 } 288 289 297 public boolean equal (org.omg.DynamicAny.DynAny dyn_any) 298 { 299 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("equal", _opsClass); 300 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 301 302 try { 303 return $self.equal (dyn_any); 304 } finally { 305 _servant_postinvoke ($so); 306 } 307 } 309 310 324 public void destroy () 325 { 326 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("destroy", _opsClass); 327 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 328 329 try { 330 $self.destroy (); 331 } finally { 332 _servant_postinvoke ($so); 333 } 334 } 336 337 344 public org.omg.DynamicAny.DynAny copy () 345 { 346 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("copy", _opsClass); 347 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 348 349 try { 350 return $self.copy (); 351 } finally { 352 _servant_postinvoke ($so); 353 } 354 } 356 357 363 public void insert_boolean (boolean value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 364 { 365 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_boolean", _opsClass); 366 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 367 368 try { 369 $self.insert_boolean (value); 370 } finally { 371 _servant_postinvoke ($so); 372 } 373 } 375 376 382 public void insert_octet (byte value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 383 { 384 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_octet", _opsClass); 385 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 386 387 try { 388 $self.insert_octet (value); 389 } finally { 390 _servant_postinvoke ($so); 391 } 392 } 394 395 401 public void insert_char (char value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 402 { 403 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_char", _opsClass); 404 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 405 406 try { 407 $self.insert_char (value); 408 } finally { 409 _servant_postinvoke ($so); 410 } 411 } 413 414 420 public void insert_short (short value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 421 { 422 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_short", _opsClass); 423 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 424 425 try { 426 $self.insert_short (value); 427 } finally { 428 _servant_postinvoke ($so); 429 } 430 } 432 433 439 public void insert_ushort (short value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 440 { 441 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_ushort", _opsClass); 442 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 443 444 try { 445 $self.insert_ushort (value); 446 } finally { 447 _servant_postinvoke ($so); 448 } 449 } 451 452 458 public void insert_long (int value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 459 { 460 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_long", _opsClass); 461 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 462 463 try { 464 $self.insert_long (value); 465 } finally { 466 _servant_postinvoke ($so); 467 } 468 } 470 471 477 public void insert_ulong (int value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 478 { 479 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_ulong", _opsClass); 480 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 481 482 try { 483 $self.insert_ulong (value); 484 } finally { 485 _servant_postinvoke ($so); 486 } 487 } 489 490 496 public void insert_float (float value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 497 { 498 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_float", _opsClass); 499 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 500 501 try { 502 $self.insert_float (value); 503 } finally { 504 _servant_postinvoke ($so); 505 } 506 } 508 509 515 public void insert_double (double value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 516 { 517 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_double", _opsClass); 518 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 519 520 try { 521 $self.insert_double (value); 522 } finally { 523 _servant_postinvoke ($so); 524 } 525 } 527 528 536 public void insert_string (String value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 537 { 538 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_string", _opsClass); 539 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 540 541 try { 542 $self.insert_string (value); 543 } finally { 544 _servant_postinvoke ($so); 545 } 546 } 548 549 555 public void insert_reference (org.omg.CORBA.Object value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 556 { 557 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_reference", _opsClass); 558 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 559 560 try { 561 $self.insert_reference (value); 562 } finally { 563 _servant_postinvoke ($so); 564 } 565 } 567 568 574 public void insert_typecode (org.omg.CORBA.TypeCode value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 575 { 576 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_typecode", _opsClass); 577 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 578 579 try { 580 $self.insert_typecode (value); 581 } finally { 582 _servant_postinvoke ($so); 583 } 584 } 586 587 593 public void insert_longlong (long value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 594 { 595 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_longlong", _opsClass); 596 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 597 598 try { 599 $self.insert_longlong (value); 600 } finally { 601 _servant_postinvoke ($so); 602 } 603 } 605 606 613 public void insert_ulonglong (long value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 614 { 615 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_ulonglong", _opsClass); 616 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 617 618 try { 619 $self.insert_ulonglong (value); 620 } finally { 621 _servant_postinvoke ($so); 622 } 623 } 625 626 632 public void insert_wchar (char value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 633 { 634 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_wchar", _opsClass); 635 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 636 637 try { 638 $self.insert_wchar (value); 639 } finally { 640 _servant_postinvoke ($so); 641 } 642 } 644 645 652 public void insert_wstring (String value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 653 { 654 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_wstring", _opsClass); 655 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 656 657 try { 658 $self.insert_wstring (value); 659 } finally { 660 _servant_postinvoke ($so); 661 } 662 } 664 665 671 public void insert_any (org.omg.CORBA.Any value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 672 { 673 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_any", _opsClass); 674 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 675 676 try { 677 $self.insert_any (value); 678 } finally { 679 _servant_postinvoke ($so); 680 } 681 } 683 684 690 public void insert_dyn_any (org.omg.DynamicAny.DynAny value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 691 { 692 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_dyn_any", _opsClass); 693 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 694 695 try { 696 $self.insert_dyn_any (value); 697 } finally { 698 _servant_postinvoke ($so); 699 } 700 } 702 703 710 public void insert_val (java.io.Serializable value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 711 { 712 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_val", _opsClass); 713 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 714 715 try { 716 $self.insert_val (value); 717 } finally { 718 _servant_postinvoke ($so); 719 } 720 } 722 723 731 public boolean get_boolean () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 732 { 733 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_boolean", _opsClass); 734 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 735 736 try { 737 return $self.get_boolean (); 738 } finally { 739 _servant_postinvoke ($so); 740 } 741 } 743 744 752 public byte get_octet () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 753 { 754 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_octet", _opsClass); 755 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 756 757 try { 758 return $self.get_octet (); 759 } finally { 760 _servant_postinvoke ($so); 761 } 762 } 764 765 773 public char get_char () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 774 { 775 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_char", _opsClass); 776 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 777 778 try { 779 return $self.get_char (); 780 } finally { 781 _servant_postinvoke ($so); 782 } 783 } 785 786 794 public short get_short () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 795 { 796 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_short", _opsClass); 797 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 798 799 try { 800 return $self.get_short (); 801 } finally { 802 _servant_postinvoke ($so); 803 } 804 } 806 807 815 public short get_ushort () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 816 { 817 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_ushort", _opsClass); 818 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 819 820 try { 821 return $self.get_ushort (); 822 } finally { 823 _servant_postinvoke ($so); 824 } 825 } 827 828 836 public int get_long () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 837 { 838 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_long", _opsClass); 839 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 840 841 try { 842 return $self.get_long (); 843 } finally { 844 _servant_postinvoke ($so); 845 } 846 } 848 849 857 public int get_ulong () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 858 { 859 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_ulong", _opsClass); 860 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 861 862 try { 863 return $self.get_ulong (); 864 } finally { 865 _servant_postinvoke ($so); 866 } 867 } 869 870 878 public float get_float () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 879 { 880 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_float", _opsClass); 881 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 882 883 try { 884 return $self.get_float (); 885 } finally { 886 _servant_postinvoke ($so); 887 } 888 } 890 891 899 public double get_double () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 900 { 901 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_double", _opsClass); 902 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 903 904 try { 905 return $self.get_double (); 906 } finally { 907 _servant_postinvoke ($so); 908 } 909 } 911 912 921 public String get_string () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 922 { 923 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_string", _opsClass); 924 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 925 926 try { 927 return $self.get_string (); 928 } finally { 929 _servant_postinvoke ($so); 930 } 931 } 933 934 942 public org.omg.CORBA.Object get_reference () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 943 { 944 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_reference", _opsClass); 945 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 946 947 try { 948 return $self.get_reference (); 949 } finally { 950 _servant_postinvoke ($so); 951 } 952 } 954 955 963 public org.omg.CORBA.TypeCode get_typecode () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 964 { 965 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_typecode", _opsClass); 966 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 967 968 try { 969 return $self.get_typecode (); 970 } finally { 971 _servant_postinvoke ($so); 972 } 973 } 975 976 984 public long get_longlong () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 985 { 986 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_longlong", _opsClass); 987 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 988 989 try { 990 return $self.get_longlong (); 991 } finally { 992 _servant_postinvoke ($so); 993 } 994 } 996 997 1006 public long get_ulonglong () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 1007 { 1008 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_ulonglong", _opsClass); 1009 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 1010 1011 try { 1012 return $self.get_ulonglong (); 1013 } finally { 1014 _servant_postinvoke ($so); 1015 } 1016 } 1018 1019 1027 public char get_wchar () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 1028 { 1029 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_wchar", _opsClass); 1030 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 1031 1032 try { 1033 return $self.get_wchar (); 1034 } finally { 1035 _servant_postinvoke ($so); 1036 } 1037 } 1039 1040 1048 public String get_wstring () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 1049 { 1050 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_wstring", _opsClass); 1051 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 1052 1053 try { 1054 return $self.get_wstring (); 1055 } finally { 1056 _servant_postinvoke ($so); 1057 } 1058 } 1060 1061 1069 public org.omg.CORBA.Any get_any () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 1070 { 1071 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_any", _opsClass); 1072 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 1073 1074 try { 1075 return $self.get_any (); 1076 } finally { 1077 _servant_postinvoke ($so); 1078 } 1079 } 1081 1082 1091 public org.omg.DynamicAny.DynAny get_dyn_any () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 1092 { 1093 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_dyn_any", _opsClass); 1094 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 1095 1096 try { 1097 return $self.get_dyn_any (); 1098 } finally { 1099 _servant_postinvoke ($so); 1100 } 1101 } 1103 1104 1113 public java.io.Serializable get_val () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 1114 { 1115 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_val", _opsClass); 1116 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 1117 1118 try { 1119 return $self.get_val (); 1120 } finally { 1121 _servant_postinvoke ($so); 1122 } 1123 } 1125 1126 1135 public boolean seek (int index) 1136 { 1137 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("seek", _opsClass); 1138 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 1139 1140 try { 1141 return $self.seek (index); 1142 } finally { 1143 _servant_postinvoke ($so); 1144 } 1145 } 1147 1148 1151 public void rewind () 1152 { 1153 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("rewind", _opsClass); 1154 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 1155 1156 try { 1157 $self.rewind (); 1158 } finally { 1159 _servant_postinvoke ($so); 1160 } 1161 } 1163 1164 1170 public boolean next () 1171 { 1172 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("next", _opsClass); 1173 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 1174 1175 try { 1176 return $self.next (); 1177 } finally { 1178 _servant_postinvoke ($so); 1179 } 1180 } 1182 1183 1198 public int component_count () 1199 { 1200 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("component_count", _opsClass); 1201 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 1202 1203 try { 1204 return $self.component_count (); 1205 } finally { 1206 _servant_postinvoke ($so); 1207 } 1208 } 1210 1211 1229 public org.omg.DynamicAny.DynAny current_component () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch 1230 { 1231 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("current_component", _opsClass); 1232 DynUnionOperations $self = (DynUnionOperations ) $so.servant; 1233 1234 try { 1235 return $self.current_component (); 1236 } finally { 1237 _servant_postinvoke ($so); 1238 } 1239 } 1241 private static String [] __ids = { 1243 "IDL:omg.org/DynamicAny/DynUnion:1.0", 1244 "IDL:omg.org/DynamicAny/DynAny:1.0"}; 1245 1246 public String [] _ids () 1247 { 1248 return (String [])__ids.clone (); 1249 } 1250 1251 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException 1252 { 1253 String str = s.readUTF (); 1254 String [] args = null; 1255 java.util.Properties props = null; 1256 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); 1257 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl ) obj)._get_delegate (); 1258 _set_delegate (delegate); 1259 } 1260 1261 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException 1262 { 1263 String [] args = null; 1264 java.util.Properties props = null; 1265 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); 1266 s.writeUTF (str); 1267 } 1268} | Popular Tags |