1 package org.omg.DynamicAny; 2 3 4 10 11 12 24 public class _DynValueStub extends org.omg.CORBA.portable.ObjectImpl implements org.omg.DynamicAny.DynValue 25 { 26 final public static java.lang.Class _opsClass = DynValueOperations .class; 27 28 29 30 38 public String current_member_name () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 39 { 40 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("current_member_name", _opsClass); 41 DynValueOperations $self = (DynValueOperations ) $so.servant; 42 43 try { 44 return $self.current_member_name (); 45 } finally { 46 _servant_postinvoke ($so); 47 } 48 } 50 51 57 public org.omg.CORBA.TCKind current_member_kind () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 58 { 59 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("current_member_kind", _opsClass); 60 DynValueOperations $self = (DynValueOperations ) $so.servant; 61 62 try { 63 return $self.current_member_kind (); 64 } finally { 65 _servant_postinvoke ($so); 66 } 67 } 69 70 80 public org.omg.DynamicAny.NameValuePair [] get_members () throws org.omg.DynamicAny.DynAnyPackage.InvalidValue 81 { 82 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_members", _opsClass); 83 DynValueOperations $self = (DynValueOperations ) $so.servant; 84 85 try { 86 return $self.get_members (); 87 } finally { 88 _servant_postinvoke ($so); 89 } 90 } 92 93 107 public void set_members (org.omg.DynamicAny.NameValuePair [] value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 108 { 109 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("set_members", _opsClass); 110 DynValueOperations $self = (DynValueOperations ) $so.servant; 111 112 try { 113 $self.set_members (value); 114 } finally { 115 _servant_postinvoke ($so); 116 } 117 } 119 120 130 public org.omg.DynamicAny.NameDynAnyPair [] get_members_as_dyn_any () throws org.omg.DynamicAny.DynAnyPackage.InvalidValue 131 { 132 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_members_as_dyn_any", _opsClass); 133 DynValueOperations $self = (DynValueOperations ) $so.servant; 134 135 try { 136 return $self.get_members_as_dyn_any (); 137 } finally { 138 _servant_postinvoke ($so); 139 } 140 } 142 143 157 public void set_members_as_dyn_any (org.omg.DynamicAny.NameDynAnyPair [] value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 158 { 159 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("set_members_as_dyn_any", _opsClass); 160 DynValueOperations $self = (DynValueOperations ) $so.servant; 161 162 try { 163 $self.set_members_as_dyn_any (value); 164 } finally { 165 _servant_postinvoke ($so); 166 } 167 } 169 170 173 public boolean is_null () 174 { 175 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("is_null", _opsClass); 176 DynValueOperations $self = (DynValueOperations ) $so.servant; 177 178 try { 179 return $self.is_null (); 180 } finally { 181 _servant_postinvoke ($so); 182 } 183 } 185 186 189 public void set_to_null () 190 { 191 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("set_to_null", _opsClass); 192 DynValueOperations $self = (DynValueOperations ) $so.servant; 193 194 try { 195 $self.set_to_null (); 196 } finally { 197 _servant_postinvoke ($so); 198 } 199 } 201 202 207 public void set_to_value () 208 { 209 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("set_to_value", _opsClass); 210 DynValueOperations $self = (DynValueOperations ) $so.servant; 211 212 try { 213 $self.set_to_value (); 214 } finally { 215 _servant_postinvoke ($so); 216 } 217 } 219 220 229 public org.omg.CORBA.TypeCode type () 230 { 231 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("type", _opsClass); 232 DynValueOperations $self = (DynValueOperations ) $so.servant; 233 234 try { 235 return $self.type (); 236 } finally { 237 _servant_postinvoke ($so); 238 } 239 } 241 242 251 public void assign (org.omg.DynamicAny.DynAny dyn_any) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch 252 { 253 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("assign", _opsClass); 254 DynValueOperations $self = (DynValueOperations ) $so.servant; 255 256 try { 257 $self.assign (dyn_any); 258 } finally { 259 _servant_postinvoke ($so); 260 } 261 } 263 264 272 public void from_any (org.omg.CORBA.Any value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 273 { 274 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("from_any", _opsClass); 275 DynValueOperations $self = (DynValueOperations ) $so.servant; 276 277 try { 278 $self.from_any (value); 279 } finally { 280 _servant_postinvoke ($so); 281 } 282 } 284 285 292 public org.omg.CORBA.Any to_any () 293 { 294 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("to_any", _opsClass); 295 DynValueOperations $self = (DynValueOperations ) $so.servant; 296 297 try { 298 return $self.to_any (); 299 } finally { 300 _servant_postinvoke ($so); 301 } 302 } 304 305 313 public boolean equal (org.omg.DynamicAny.DynAny dyn_any) 314 { 315 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("equal", _opsClass); 316 DynValueOperations $self = (DynValueOperations ) $so.servant; 317 318 try { 319 return $self.equal (dyn_any); 320 } finally { 321 _servant_postinvoke ($so); 322 } 323 } 325 326 340 public void destroy () 341 { 342 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("destroy", _opsClass); 343 DynValueOperations $self = (DynValueOperations ) $so.servant; 344 345 try { 346 $self.destroy (); 347 } finally { 348 _servant_postinvoke ($so); 349 } 350 } 352 353 360 public org.omg.DynamicAny.DynAny copy () 361 { 362 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("copy", _opsClass); 363 DynValueOperations $self = (DynValueOperations ) $so.servant; 364 365 try { 366 return $self.copy (); 367 } finally { 368 _servant_postinvoke ($so); 369 } 370 } 372 373 379 public void insert_boolean (boolean value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 380 { 381 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_boolean", _opsClass); 382 DynValueOperations $self = (DynValueOperations ) $so.servant; 383 384 try { 385 $self.insert_boolean (value); 386 } finally { 387 _servant_postinvoke ($so); 388 } 389 } 391 392 398 public void insert_octet (byte value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 399 { 400 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_octet", _opsClass); 401 DynValueOperations $self = (DynValueOperations ) $so.servant; 402 403 try { 404 $self.insert_octet (value); 405 } finally { 406 _servant_postinvoke ($so); 407 } 408 } 410 411 417 public void insert_char (char value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 418 { 419 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_char", _opsClass); 420 DynValueOperations $self = (DynValueOperations ) $so.servant; 421 422 try { 423 $self.insert_char (value); 424 } finally { 425 _servant_postinvoke ($so); 426 } 427 } 429 430 436 public void insert_short (short value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 437 { 438 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_short", _opsClass); 439 DynValueOperations $self = (DynValueOperations ) $so.servant; 440 441 try { 442 $self.insert_short (value); 443 } finally { 444 _servant_postinvoke ($so); 445 } 446 } 448 449 455 public void insert_ushort (short value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 456 { 457 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_ushort", _opsClass); 458 DynValueOperations $self = (DynValueOperations ) $so.servant; 459 460 try { 461 $self.insert_ushort (value); 462 } finally { 463 _servant_postinvoke ($so); 464 } 465 } 467 468 474 public void insert_long (int value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 475 { 476 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_long", _opsClass); 477 DynValueOperations $self = (DynValueOperations ) $so.servant; 478 479 try { 480 $self.insert_long (value); 481 } finally { 482 _servant_postinvoke ($so); 483 } 484 } 486 487 493 public void insert_ulong (int value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 494 { 495 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_ulong", _opsClass); 496 DynValueOperations $self = (DynValueOperations ) $so.servant; 497 498 try { 499 $self.insert_ulong (value); 500 } finally { 501 _servant_postinvoke ($so); 502 } 503 } 505 506 512 public void insert_float (float value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 513 { 514 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_float", _opsClass); 515 DynValueOperations $self = (DynValueOperations ) $so.servant; 516 517 try { 518 $self.insert_float (value); 519 } finally { 520 _servant_postinvoke ($so); 521 } 522 } 524 525 531 public void insert_double (double value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 532 { 533 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_double", _opsClass); 534 DynValueOperations $self = (DynValueOperations ) $so.servant; 535 536 try { 537 $self.insert_double (value); 538 } finally { 539 _servant_postinvoke ($so); 540 } 541 } 543 544 552 public void insert_string (String value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 553 { 554 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_string", _opsClass); 555 DynValueOperations $self = (DynValueOperations ) $so.servant; 556 557 try { 558 $self.insert_string (value); 559 } finally { 560 _servant_postinvoke ($so); 561 } 562 } 564 565 571 public void insert_reference (org.omg.CORBA.Object value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 572 { 573 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_reference", _opsClass); 574 DynValueOperations $self = (DynValueOperations ) $so.servant; 575 576 try { 577 $self.insert_reference (value); 578 } finally { 579 _servant_postinvoke ($so); 580 } 581 } 583 584 590 public void insert_typecode (org.omg.CORBA.TypeCode value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 591 { 592 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_typecode", _opsClass); 593 DynValueOperations $self = (DynValueOperations ) $so.servant; 594 595 try { 596 $self.insert_typecode (value); 597 } finally { 598 _servant_postinvoke ($so); 599 } 600 } 602 603 609 public void insert_longlong (long value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 610 { 611 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_longlong", _opsClass); 612 DynValueOperations $self = (DynValueOperations ) $so.servant; 613 614 try { 615 $self.insert_longlong (value); 616 } finally { 617 _servant_postinvoke ($so); 618 } 619 } 621 622 629 public void insert_ulonglong (long value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 630 { 631 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_ulonglong", _opsClass); 632 DynValueOperations $self = (DynValueOperations ) $so.servant; 633 634 try { 635 $self.insert_ulonglong (value); 636 } finally { 637 _servant_postinvoke ($so); 638 } 639 } 641 642 648 public void insert_wchar (char value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 649 { 650 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_wchar", _opsClass); 651 DynValueOperations $self = (DynValueOperations ) $so.servant; 652 653 try { 654 $self.insert_wchar (value); 655 } finally { 656 _servant_postinvoke ($so); 657 } 658 } 660 661 668 public void insert_wstring (String value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 669 { 670 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_wstring", _opsClass); 671 DynValueOperations $self = (DynValueOperations ) $so.servant; 672 673 try { 674 $self.insert_wstring (value); 675 } finally { 676 _servant_postinvoke ($so); 677 } 678 } 680 681 687 public void insert_any (org.omg.CORBA.Any value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 688 { 689 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_any", _opsClass); 690 DynValueOperations $self = (DynValueOperations ) $so.servant; 691 692 try { 693 $self.insert_any (value); 694 } finally { 695 _servant_postinvoke ($so); 696 } 697 } 699 700 706 public void insert_dyn_any (org.omg.DynamicAny.DynAny value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 707 { 708 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_dyn_any", _opsClass); 709 DynValueOperations $self = (DynValueOperations ) $so.servant; 710 711 try { 712 $self.insert_dyn_any (value); 713 } finally { 714 _servant_postinvoke ($so); 715 } 716 } 718 719 726 public void insert_val (java.io.Serializable value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 727 { 728 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_val", _opsClass); 729 DynValueOperations $self = (DynValueOperations ) $so.servant; 730 731 try { 732 $self.insert_val (value); 733 } finally { 734 _servant_postinvoke ($so); 735 } 736 } 738 739 747 public boolean get_boolean () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 748 { 749 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_boolean", _opsClass); 750 DynValueOperations $self = (DynValueOperations ) $so.servant; 751 752 try { 753 return $self.get_boolean (); 754 } finally { 755 _servant_postinvoke ($so); 756 } 757 } 759 760 768 public byte get_octet () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 769 { 770 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_octet", _opsClass); 771 DynValueOperations $self = (DynValueOperations ) $so.servant; 772 773 try { 774 return $self.get_octet (); 775 } finally { 776 _servant_postinvoke ($so); 777 } 778 } 780 781 789 public char get_char () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 790 { 791 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_char", _opsClass); 792 DynValueOperations $self = (DynValueOperations ) $so.servant; 793 794 try { 795 return $self.get_char (); 796 } finally { 797 _servant_postinvoke ($so); 798 } 799 } 801 802 810 public short get_short () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 811 { 812 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_short", _opsClass); 813 DynValueOperations $self = (DynValueOperations ) $so.servant; 814 815 try { 816 return $self.get_short (); 817 } finally { 818 _servant_postinvoke ($so); 819 } 820 } 822 823 831 public short get_ushort () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 832 { 833 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_ushort", _opsClass); 834 DynValueOperations $self = (DynValueOperations ) $so.servant; 835 836 try { 837 return $self.get_ushort (); 838 } finally { 839 _servant_postinvoke ($so); 840 } 841 } 843 844 852 public int get_long () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 853 { 854 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_long", _opsClass); 855 DynValueOperations $self = (DynValueOperations ) $so.servant; 856 857 try { 858 return $self.get_long (); 859 } finally { 860 _servant_postinvoke ($so); 861 } 862 } 864 865 873 public int get_ulong () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 874 { 875 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_ulong", _opsClass); 876 DynValueOperations $self = (DynValueOperations ) $so.servant; 877 878 try { 879 return $self.get_ulong (); 880 } finally { 881 _servant_postinvoke ($so); 882 } 883 } 885 886 894 public float get_float () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 895 { 896 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_float", _opsClass); 897 DynValueOperations $self = (DynValueOperations ) $so.servant; 898 899 try { 900 return $self.get_float (); 901 } finally { 902 _servant_postinvoke ($so); 903 } 904 } 906 907 915 public double get_double () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 916 { 917 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_double", _opsClass); 918 DynValueOperations $self = (DynValueOperations ) $so.servant; 919 920 try { 921 return $self.get_double (); 922 } finally { 923 _servant_postinvoke ($so); 924 } 925 } 927 928 937 public String get_string () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 938 { 939 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_string", _opsClass); 940 DynValueOperations $self = (DynValueOperations ) $so.servant; 941 942 try { 943 return $self.get_string (); 944 } finally { 945 _servant_postinvoke ($so); 946 } 947 } 949 950 958 public org.omg.CORBA.Object get_reference () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 959 { 960 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_reference", _opsClass); 961 DynValueOperations $self = (DynValueOperations ) $so.servant; 962 963 try { 964 return $self.get_reference (); 965 } finally { 966 _servant_postinvoke ($so); 967 } 968 } 970 971 979 public org.omg.CORBA.TypeCode get_typecode () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 980 { 981 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_typecode", _opsClass); 982 DynValueOperations $self = (DynValueOperations ) $so.servant; 983 984 try { 985 return $self.get_typecode (); 986 } finally { 987 _servant_postinvoke ($so); 988 } 989 } 991 992 1000 public long get_longlong () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 1001 { 1002 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_longlong", _opsClass); 1003 DynValueOperations $self = (DynValueOperations ) $so.servant; 1004 1005 try { 1006 return $self.get_longlong (); 1007 } finally { 1008 _servant_postinvoke ($so); 1009 } 1010 } 1012 1013 1022 public long get_ulonglong () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 1023 { 1024 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_ulonglong", _opsClass); 1025 DynValueOperations $self = (DynValueOperations ) $so.servant; 1026 1027 try { 1028 return $self.get_ulonglong (); 1029 } finally { 1030 _servant_postinvoke ($so); 1031 } 1032 } 1034 1035 1043 public char get_wchar () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 1044 { 1045 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_wchar", _opsClass); 1046 DynValueOperations $self = (DynValueOperations ) $so.servant; 1047 1048 try { 1049 return $self.get_wchar (); 1050 } finally { 1051 _servant_postinvoke ($so); 1052 } 1053 } 1055 1056 1064 public String get_wstring () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 1065 { 1066 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_wstring", _opsClass); 1067 DynValueOperations $self = (DynValueOperations ) $so.servant; 1068 1069 try { 1070 return $self.get_wstring (); 1071 } finally { 1072 _servant_postinvoke ($so); 1073 } 1074 } 1076 1077 1085 public org.omg.CORBA.Any get_any () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 1086 { 1087 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_any", _opsClass); 1088 DynValueOperations $self = (DynValueOperations ) $so.servant; 1089 1090 try { 1091 return $self.get_any (); 1092 } finally { 1093 _servant_postinvoke ($so); 1094 } 1095 } 1097 1098 1107 public org.omg.DynamicAny.DynAny get_dyn_any () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 1108 { 1109 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_dyn_any", _opsClass); 1110 DynValueOperations $self = (DynValueOperations ) $so.servant; 1111 1112 try { 1113 return $self.get_dyn_any (); 1114 } finally { 1115 _servant_postinvoke ($so); 1116 } 1117 } 1119 1120 1129 public java.io.Serializable get_val () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 1130 { 1131 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_val", _opsClass); 1132 DynValueOperations $self = (DynValueOperations ) $so.servant; 1133 1134 try { 1135 return $self.get_val (); 1136 } finally { 1137 _servant_postinvoke ($so); 1138 } 1139 } 1141 1142 1151 public boolean seek (int index) 1152 { 1153 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("seek", _opsClass); 1154 DynValueOperations $self = (DynValueOperations ) $so.servant; 1155 1156 try { 1157 return $self.seek (index); 1158 } finally { 1159 _servant_postinvoke ($so); 1160 } 1161 } 1163 1164 1167 public void rewind () 1168 { 1169 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("rewind", _opsClass); 1170 DynValueOperations $self = (DynValueOperations ) $so.servant; 1171 1172 try { 1173 $self.rewind (); 1174 } finally { 1175 _servant_postinvoke ($so); 1176 } 1177 } 1179 1180 1186 public boolean next () 1187 { 1188 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("next", _opsClass); 1189 DynValueOperations $self = (DynValueOperations ) $so.servant; 1190 1191 try { 1192 return $self.next (); 1193 } finally { 1194 _servant_postinvoke ($so); 1195 } 1196 } 1198 1199 1214 public int component_count () 1215 { 1216 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("component_count", _opsClass); 1217 DynValueOperations $self = (DynValueOperations ) $so.servant; 1218 1219 try { 1220 return $self.component_count (); 1221 } finally { 1222 _servant_postinvoke ($so); 1223 } 1224 } 1226 1227 1245 public org.omg.DynamicAny.DynAny current_component () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch 1246 { 1247 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("current_component", _opsClass); 1248 DynValueOperations $self = (DynValueOperations ) $so.servant; 1249 1250 try { 1251 return $self.current_component (); 1252 } finally { 1253 _servant_postinvoke ($so); 1254 } 1255 } 1257 private static String [] __ids = { 1259 "IDL:omg.org/DynamicAny/DynValue:1.0", 1260 "IDL:omg.org/DynamicAny/DynValueCommon:1.0", 1261 "IDL:omg.org/DynamicAny/DynAny:1.0"}; 1262 1263 public String [] _ids () 1264 { 1265 return (String [])__ids.clone (); 1266 } 1267 1268 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException 1269 { 1270 String str = s.readUTF (); 1271 String [] args = null; 1272 java.util.Properties props = null; 1273 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); 1274 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl ) obj)._get_delegate (); 1275 _set_delegate (delegate); 1276 } 1277 1278 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException 1279 { 1280 String [] args = null; 1281 java.util.Properties props = null; 1282 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); 1283 s.writeUTF (str); 1284 } 1285} | Popular Tags |