GNU Classpath (0.95) | |
Frames | No Frames |
1: /* _DynSequenceStub.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.TypeCode; 46: import org.omg.CORBA.portable.Delegate; 47: import org.omg.CORBA.portable.ObjectImpl; 48: import org.omg.DynamicAny.DynAnyPackage.InvalidValue; 49: import org.omg.DynamicAny.DynAnyPackage.TypeMismatch; 50: 51: /** 52: * Should provide support for remote invocation of methods on DynSequence. As 53: * DynSequence can never be remote at least till 1.5 inclusive, this class is 54: * not in use. 55: * 56: * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) 57: */ 58: public class _DynSequenceStub 59: extends ObjectImpl 60: implements DynSequence, Serializable 61: { 62: /** 63: * Use serialVersionUID (v1.4) for interoperability. 64: */ 65: private static final long serialVersionUID = 7191437435669107554L; 66: 67: /** 68: * The purpose and value of this field are not documented. 69: */ 70: public static final Class _opsClass = DynSequenceOperations.class; 71: 72: /** 73: * Create the DynSequence stub. To get the stub working, 74: * you must later set the delegate with 75: * {@link ObjectImpl#_set_delegate(Delegate)}. 76: */ 77: public _DynSequenceStub() 78: { 79: } 80: 81: /** 82: * Return the array of repository ids for this object. 83: */ 84: public String[] _ids() 85: { 86: return new String[] { DynSequenceHelper.id() }; 87: } 88: 89: /** 90: * The remote call of DynAny methods is not possible. 91: * 92: * @throws MARSHAL, always. 93: */ 94: public Any[] get_elements() 95: { 96: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 97: } 98: 99: /** 100: * The remote call of DynAny methods is not possible. 101: * 102: * @throws MARSHAL, always. 103: */ 104: public DynAny[] get_elements_as_dyn_any() 105: { 106: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 107: } 108: 109: /** 110: * The remote call of DynAny methods is not possible. 111: * 112: * @throws MARSHAL, always. 113: */ 114: public void set_elements(Any[] _0) 115: throws TypeMismatch, InvalidValue 116: { 117: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 118: } 119: 120: /** 121: * The remote call of DynAny methods is not possible. 122: * 123: * @throws MARSHAL, always. 124: */ 125: public void set_elements_as_dyn_any(DynAny[] _0) 126: throws TypeMismatch, InvalidValue 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 int get_length() 137: { 138: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 139: } 140: 141: /** 142: * The remote call of DynAny methods is not possible. 143: * 144: * @throws MARSHAL, always. 145: */ 146: public void set_length(int _0) 147: throws InvalidValue 148: { 149: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 150: } 151: 152: /** 153: * The remote call of DynAny methods is not possible. 154: * 155: * @throws MARSHAL, always. 156: */ 157: public TypeCode type() 158: { 159: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 160: } 161: 162: /** 163: * The remote call of DynAny methods is not possible. 164: * 165: * @throws MARSHAL, always. 166: */ 167: public boolean next() 168: { 169: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 170: } 171: 172: /** 173: * The remote call of DynAny methods is not possible. 174: * 175: * @throws MARSHAL, always. 176: */ 177: public void destroy() 178: { 179: } 180: 181: /** 182: * The remote call of DynAny methods is not possible. 183: * 184: * @throws MARSHAL, always. 185: */ 186: public DynAny copy() 187: { 188: return this; 189: } 190: 191: /** 192: * The remote call of DynAny methods is not possible. 193: * 194: * @throws MARSHAL, always. 195: */ 196: public void rewind() 197: { 198: } 199: 200: /** 201: * The remote call of DynAny methods is not possible. 202: * 203: * @throws MARSHAL, always. 204: */ 205: public void assign(DynAny _0) 206: throws TypeMismatch 207: { 208: } 209: 210: /** 211: * The remote call of DynAny methods is not possible. 212: * 213: * @throws MARSHAL, always. 214: */ 215: public int component_count() 216: { 217: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 218: } 219: 220: /** 221: * The remote call of DynAny methods is not possible. 222: * 223: * @throws MARSHAL, always. 224: */ 225: public DynAny current_component() 226: throws TypeMismatch 227: { 228: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 229: } 230: 231: /** 232: * The remote call of DynAny methods is not possible. 233: * 234: * @throws MARSHAL, always. 235: */ 236: public boolean equal(DynAny _0) 237: { 238: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 239: } 240: 241: /** 242: * The remote call of DynAny methods is not possible. 243: * 244: * @throws MARSHAL, always. 245: */ 246: public void from_any(Any _0) 247: throws TypeMismatch, InvalidValue 248: { 249: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 250: } 251: 252: /** 253: * The remote call of DynAny methods is not possible. 254: * 255: * @throws MARSHAL, always. 256: */ 257: public Any get_any() 258: throws TypeMismatch, InvalidValue 259: { 260: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 261: } 262: 263: /** 264: * The remote call of DynAny methods is not possible. 265: * 266: * @throws MARSHAL, always. 267: */ 268: public boolean get_boolean() 269: throws TypeMismatch, InvalidValue 270: { 271: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 272: } 273: 274: /** 275: * The remote call of DynAny methods is not possible. 276: * 277: * @throws MARSHAL, always. 278: */ 279: public char get_char() 280: throws TypeMismatch, InvalidValue 281: { 282: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 283: } 284: 285: /** 286: * The remote call of DynAny methods is not possible. 287: * 288: * @throws MARSHAL, always. 289: */ 290: public double get_double() 291: throws TypeMismatch, InvalidValue 292: { 293: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 294: } 295: 296: /** 297: * The remote call of DynAny methods is not possible. 298: * 299: * @throws MARSHAL, always. 300: */ 301: public DynAny get_dyn_any() 302: throws TypeMismatch, InvalidValue 303: { 304: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 305: } 306: 307: /** 308: * The remote call of DynAny methods is not possible. 309: * 310: * @throws MARSHAL, always. 311: */ 312: public float get_float() 313: throws TypeMismatch, InvalidValue 314: { 315: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 316: } 317: 318: /** 319: * The remote call of DynAny methods is not possible. 320: * 321: * @throws MARSHAL, always. 322: */ 323: public int get_long() 324: throws TypeMismatch, InvalidValue 325: { 326: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 327: } 328: 329: /** 330: * The remote call of DynAny methods is not possible. 331: * 332: * @throws MARSHAL, always. 333: */ 334: public long get_longlong() 335: throws TypeMismatch, InvalidValue 336: { 337: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 338: } 339: 340: /** 341: * The remote call of DynAny methods is not possible. 342: * 343: * @throws MARSHAL, always. 344: */ 345: public byte get_octet() 346: throws TypeMismatch, InvalidValue 347: { 348: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 349: } 350: 351: /** 352: * The remote call of DynAny methods is not possible. 353: * 354: * @throws MARSHAL, always. 355: */ 356: public org.omg.CORBA.Object get_reference() 357: throws TypeMismatch, InvalidValue 358: { 359: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 360: } 361: 362: /** 363: * The remote call of DynAny methods is not possible. 364: * 365: * @throws MARSHAL, always. 366: */ 367: public short get_short() 368: throws TypeMismatch, InvalidValue 369: { 370: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 371: } 372: 373: /** 374: * The remote call of DynAny methods is not possible. 375: * 376: * @throws MARSHAL, always. 377: */ 378: public String get_string() 379: throws TypeMismatch, InvalidValue 380: { 381: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 382: } 383: 384: /** 385: * The remote call of DynAny methods is not possible. 386: * 387: * @throws MARSHAL, always. 388: */ 389: public TypeCode get_typecode() 390: throws TypeMismatch, InvalidValue 391: { 392: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 393: } 394: 395: /** 396: * The remote call of DynAny methods is not possible. 397: * 398: * @throws MARSHAL, always. 399: */ 400: public int get_ulong() 401: throws TypeMismatch, InvalidValue 402: { 403: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 404: } 405: 406: /** 407: * The remote call of DynAny methods is not possible. 408: * 409: * @throws MARSHAL, always. 410: */ 411: public long get_ulonglong() 412: throws TypeMismatch, InvalidValue 413: { 414: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 415: } 416: 417: /** 418: * The remote call of DynAny methods is not possible. 419: * 420: * @throws MARSHAL, always. 421: */ 422: public short get_ushort() 423: throws TypeMismatch, InvalidValue 424: { 425: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 426: } 427: 428: /** 429: * The remote call of DynAny methods is not possible. 430: * 431: * @throws MARSHAL, always. 432: */ 433: public Serializable get_val() 434: throws TypeMismatch, InvalidValue 435: { 436: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 437: } 438: 439: /** 440: * The remote call of DynAny methods is not possible. 441: * 442: * @throws MARSHAL, always. 443: */ 444: public char get_wchar() 445: throws TypeMismatch, InvalidValue 446: { 447: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 448: } 449: 450: /** 451: * The remote call of DynAny methods is not possible. 452: * 453: * @throws MARSHAL, always. 454: */ 455: public String get_wstring() 456: throws TypeMismatch, InvalidValue 457: { 458: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 459: } 460: 461: /** 462: * The remote call of DynAny methods is not possible. 463: * 464: * @throws MARSHAL, always. 465: */ 466: public void insert_any(Any _0) 467: throws TypeMismatch, InvalidValue 468: { 469: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 470: } 471: 472: /** 473: * The remote call of DynAny methods is not possible. 474: * 475: * @throws MARSHAL, always. 476: */ 477: public void insert_boolean(boolean _0) 478: throws TypeMismatch, InvalidValue 479: { 480: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 481: } 482: 483: /** 484: * The remote call of DynAny methods is not possible. 485: * 486: * @throws MARSHAL, always. 487: */ 488: public void insert_char(char _0) 489: throws TypeMismatch, InvalidValue 490: { 491: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 492: } 493: 494: /** 495: * The remote call of DynAny methods is not possible. 496: * 497: * @throws MARSHAL, always. 498: */ 499: public void insert_double(double _0) 500: throws TypeMismatch, InvalidValue 501: { 502: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 503: } 504: 505: /** 506: * The remote call of DynAny methods is not possible. 507: * 508: * @throws MARSHAL, always. 509: */ 510: public void insert_dyn_any(DynAny _0) 511: throws TypeMismatch, InvalidValue 512: { 513: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 514: } 515: 516: /** 517: * The remote call of DynAny methods is not possible. 518: * 519: * @throws MARSHAL, always. 520: */ 521: public void insert_float(float _0) 522: throws TypeMismatch, InvalidValue 523: { 524: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 525: } 526: 527: /** 528: * The remote call of DynAny methods is not possible. 529: * 530: * @throws MARSHAL, always. 531: */ 532: public void insert_long(int _0) 533: throws TypeMismatch, InvalidValue 534: { 535: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 536: } 537: 538: /** 539: * The remote call of DynAny methods is not possible. 540: * 541: * @throws MARSHAL, always. 542: */ 543: public void insert_longlong(long _0) 544: throws TypeMismatch, InvalidValue 545: { 546: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 547: } 548: 549: /** 550: * The remote call of DynAny methods is not possible. 551: * 552: * @throws MARSHAL, always. 553: */ 554: public void insert_octet(byte _0) 555: throws TypeMismatch, InvalidValue 556: { 557: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 558: } 559: 560: /** 561: * The remote call of DynAny methods is not possible. 562: * 563: * @throws MARSHAL, always. 564: */ 565: public void insert_reference(org.omg.CORBA.Object _0) 566: throws TypeMismatch, InvalidValue 567: { 568: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 569: } 570: 571: /** 572: * The remote call of DynAny methods is not possible. 573: * 574: * @throws MARSHAL, always. 575: */ 576: public void insert_short(short _0) 577: throws TypeMismatch, InvalidValue 578: { 579: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 580: } 581: 582: /** 583: * The remote call of DynAny methods is not possible. 584: * 585: * @throws MARSHAL, always. 586: */ 587: public void insert_string(String _0) 588: throws TypeMismatch, InvalidValue 589: { 590: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 591: } 592: 593: /** 594: * The remote call of DynAny methods is not possible. 595: * 596: * @throws MARSHAL, always. 597: */ 598: public void insert_typecode(TypeCode _0) 599: throws TypeMismatch, InvalidValue 600: { 601: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 602: } 603: 604: /** 605: * The remote call of DynAny methods is not possible. 606: * 607: * @throws MARSHAL, always. 608: */ 609: public void insert_ulong(int _0) 610: throws TypeMismatch, InvalidValue 611: { 612: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 613: } 614: 615: /** 616: * The remote call of DynAny methods is not possible. 617: * 618: * @throws MARSHAL, always. 619: */ 620: public void insert_ulonglong(long _0) 621: throws TypeMismatch, InvalidValue 622: { 623: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 624: } 625: 626: /** 627: * The remote call of DynAny methods is not possible. 628: * 629: * @throws MARSHAL, always. 630: */ 631: public void insert_ushort(short _0) 632: throws TypeMismatch, InvalidValue 633: { 634: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 635: } 636: 637: /** 638: * The remote call of DynAny methods is not possible. 639: * 640: * @throws MARSHAL, always. 641: */ 642: public void insert_val(Serializable _0) 643: throws TypeMismatch, InvalidValue 644: { 645: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 646: } 647: 648: /** 649: * The remote call of DynAny methods is not possible. 650: * 651: * @throws MARSHAL, always. 652: */ 653: public void insert_wchar(char _0) 654: throws TypeMismatch, InvalidValue 655: { 656: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 657: } 658: 659: /** 660: * The remote call of DynAny methods is not possible. 661: * 662: * @throws MARSHAL, always. 663: */ 664: public void insert_wstring(String _0) 665: throws TypeMismatch, InvalidValue 666: { 667: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 668: } 669: 670: /** 671: * The remote call of DynAny methods is not possible. 672: * 673: * @throws MARSHAL, always. 674: */ 675: public boolean seek(int _0) 676: { 677: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 678: } 679: 680: /** 681: * The remote call of DynAny methods is not possible. 682: * 683: * @throws MARSHAL, always. 684: */ 685: public Any to_any() 686: { 687: throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE); 688: } 689:
GNU Classpath (0.95) |