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