GNU Classpath (0.95) | |
Frames | No Frames |
1: /* _DynUnionStub.java -- 2: Copyright (C) 2005, 2006 Free Software Foundation, Inc. 3: 4: This file is part of GNU Classpath. 5: 6: GNU Classpath is free software; you can redistribute it and/or modify 7: it under the terms of the GNU General Public License as published by 8: the Free Software Foundation; either version 2, or (at your option) 9: any later version. 10: 11: GNU Classpath is distributed in the hope that it will be useful, but 12: WITHOUT ANY WARRANTY; without even the implied warranty of 13: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14: General Public License for more details. 15: 16: You should have received a copy of the GNU General Public License 17: along with GNU Classpath; see the file COPYING. If not, write to the 18: Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 19: 02110-1301 USA. 20: 21: Linking this library statically or dynamically with other modules is 22: making a combined work based on this library. Thus, the terms and 23: conditions of the GNU General Public License cover the whole 24: combination. 25: 26: As a special exception, the copyright holders of this library give you 27: permission to link this library with independent modules to produce an 28: executable, regardless of the license terms of these independent 29: modules, and to copy and distribute the resulting executable under 30: terms of your choice, provided that you also meet, for each linked 31: independent module, the terms and conditions of the license of that 32: module. An independent module is a module which is not derived from 33: or based on this library. If you modify this library, you may extend 34: this exception to your version of the library, but you are not 35: obligated to do so. If you do not wish to do so, delete this 36: exception statement from your version. */ 37: 38: 39: package org.omg.DynamicAny; 40: 41: import java.io.Serializable; 42: 43: import org.omg.CORBA.Any; 44: import org.omg.CORBA.MARSHAL; 45: import org.omg.CORBA.TCKind; 46: import org.omg.CORBA.TypeCode; 47: import org.omg.CORBA.portable.Delegate; 48: import org.omg.CORBA.portable.ObjectImpl; 49: import org.omg.DynamicAny.DynAnyPackage.InvalidValue; 50: import org.omg.DynamicAny.DynAnyPackage.TypeMismatch; 51: 52: /** 53: * Should provide support for remote invocation of methods on DynUnion. As 54: * DynUnion can never be remote at least till 1.5 inclusive, this class is 55: * not in use. 56: * 57: * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) 58: */ 59: public class _DynUnionStub 60: extends ObjectImpl 61: implements DynUnion, Serializable 62: { 63: /** 64: * Use serialVersionUID for interoperability. 65: */ 66: private static final long serialVersionUID = -8921031953572009897L; 67: 68: /** 69: * The purpose and value of this field are not documented. 70: */ 71: public static final Class _opsClass = DynUnionOperations.class; 72: 73: /** 74: * Create the DynUnion stub. To get the stub working, 75: * you must later set the delegate with 76: * {@link ObjectImpl#_set_delegate(Delegate)}. 77: */ 78: public _DynUnionStub() 79: { 80: } 81: 82: /** 83: * Return the array of repository ids for this object. 84: */ 85: public String[] _ids() 86: { 87: return new String[] { DynUnionHelper.id() }; 88: } 89: 90: /** 91: * The remote call of DynAny methods is not possible. 92: * 93: * @throws MARSHAL, always. 94: */ 95: public DynAny member() 96: throws InvalidValue 97: { 98: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 99: } 100: 101: /** 102: * The remote call of DynAny methods is not possible. 103: * 104: * @throws MARSHAL, always. 105: */ 106: public TCKind discriminator_kind() 107: { 108: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 109: } 110: 111: /** 112: * The remote call of DynAny methods is not possible. 113: * 114: * @throws MARSHAL, always. 115: */ 116: public DynAny get_discriminator() 117: { 118: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 119: } 120: 121: /** 122: * The remote call of DynAny methods is not possible. 123: * 124: * @throws MARSHAL, always. 125: */ 126: public boolean has_no_active_member() 127: { 128: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 129: } 130: 131: /** 132: * The remote call of DynAny methods is not possible. 133: * 134: * @throws MARSHAL, always. 135: */ 136: public TCKind member_kind() 137: throws InvalidValue 138: { 139: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 140: } 141: 142: /** 143: * The remote call of DynAny methods is not possible. 144: * 145: * @throws MARSHAL, always. 146: */ 147: public String member_name() 148: throws InvalidValue 149: { 150: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 151: } 152: 153: /** 154: * The remote call of DynAny methods is not possible. 155: * 156: * @throws MARSHAL, always. 157: */ 158: public void set_discriminator(DynAny _0) 159: throws TypeMismatch 160: { 161: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 162: } 163: 164: /** 165: * The remote call of DynAny methods is not possible. 166: * 167: * @throws MARSHAL, always. 168: */ 169: public void set_to_default_member() 170: throws TypeMismatch 171: { 172: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 173: } 174: 175: /** 176: * The remote call of DynAny methods is not possible. 177: * 178: * @throws MARSHAL, always. 179: */ 180: public void set_to_no_active_member() 181: throws TypeMismatch 182: { 183: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 184: } 185: 186: /** 187: * The remote call of DynAny methods is not possible. 188: * 189: * @throws MARSHAL, always. 190: */ 191: public TypeCode type() 192: { 193: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 194: } 195: 196: /** 197: * The remote call of DynAny methods is not possible. 198: * 199: * @throws MARSHAL, always. 200: */ 201: public boolean next() 202: { 203: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 204: } 205: 206: /** 207: * The remote call of DynAny methods is not possible. 208: * 209: * @throws MARSHAL, always. 210: */ 211: public void destroy() 212: { 213: } 214: 215: /** 216: * The remote call of DynAny methods is not possible. 217: * 218: * @throws MARSHAL, always. 219: */ 220: public DynAny copy() 221: { 222: return this; 223: } 224: 225: /** 226: * The remote call of DynAny methods is not possible. 227: * 228: * @throws MARSHAL, always. 229: */ 230: public void rewind() 231: { 232: } 233: 234: /** 235: * The remote call of DynAny methods is not possible. 236: * 237: * @throws MARSHAL, always. 238: */ 239: public void assign(DynAny _0) 240: throws TypeMismatch 241: { 242: } 243: 244: /** 245: * The remote call of DynAny methods is not possible. 246: * 247: * @throws MARSHAL, always. 248: */ 249: public int component_count() 250: { 251: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 252: } 253: 254: /** 255: * The remote call of DynAny methods is not possible. 256: * 257: * @throws MARSHAL, always. 258: */ 259: public DynAny current_component() 260: throws TypeMismatch 261: { 262: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 263: } 264: 265: /** 266: * The remote call of DynAny methods is not possible. 267: * 268: * @throws MARSHAL, always. 269: */ 270: public boolean equal(DynAny _0) 271: { 272: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 273: } 274: 275: /** 276: * The remote call of DynAny methods is not possible. 277: * 278: * @throws MARSHAL, always. 279: */ 280: public void from_any(Any _0) 281: throws TypeMismatch, InvalidValue 282: { 283: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 284: } 285: 286: /** 287: * The remote call of DynAny methods is not possible. 288: * 289: * @throws MARSHAL, always. 290: */ 291: public Any get_any() 292: throws TypeMismatch, InvalidValue 293: { 294: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 295: } 296: 297: /** 298: * The remote call of DynAny methods is not possible. 299: * 300: * @throws MARSHAL, always. 301: */ 302: public boolean get_boolean() 303: throws TypeMismatch, InvalidValue 304: { 305: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 306: } 307: 308: /** 309: * The remote call of DynAny methods is not possible. 310: * 311: * @throws MARSHAL, always. 312: */ 313: public char get_char() 314: throws TypeMismatch, InvalidValue 315: { 316: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 317: } 318: 319: /** 320: * The remote call of DynAny methods is not possible. 321: * 322: * @throws MARSHAL, always. 323: */ 324: public double get_double() 325: throws TypeMismatch, InvalidValue 326: { 327: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 328: } 329: 330: /** 331: * The remote call of DynAny methods is not possible. 332: * 333: * @throws MARSHAL, always. 334: */ 335: public DynAny get_dyn_any() 336: throws TypeMismatch, InvalidValue 337: { 338: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 339: } 340: 341: /** 342: * The remote call of DynAny methods is not possible. 343: * 344: * @throws MARSHAL, always. 345: */ 346: public float get_float() 347: throws TypeMismatch, InvalidValue 348: { 349: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 350: } 351: 352: /** 353: * The remote call of DynAny methods is not possible. 354: * 355: * @throws MARSHAL, always. 356: */ 357: public int get_long() 358: throws TypeMismatch, InvalidValue 359: { 360: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 361: } 362: 363: /** 364: * The remote call of DynAny methods is not possible. 365: * 366: * @throws MARSHAL, always. 367: */ 368: public long get_longlong() 369: throws TypeMismatch, InvalidValue 370: { 371: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 372: } 373: 374: /** 375: * The remote call of DynAny methods is not possible. 376: * 377: * @throws MARSHAL, always. 378: */ 379: public byte get_octet() 380: throws TypeMismatch, InvalidValue 381: { 382: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 383: } 384: 385: /** 386: * The remote call of DynAny methods is not possible. 387: * 388: * @throws MARSHAL, always. 389: */ 390: public org.omg.CORBA.Object get_reference() 391: throws TypeMismatch, InvalidValue 392: { 393: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 394: } 395: 396: /** 397: * The remote call of DynAny methods is not possible. 398: * 399: * @throws MARSHAL, always. 400: */ 401: public short get_short() 402: throws TypeMismatch, InvalidValue 403: { 404: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 405: } 406: 407: /** 408: * The remote call of DynAny methods is not possible. 409: * 410: * @throws MARSHAL, always. 411: */ 412: public String get_string() 413: throws TypeMismatch, InvalidValue 414: { 415: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 416: } 417: 418: /** 419: * The remote call of DynAny methods is not possible. 420: * 421: * @throws MARSHAL, always. 422: */ 423: public TypeCode get_typecode() 424: throws TypeMismatch, InvalidValue 425: { 426: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 427: } 428: 429: /** 430: * The remote call of DynAny methods is not possible. 431: * 432: * @throws MARSHAL, always. 433: */ 434: public int get_ulong() 435: throws TypeMismatch, InvalidValue 436: { 437: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 438: } 439: 440: /** 441: * The remote call of DynAny methods is not possible. 442: * 443: * @throws MARSHAL, always. 444: */ 445: public long get_ulonglong() 446: throws TypeMismatch, InvalidValue 447: { 448: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 449: } 450: 451: /** 452: * The remote call of DynAny methods is not possible. 453: * 454: * @throws MARSHAL, always. 455: */ 456: public short get_ushort() 457: throws TypeMismatch, InvalidValue 458: { 459: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 460: } 461: 462: /** 463: * The remote call of DynAny methods is not possible. 464: * 465: * @throws MARSHAL, always. 466: */ 467: public Serializable get_val() 468: throws TypeMismatch, InvalidValue 469: { 470: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 471: } 472: 473: /** 474: * The remote call of DynAny methods is not possible. 475: * 476: * @throws MARSHAL, always. 477: */ 478: public char get_wchar() 479: throws TypeMismatch, InvalidValue 480: { 481: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 482: } 483: 484: /** 485: * The remote call of DynAny methods is not possible. 486: * 487: * @throws MARSHAL, always. 488: */ 489: public String get_wstring() 490: throws TypeMismatch, InvalidValue 491: { 492: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 493: } 494: 495: /** 496: * The remote call of DynAny methods is not possible. 497: * 498: * @throws MARSHAL, always. 499: */ 500: public void insert_any(Any _0) 501: throws TypeMismatch, InvalidValue 502: { 503: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 504: } 505: 506: /** 507: * The remote call of DynAny methods is not possible. 508: * 509: * @throws MARSHAL, always. 510: */ 511: public void insert_boolean(boolean _0) 512: throws TypeMismatch, InvalidValue 513: { 514: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 515: } 516: 517: /** 518: * The remote call of DynAny methods is not possible. 519: * 520: * @throws MARSHAL, always. 521: */ 522: public void insert_char(char _0) 523: throws TypeMismatch, InvalidValue 524: { 525: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 526: } 527: 528: /** 529: * The remote call of DynAny methods is not possible. 530: * 531: * @throws MARSHAL, always. 532: */ 533: public void insert_double(double _0) 534: throws TypeMismatch, InvalidValue 535: { 536: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 537: } 538: 539: /** 540: * The remote call of DynAny methods is not possible. 541: * 542: * @throws MARSHAL, always. 543: */ 544: public void insert_dyn_any(DynAny _0) 545: throws TypeMismatch, InvalidValue 546: { 547: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 548: } 549: 550: /** 551: * The remote call of DynAny methods is not possible. 552: * 553: * @throws MARSHAL, always. 554: */ 555: public void insert_float(float _0) 556: throws TypeMismatch, InvalidValue 557: { 558: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 559: } 560: 561: /** 562: * The remote call of DynAny methods is not possible. 563: * 564: * @throws MARSHAL, always. 565: */ 566: public void insert_long(int _0) 567: throws TypeMismatch, InvalidValue 568: { 569: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 570: } 571: 572: /** 573: * The remote call of DynAny methods is not possible. 574: * 575: * @throws MARSHAL, always. 576: */ 577: public void insert_longlong(long _0) 578: throws TypeMismatch, InvalidValue 579: { 580: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 581: } 582: 583: /** 584: * The remote call of DynAny methods is not possible. 585: * 586: * @throws MARSHAL, always. 587: */ 588: public void insert_octet(byte _0) 589: throws TypeMismatch, InvalidValue 590: { 591: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 592: } 593: 594: /** 595: * The remote call of DynAny methods is not possible. 596: * 597: * @throws MARSHAL, always. 598: */ 599: public void insert_reference(org.omg.CORBA.Object _0) 600: throws TypeMismatch, InvalidValue 601: { 602: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 603: } 604: 605: /** 606: * The remote call of DynAny methods is not possible. 607: * 608: * @throws MARSHAL, always. 609: */ 610: public void insert_short(short _0) 611: throws TypeMismatch, InvalidValue 612: { 613: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 614: } 615: 616: /** 617: * The remote call of DynAny methods is not possible. 618: * 619: * @throws MARSHAL, always. 620: */ 621: public void insert_string(String _0) 622: throws TypeMismatch, InvalidValue 623: { 624: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 625: } 626: 627: /** 628: * The remote call of DynAny methods is not possible. 629: * 630: * @throws MARSHAL, always. 631: */ 632: public void insert_typecode(TypeCode _0) 633: throws TypeMismatch, InvalidValue 634: { 635: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 636: } 637: 638: /** 639: * The remote call of DynAny methods is not possible. 640: * 641: * @throws MARSHAL, always. 642: */ 643: public void insert_ulong(int _0) 644: throws TypeMismatch, InvalidValue 645: { 646: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 647: } 648: 649: /** 650: * The remote call of DynAny methods is not possible. 651: * 652: * @throws MARSHAL, always. 653: */ 654: public void insert_ulonglong(long _0) 655: throws TypeMismatch, InvalidValue 656: { 657: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 658: } 659: 660: /** 661: * The remote call of DynAny methods is not possible. 662: * 663: * @throws MARSHAL, always. 664: */ 665: public void insert_ushort(short _0) 666: throws TypeMismatch, InvalidValue 667: { 668: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 669: } 670: 671: /** 672: * The remote call of DynAny methods is not possible. 673: * 674: * @throws MARSHAL, always. 675: */ 676: public void insert_val(Serializable _0) 677: throws TypeMismatch, InvalidValue 678: { 679: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 680: } 681: 682: /** 683: * The remote call of DynAny methods is not possible. 684: * 685: * @throws MARSHAL, always. 686: */ 687: public void insert_wchar(char _0) 688: throws TypeMismatch, InvalidValue 689: { 690: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 691: } 692: 693: /** 694: * The remote call of DynAny methods is not possible. 695: * 696: * @throws MARSHAL, always. 697: */ 698: public void insert_wstring(String _0) 699: throws TypeMismatch, InvalidValue 700: { 701: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 702: } 703: 704: /** 705: * The remote call of DynAny methods is not possible. 706: * 707: * @throws MARSHAL, always. 708: */ 709: public boolean seek(int _0) 710: { 711: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 712: } 713: 714: /** 715: * The remote call of DynAny methods is not possible. 716: * 717: * @throws MARSHAL, always. 718: */ 719: public Any to_any() 720: { 721: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 722: } 723:
GNU Classpath (0.95) |