Source for org.omg.DynamicAny._DynArrayStub

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