Source for org.omg.DynamicAny._DynFixedStub

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