1 package org.omg.DynamicAny; 2 3 4 10 11 12 16 public class _DynEnumStub extends org.omg.CORBA.portable.ObjectImpl implements org.omg.DynamicAny.DynEnum 17 { 18 final public static java.lang.Class _opsClass = DynEnumOperations .class; 19 20 21 22 25 public String get_as_string () 26 { 27 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_as_string", _opsClass); 28 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 29 30 try { 31 return $self.get_as_string (); 32 } finally { 33 _servant_postinvoke ($so); 34 } 35 } 37 38 44 public void set_as_string (String value) throws org.omg.DynamicAny.DynAnyPackage.InvalidValue 45 { 46 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("set_as_string", _opsClass); 47 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 48 49 try { 50 $self.set_as_string (value); 51 } finally { 52 _servant_postinvoke ($so); 53 } 54 } 56 57 62 public int get_as_ulong () 63 { 64 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_as_ulong", _opsClass); 65 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 66 67 try { 68 return $self.get_as_ulong (); 69 } finally { 70 _servant_postinvoke ($so); 71 } 72 } 74 75 81 public void set_as_ulong (int value) throws org.omg.DynamicAny.DynAnyPackage.InvalidValue 82 { 83 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("set_as_ulong", _opsClass); 84 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 85 86 try { 87 $self.set_as_ulong (value); 88 } finally { 89 _servant_postinvoke ($so); 90 } 91 } 93 94 103 public org.omg.CORBA.TypeCode type () 104 { 105 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("type", _opsClass); 106 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 107 108 try { 109 return $self.type (); 110 } finally { 111 _servant_postinvoke ($so); 112 } 113 } 115 116 125 public void assign (org.omg.DynamicAny.DynAny dyn_any) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch 126 { 127 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("assign", _opsClass); 128 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 129 130 try { 131 $self.assign (dyn_any); 132 } finally { 133 _servant_postinvoke ($so); 134 } 135 } 137 138 146 public void from_any (org.omg.CORBA.Any value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 147 { 148 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("from_any", _opsClass); 149 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 150 151 try { 152 $self.from_any (value); 153 } finally { 154 _servant_postinvoke ($so); 155 } 156 } 158 159 166 public org.omg.CORBA.Any to_any () 167 { 168 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("to_any", _opsClass); 169 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 170 171 try { 172 return $self.to_any (); 173 } finally { 174 _servant_postinvoke ($so); 175 } 176 } 178 179 187 public boolean equal (org.omg.DynamicAny.DynAny dyn_any) 188 { 189 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("equal", _opsClass); 190 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 191 192 try { 193 return $self.equal (dyn_any); 194 } finally { 195 _servant_postinvoke ($so); 196 } 197 } 199 200 214 public void destroy () 215 { 216 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("destroy", _opsClass); 217 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 218 219 try { 220 $self.destroy (); 221 } finally { 222 _servant_postinvoke ($so); 223 } 224 } 226 227 234 public org.omg.DynamicAny.DynAny copy () 235 { 236 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("copy", _opsClass); 237 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 238 239 try { 240 return $self.copy (); 241 } finally { 242 _servant_postinvoke ($so); 243 } 244 } 246 247 253 public void insert_boolean (boolean value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 254 { 255 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_boolean", _opsClass); 256 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 257 258 try { 259 $self.insert_boolean (value); 260 } finally { 261 _servant_postinvoke ($so); 262 } 263 } 265 266 272 public void insert_octet (byte value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 273 { 274 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_octet", _opsClass); 275 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 276 277 try { 278 $self.insert_octet (value); 279 } finally { 280 _servant_postinvoke ($so); 281 } 282 } 284 285 291 public void insert_char (char value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 292 { 293 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_char", _opsClass); 294 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 295 296 try { 297 $self.insert_char (value); 298 } finally { 299 _servant_postinvoke ($so); 300 } 301 } 303 304 310 public void insert_short (short value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 311 { 312 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_short", _opsClass); 313 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 314 315 try { 316 $self.insert_short (value); 317 } finally { 318 _servant_postinvoke ($so); 319 } 320 } 322 323 329 public void insert_ushort (short value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 330 { 331 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_ushort", _opsClass); 332 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 333 334 try { 335 $self.insert_ushort (value); 336 } finally { 337 _servant_postinvoke ($so); 338 } 339 } 341 342 348 public void insert_long (int value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 349 { 350 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_long", _opsClass); 351 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 352 353 try { 354 $self.insert_long (value); 355 } finally { 356 _servant_postinvoke ($so); 357 } 358 } 360 361 367 public void insert_ulong (int value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 368 { 369 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_ulong", _opsClass); 370 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 371 372 try { 373 $self.insert_ulong (value); 374 } finally { 375 _servant_postinvoke ($so); 376 } 377 } 379 380 386 public void insert_float (float value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 387 { 388 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_float", _opsClass); 389 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 390 391 try { 392 $self.insert_float (value); 393 } finally { 394 _servant_postinvoke ($so); 395 } 396 } 398 399 405 public void insert_double (double value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 406 { 407 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_double", _opsClass); 408 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 409 410 try { 411 $self.insert_double (value); 412 } finally { 413 _servant_postinvoke ($so); 414 } 415 } 417 418 426 public void insert_string (String value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 427 { 428 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_string", _opsClass); 429 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 430 431 try { 432 $self.insert_string (value); 433 } finally { 434 _servant_postinvoke ($so); 435 } 436 } 438 439 445 public void insert_reference (org.omg.CORBA.Object value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 446 { 447 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_reference", _opsClass); 448 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 449 450 try { 451 $self.insert_reference (value); 452 } finally { 453 _servant_postinvoke ($so); 454 } 455 } 457 458 464 public void insert_typecode (org.omg.CORBA.TypeCode value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 465 { 466 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_typecode", _opsClass); 467 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 468 469 try { 470 $self.insert_typecode (value); 471 } finally { 472 _servant_postinvoke ($so); 473 } 474 } 476 477 483 public void insert_longlong (long value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 484 { 485 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_longlong", _opsClass); 486 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 487 488 try { 489 $self.insert_longlong (value); 490 } finally { 491 _servant_postinvoke ($so); 492 } 493 } 495 496 503 public void insert_ulonglong (long value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 504 { 505 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_ulonglong", _opsClass); 506 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 507 508 try { 509 $self.insert_ulonglong (value); 510 } finally { 511 _servant_postinvoke ($so); 512 } 513 } 515 516 522 public void insert_wchar (char value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 523 { 524 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_wchar", _opsClass); 525 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 526 527 try { 528 $self.insert_wchar (value); 529 } finally { 530 _servant_postinvoke ($so); 531 } 532 } 534 535 542 public void insert_wstring (String value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 543 { 544 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_wstring", _opsClass); 545 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 546 547 try { 548 $self.insert_wstring (value); 549 } finally { 550 _servant_postinvoke ($so); 551 } 552 } 554 555 561 public void insert_any (org.omg.CORBA.Any value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 562 { 563 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_any", _opsClass); 564 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 565 566 try { 567 $self.insert_any (value); 568 } finally { 569 _servant_postinvoke ($so); 570 } 571 } 573 574 580 public void insert_dyn_any (org.omg.DynamicAny.DynAny value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 581 { 582 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_dyn_any", _opsClass); 583 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 584 585 try { 586 $self.insert_dyn_any (value); 587 } finally { 588 _servant_postinvoke ($so); 589 } 590 } 592 593 600 public void insert_val (java.io.Serializable value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 601 { 602 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_val", _opsClass); 603 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 604 605 try { 606 $self.insert_val (value); 607 } finally { 608 _servant_postinvoke ($so); 609 } 610 } 612 613 621 public boolean get_boolean () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 622 { 623 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_boolean", _opsClass); 624 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 625 626 try { 627 return $self.get_boolean (); 628 } finally { 629 _servant_postinvoke ($so); 630 } 631 } 633 634 642 public byte get_octet () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 643 { 644 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_octet", _opsClass); 645 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 646 647 try { 648 return $self.get_octet (); 649 } finally { 650 _servant_postinvoke ($so); 651 } 652 } 654 655 663 public char get_char () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 664 { 665 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_char", _opsClass); 666 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 667 668 try { 669 return $self.get_char (); 670 } finally { 671 _servant_postinvoke ($so); 672 } 673 } 675 676 684 public short get_short () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 685 { 686 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_short", _opsClass); 687 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 688 689 try { 690 return $self.get_short (); 691 } finally { 692 _servant_postinvoke ($so); 693 } 694 } 696 697 705 public short get_ushort () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 706 { 707 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_ushort", _opsClass); 708 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 709 710 try { 711 return $self.get_ushort (); 712 } finally { 713 _servant_postinvoke ($so); 714 } 715 } 717 718 726 public int get_long () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 727 { 728 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_long", _opsClass); 729 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 730 731 try { 732 return $self.get_long (); 733 } finally { 734 _servant_postinvoke ($so); 735 } 736 } 738 739 747 public int get_ulong () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 748 { 749 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_ulong", _opsClass); 750 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 751 752 try { 753 return $self.get_ulong (); 754 } finally { 755 _servant_postinvoke ($so); 756 } 757 } 759 760 768 public float get_float () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 769 { 770 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_float", _opsClass); 771 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 772 773 try { 774 return $self.get_float (); 775 } finally { 776 _servant_postinvoke ($so); 777 } 778 } 780 781 789 public double get_double () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 790 { 791 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_double", _opsClass); 792 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 793 794 try { 795 return $self.get_double (); 796 } finally { 797 _servant_postinvoke ($so); 798 } 799 } 801 802 811 public String get_string () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 812 { 813 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_string", _opsClass); 814 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 815 816 try { 817 return $self.get_string (); 818 } finally { 819 _servant_postinvoke ($so); 820 } 821 } 823 824 832 public org.omg.CORBA.Object get_reference () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 833 { 834 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_reference", _opsClass); 835 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 836 837 try { 838 return $self.get_reference (); 839 } finally { 840 _servant_postinvoke ($so); 841 } 842 } 844 845 853 public org.omg.CORBA.TypeCode get_typecode () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 854 { 855 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_typecode", _opsClass); 856 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 857 858 try { 859 return $self.get_typecode (); 860 } finally { 861 _servant_postinvoke ($so); 862 } 863 } 865 866 874 public long get_longlong () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 875 { 876 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_longlong", _opsClass); 877 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 878 879 try { 880 return $self.get_longlong (); 881 } finally { 882 _servant_postinvoke ($so); 883 } 884 } 886 887 896 public long get_ulonglong () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 897 { 898 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_ulonglong", _opsClass); 899 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 900 901 try { 902 return $self.get_ulonglong (); 903 } finally { 904 _servant_postinvoke ($so); 905 } 906 } 908 909 917 public char get_wchar () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 918 { 919 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_wchar", _opsClass); 920 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 921 922 try { 923 return $self.get_wchar (); 924 } finally { 925 _servant_postinvoke ($so); 926 } 927 } 929 930 938 public String get_wstring () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 939 { 940 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_wstring", _opsClass); 941 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 942 943 try { 944 return $self.get_wstring (); 945 } finally { 946 _servant_postinvoke ($so); 947 } 948 } 950 951 959 public org.omg.CORBA.Any get_any () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 960 { 961 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_any", _opsClass); 962 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 963 964 try { 965 return $self.get_any (); 966 } finally { 967 _servant_postinvoke ($so); 968 } 969 } 971 972 981 public org.omg.DynamicAny.DynAny get_dyn_any () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 982 { 983 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_dyn_any", _opsClass); 984 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 985 986 try { 987 return $self.get_dyn_any (); 988 } finally { 989 _servant_postinvoke ($so); 990 } 991 } 993 994 1003 public java.io.Serializable get_val () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch , org.omg.DynamicAny.DynAnyPackage.InvalidValue 1004 { 1005 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_val", _opsClass); 1006 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 1007 1008 try { 1009 return $self.get_val (); 1010 } finally { 1011 _servant_postinvoke ($so); 1012 } 1013 } 1015 1016 1025 public boolean seek (int index) 1026 { 1027 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("seek", _opsClass); 1028 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 1029 1030 try { 1031 return $self.seek (index); 1032 } finally { 1033 _servant_postinvoke ($so); 1034 } 1035 } 1037 1038 1041 public void rewind () 1042 { 1043 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("rewind", _opsClass); 1044 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 1045 1046 try { 1047 $self.rewind (); 1048 } finally { 1049 _servant_postinvoke ($so); 1050 } 1051 } 1053 1054 1060 public boolean next () 1061 { 1062 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("next", _opsClass); 1063 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 1064 1065 try { 1066 return $self.next (); 1067 } finally { 1068 _servant_postinvoke ($so); 1069 } 1070 } 1072 1073 1088 public int component_count () 1089 { 1090 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("component_count", _opsClass); 1091 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 1092 1093 try { 1094 return $self.component_count (); 1095 } finally { 1096 _servant_postinvoke ($so); 1097 } 1098 } 1100 1101 1119 public org.omg.DynamicAny.DynAny current_component () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch 1120 { 1121 org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("current_component", _opsClass); 1122 DynEnumOperations $self = (DynEnumOperations ) $so.servant; 1123 1124 try { 1125 return $self.current_component (); 1126 } finally { 1127 _servant_postinvoke ($so); 1128 } 1129 } 1131 private static String [] __ids = { 1133 "IDL:omg.org/DynamicAny/DynEnum:1.0", 1134 "IDL:omg.org/DynamicAny/DynAny:1.0"}; 1135 1136 public String [] _ids () 1137 { 1138 return (String [])__ids.clone (); 1139 } 1140 1141 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException 1142 { 1143 String str = s.readUTF (); 1144 String [] args = null; 1145 java.util.Properties props = null; 1146 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); 1147 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl ) obj)._get_delegate (); 1148 _set_delegate (delegate); 1149 } 1150 1151 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException 1152 { 1153 String [] args = null; 1154 java.util.Properties props = null; 1155 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); 1156 s.writeUTF (str); 1157 } 1158} | Popular Tags |