1 package org.omg.DynamicAny; 2 3 4 10 11 12 16 public class _DynStructStub extends org.omg.CORBA.portable.ObjectImpl implements org.omg.DynamicAny.DynStruct 17 { 18 final public static java.lang.Class _opsClass = DynStructOperations .class; 19 20 21 22 30 public String current_member_name () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 31 { 32 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("current_member_name", _opsClass); 33 DynStructOperations $self = (DynStructOperations ) $so.servant; 34 35 try { 36 return $self.current_member_name (); 37 } finally { 38 _servant_postinvoke ($so); 39 } 40 } 42 43 49 public org.omg.CORBA.TCKind current_member_kind () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 50 { 51 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("current_member_kind", _opsClass); 52 DynStructOperations $self = (DynStructOperations ) $so.servant; 53 54 try { 55 return $self.current_member_kind (); 56 } finally { 57 _servant_postinvoke ($so); 58 } 59 } 61 62 70 public org.omg.DynamicAny.NameValuePair [] get_members () 71 { 72 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_members", _opsClass); 73 DynStructOperations $self = (DynStructOperations ) $so.servant; 74 75 try { 76 return $self.get_members (); 77 } finally { 78 _servant_postinvoke ($so); 79 } 80 } 82 83 96 public void set_members (org.omg.DynamicAny.NameValuePair [] value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 97 { 98 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("set_members", _opsClass); 99 DynStructOperations $self = (DynStructOperations ) $so.servant; 100 101 try { 102 $self.set_members (value); 103 } finally { 104 _servant_postinvoke ($so); 105 } 106 } 108 109 117 public org.omg.DynamicAny.NameDynAnyPair [] get_members_as_dyn_any () 118 { 119 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_members_as_dyn_any", _opsClass); 120 DynStructOperations $self = (DynStructOperations ) $so.servant; 121 122 try { 123 return $self.get_members_as_dyn_any (); 124 } finally { 125 _servant_postinvoke ($so); 126 } 127 } 129 130 143 public void set_members_as_dyn_any (org.omg.DynamicAny.NameDynAnyPair [] value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 144 { 145 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("set_members_as_dyn_any", _opsClass); 146 DynStructOperations $self = (DynStructOperations ) $so.servant; 147 148 try { 149 $self.set_members_as_dyn_any (value); 150 } finally { 151 _servant_postinvoke ($so); 152 } 153 } 155 156 165 public org.omg.CORBA.TypeCode type () 166 { 167 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("type", _opsClass); 168 DynStructOperations $self = (DynStructOperations ) $so.servant; 169 170 try { 171 return $self.type (); 172 } finally { 173 _servant_postinvoke ($so); 174 } 175 } 177 178 187 public void assign (org.omg.DynamicAny.DynAny dyn_any) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch 188 { 189 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("assign", _opsClass); 190 DynStructOperations $self = (DynStructOperations ) $so.servant; 191 192 try { 193 $self.assign (dyn_any); 194 } finally { 195 _servant_postinvoke ($so); 196 } 197 } 199 200 208 public void from_any (org.omg.CORBA.Any value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 209 { 210 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("from_any", _opsClass); 211 DynStructOperations $self = (DynStructOperations ) $so.servant; 212 213 try { 214 $self.from_any (value); 215 } finally { 216 _servant_postinvoke ($so); 217 } 218 } 220 221 228 public org.omg.CORBA.Any to_any () 229 { 230 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("to_any", _opsClass); 231 DynStructOperations $self = (DynStructOperations ) $so.servant; 232 233 try { 234 return $self.to_any (); 235 } finally { 236 _servant_postinvoke ($so); 237 } 238 } 240 241 249 public boolean equal (org.omg.DynamicAny.DynAny dyn_any) 250 { 251 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("equal", _opsClass); 252 DynStructOperations $self = (DynStructOperations ) $so.servant; 253 254 try { 255 return $self.equal (dyn_any); 256 } finally { 257 _servant_postinvoke ($so); 258 } 259 } 261 262 276 public void destroy () 277 { 278 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("destroy", _opsClass); 279 DynStructOperations $self = (DynStructOperations ) $so.servant; 280 281 try { 282 $self.destroy (); 283 } finally { 284 _servant_postinvoke ($so); 285 } 286 } 288 289 296 public org.omg.DynamicAny.DynAny copy () 297 { 298 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("copy", _opsClass); 299 DynStructOperations $self = (DynStructOperations ) $so.servant; 300 301 try { 302 return $self.copy (); 303 } finally { 304 _servant_postinvoke ($so); 305 } 306 } 308 309 315 public void insert_boolean (boolean value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 316 { 317 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_boolean", _opsClass); 318 DynStructOperations $self = (DynStructOperations ) $so.servant; 319 320 try { 321 $self.insert_boolean (value); 322 } finally { 323 _servant_postinvoke ($so); 324 } 325 } 327 328 334 public void insert_octet (byte value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 335 { 336 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_octet", _opsClass); 337 DynStructOperations $self = (DynStructOperations ) $so.servant; 338 339 try { 340 $self.insert_octet (value); 341 } finally { 342 _servant_postinvoke ($so); 343 } 344 } 346 347 353 public void insert_char (char value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 354 { 355 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_char", _opsClass); 356 DynStructOperations $self = (DynStructOperations ) $so.servant; 357 358 try { 359 $self.insert_char (value); 360 } finally { 361 _servant_postinvoke ($so); 362 } 363 } 365 366 372 public void insert_short (short value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 373 { 374 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_short", _opsClass); 375 DynStructOperations $self = (DynStructOperations ) $so.servant; 376 377 try { 378 $self.insert_short (value); 379 } finally { 380 _servant_postinvoke ($so); 381 } 382 } 384 385 391 public void insert_ushort (short value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 392 { 393 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_ushort", _opsClass); 394 DynStructOperations $self = (DynStructOperations ) $so.servant; 395 396 try { 397 $self.insert_ushort (value); 398 } finally { 399 _servant_postinvoke ($so); 400 } 401 } 403 404 410 public void insert_long (int value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 411 { 412 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_long", _opsClass); 413 DynStructOperations $self = (DynStructOperations ) $so.servant; 414 415 try { 416 $self.insert_long (value); 417 } finally { 418 _servant_postinvoke ($so); 419 } 420 } 422 423 429 public void insert_ulong (int value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 430 { 431 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_ulong", _opsClass); 432 DynStructOperations $self = (DynStructOperations ) $so.servant; 433 434 try { 435 $self.insert_ulong (value); 436 } finally { 437 _servant_postinvoke ($so); 438 } 439 } 441 442 448 public void insert_float (float value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 449 { 450 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_float", _opsClass); 451 DynStructOperations $self = (DynStructOperations ) $so.servant; 452 453 try { 454 $self.insert_float (value); 455 } finally { 456 _servant_postinvoke ($so); 457 } 458 } 460 461 467 public void insert_double (double value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 468 { 469 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_double", _opsClass); 470 DynStructOperations $self = (DynStructOperations ) $so.servant; 471 472 try { 473 $self.insert_double (value); 474 } finally { 475 _servant_postinvoke ($so); 476 } 477 } 479 480 488 public void insert_string (String value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 489 { 490 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_string", _opsClass); 491 DynStructOperations $self = (DynStructOperations ) $so.servant; 492 493 try { 494 $self.insert_string (value); 495 } finally { 496 _servant_postinvoke ($so); 497 } 498 } 500 501 507 public void insert_reference (org.omg.CORBA.Object value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 508 { 509 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_reference", _opsClass); 510 DynStructOperations $self = (DynStructOperations ) $so.servant; 511 512 try { 513 $self.insert_reference (value); 514 } finally { 515 _servant_postinvoke ($so); 516 } 517 } 519 520 526 public void insert_typecode (org.omg.CORBA.TypeCode value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 527 { 528 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_typecode", _opsClass); 529 DynStructOperations $self = (DynStructOperations ) $so.servant; 530 531 try { 532 $self.insert_typecode (value); 533 } finally { 534 _servant_postinvoke ($so); 535 } 536 } 538 539 545 public void insert_longlong (long value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 546 { 547 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_longlong", _opsClass); 548 DynStructOperations $self = (DynStructOperations ) $so.servant; 549 550 try { 551 $self.insert_longlong (value); 552 } finally { 553 _servant_postinvoke ($so); 554 } 555 } 557 558 565 public void insert_ulonglong (long value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 566 { 567 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_ulonglong", _opsClass); 568 DynStructOperations $self = (DynStructOperations ) $so.servant; 569 570 try { 571 $self.insert_ulonglong (value); 572 } finally { 573 _servant_postinvoke ($so); 574 } 575 } 577 578 584 public void insert_wchar (char value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 585 { 586 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_wchar", _opsClass); 587 DynStructOperations $self = (DynStructOperations ) $so.servant; 588 589 try { 590 $self.insert_wchar (value); 591 } finally { 592 _servant_postinvoke ($so); 593 } 594 } 596 597 604 public void insert_wstring (String value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 605 { 606 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_wstring", _opsClass); 607 DynStructOperations $self = (DynStructOperations ) $so.servant; 608 609 try { 610 $self.insert_wstring (value); 611 } finally { 612 _servant_postinvoke ($so); 613 } 614 } 616 617 623 public void insert_any (org.omg.CORBA.Any value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 624 { 625 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_any", _opsClass); 626 DynStructOperations $self = (DynStructOperations ) $so.servant; 627 628 try { 629 $self.insert_any (value); 630 } finally { 631 _servant_postinvoke ($so); 632 } 633 } 635 636 642 public void insert_dyn_any (org.omg.DynamicAny.DynAny value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 643 { 644 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_dyn_any", _opsClass); 645 DynStructOperations $self = (DynStructOperations ) $so.servant; 646 647 try { 648 $self.insert_dyn_any (value); 649 } finally { 650 _servant_postinvoke ($so); 651 } 652 } 654 655 662 public void insert_val (java.io.Serializable value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 663 { 664 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_val", _opsClass); 665 DynStructOperations $self = (DynStructOperations ) $so.servant; 666 667 try { 668 $self.insert_val (value); 669 } finally { 670 _servant_postinvoke ($so); 671 } 672 } 674 675 683 public boolean get_boolean () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 684 { 685 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_boolean", _opsClass); 686 DynStructOperations $self = (DynStructOperations ) $so.servant; 687 688 try { 689 return $self.get_boolean (); 690 } finally { 691 _servant_postinvoke ($so); 692 } 693 } 695 696 704 public byte get_octet () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 705 { 706 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_octet", _opsClass); 707 DynStructOperations $self = (DynStructOperations ) $so.servant; 708 709 try { 710 return $self.get_octet (); 711 } finally { 712 _servant_postinvoke ($so); 713 } 714 } 716 717 725 public char get_char () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 726 { 727 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_char", _opsClass); 728 DynStructOperations $self = (DynStructOperations ) $so.servant; 729 730 try { 731 return $self.get_char (); 732 } finally { 733 _servant_postinvoke ($so); 734 } 735 } 737 738 746 public short get_short () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 747 { 748 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_short", _opsClass); 749 DynStructOperations $self = (DynStructOperations ) $so.servant; 750 751 try { 752 return $self.get_short (); 753 } finally { 754 _servant_postinvoke ($so); 755 } 756 } 758 759 767 public short get_ushort () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 768 { 769 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_ushort", _opsClass); 770 DynStructOperations $self = (DynStructOperations ) $so.servant; 771 772 try { 773 return $self.get_ushort (); 774 } finally { 775 _servant_postinvoke ($so); 776 } 777 } 779 780 788 public int get_long () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 789 { 790 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_long", _opsClass); 791 DynStructOperations $self = (DynStructOperations ) $so.servant; 792 793 try { 794 return $self.get_long (); 795 } finally { 796 _servant_postinvoke ($so); 797 } 798 } 800 801 809 public int get_ulong () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 810 { 811 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_ulong", _opsClass); 812 DynStructOperations $self = (DynStructOperations ) $so.servant; 813 814 try { 815 return $self.get_ulong (); 816 } finally { 817 _servant_postinvoke ($so); 818 } 819 } 821 822 830 public float get_float () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 831 { 832 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_float", _opsClass); 833 DynStructOperations $self = (DynStructOperations ) $so.servant; 834 835 try { 836 return $self.get_float (); 837 } finally { 838 _servant_postinvoke ($so); 839 } 840 } 842 843 851 public double get_double () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 852 { 853 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_double", _opsClass); 854 DynStructOperations $self = (DynStructOperations ) $so.servant; 855 856 try { 857 return $self.get_double (); 858 } finally { 859 _servant_postinvoke ($so); 860 } 861 } 863 864 873 public String get_string () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 874 { 875 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_string", _opsClass); 876 DynStructOperations $self = (DynStructOperations ) $so.servant; 877 878 try { 879 return $self.get_string (); 880 } finally { 881 _servant_postinvoke ($so); 882 } 883 } 885 886 894 public org.omg.CORBA.Object get_reference () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 895 { 896 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_reference", _opsClass); 897 DynStructOperations $self = (DynStructOperations ) $so.servant; 898 899 try { 900 return $self.get_reference (); 901 } finally { 902 _servant_postinvoke ($so); 903 } 904 } 906 907 915 public org.omg.CORBA.TypeCode get_typecode () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 916 { 917 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_typecode", _opsClass); 918 DynStructOperations $self = (DynStructOperations ) $so.servant; 919 920 try { 921 return $self.get_typecode (); 922 } finally { 923 _servant_postinvoke ($so); 924 } 925 } 927 928 936 public long get_longlong () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 937 { 938 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_longlong", _opsClass); 939 DynStructOperations $self = (DynStructOperations ) $so.servant; 940 941 try { 942 return $self.get_longlong (); 943 } finally { 944 _servant_postinvoke ($so); 945 } 946 } 948 949 958 public long get_ulonglong () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 959 { 960 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_ulonglong", _opsClass); 961 DynStructOperations $self = (DynStructOperations ) $so.servant; 962 963 try { 964 return $self.get_ulonglong (); 965 } finally { 966 _servant_postinvoke ($so); 967 } 968 } 970 971 979 public char get_wchar () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 980 { 981 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_wchar", _opsClass); 982 DynStructOperations $self = (DynStructOperations ) $so.servant; 983 984 try { 985 return $self.get_wchar (); 986 } finally { 987 _servant_postinvoke ($so); 988 } 989 } 991 992 1000 public String get_wstring () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 1001 { 1002 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_wstring", _opsClass); 1003 DynStructOperations $self = (DynStructOperations ) $so.servant; 1004 1005 try { 1006 return $self.get_wstring (); 1007 } finally { 1008 _servant_postinvoke ($so); 1009 } 1010 } 1012 1013 1021 public org.omg.CORBA.Any get_any () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 1022 { 1023 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_any", _opsClass); 1024 DynStructOperations $self = (DynStructOperations ) $so.servant; 1025 1026 try { 1027 return $self.get_any (); 1028 } finally { 1029 _servant_postinvoke ($so); 1030 } 1031 } 1033 1034 1043 public org.omg.DynamicAny.DynAny get_dyn_any () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 1044 { 1045 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_dyn_any", _opsClass); 1046 DynStructOperations $self = (DynStructOperations ) $so.servant; 1047 1048 try { 1049 return $self.get_dyn_any (); 1050 } finally { 1051 _servant_postinvoke ($so); 1052 } 1053 } 1055 1056 1065 public java.io.Serializable get_val () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 1066 { 1067 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_val", _opsClass); 1068 DynStructOperations $self = (DynStructOperations ) $so.servant; 1069 1070 try { 1071 return $self.get_val (); 1072 } finally { 1073 _servant_postinvoke ($so); 1074 } 1075 } 1077 1078 1087 public boolean seek (int index) 1088 { 1089 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("seek", _opsClass); 1090 DynStructOperations $self = (DynStructOperations ) $so.servant; 1091 1092 try { 1093 return $self.seek (index); 1094 } finally { 1095 _servant_postinvoke ($so); 1096 } 1097 } 1099 1100 1103 public void rewind () 1104 { 1105 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("rewind", _opsClass); 1106 DynStructOperations $self = (DynStructOperations ) $so.servant; 1107 1108 try { 1109 $self.rewind (); 1110 } finally { 1111 _servant_postinvoke ($so); 1112 } 1113 } 1115 1116 1122 public boolean next () 1123 { 1124 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("next", _opsClass); 1125 DynStructOperations $self = (DynStructOperations ) $so.servant; 1126 1127 try { 1128 return $self.next (); 1129 } finally { 1130 _servant_postinvoke ($so); 1131 } 1132 } 1134 1135 1150 public int component_count () 1151 { 1152 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("component_count", _opsClass); 1153 DynStructOperations $self = (DynStructOperations ) $so.servant; 1154 1155 try { 1156 return $self.component_count (); 1157 } finally { 1158 _servant_postinvoke ($so); 1159 } 1160 } 1162 1163 1181 public org.omg.DynamicAny.DynAny current_component () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch 1182 { 1183 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("current_component", _opsClass); 1184 DynStructOperations $self = (DynStructOperations ) $so.servant; 1185 1186 try { 1187 return $self.current_component (); 1188 } finally { 1189 _servant_postinvoke ($so); 1190 } 1191 } 1193 private static String [] __ids = { 1195 "IDL:omg.org/DynamicAny/DynStruct:1.0", 1196 "IDL:omg.org/DynamicAny/DynAny:1.0"}; 1197 1198 public String [] _ids () 1199 { 1200 return (String [])__ids.clone (); 1201 } 1202 1203 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException 1204 { 1205 String str = s.readUTF (); 1206 String [] args = null; 1207 java.util.Properties props = null; 1208 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); 1209 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl ) obj)._get_delegate (); 1210 _set_delegate (delegate); 1211 } 1212 1213 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException 1214 { 1215 String [] args = null; 1216 java.util.Properties props = null; 1217 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); 1218 s.writeUTF (str); 1219 } 1220} | Popular Tags |