OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [classpath/] [org/] [omg/] [DynamicAny/] [_DynAnyStub.java] - Blame information for rev 775

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 775 jeremybenn
/* _DynAnyStub.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 DynAny. As
52
 * DynAny 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 _DynAnyStub
58
  extends ObjectImpl
59
  implements DynAny, Serializable
60
{
61
  /**
62
   * Use serialVersionUID (v1.4) for interoperability.
63
   */
64
  private static final long serialVersionUID = -6521892777941121597L;
65
 
66
  /**
67
   * The purpose and value of this field are not documented.
68
   */
69
  @SuppressWarnings("unchecked") // Needed for API compatibility
70
  public static final Class _opsClass = DynAnyOperations.class;
71
 
72
  /**
73
   * Create the DynAny stub.
74
   */
75
  public _DynAnyStub()
76
  {
77
  }
78
 
79
  /**
80
   * Return the array of repository ids for this object.
81
   */
82
  public String[] _ids()
83
  {
84
    return new String[] { DynAnyHelper.id() };
85
  }
86
 
87
  /**
88
   * The remote call of DynAny methods is not possible.
89
   *
90
   * @throws MARSHAL, always.
91
   */
92
  public TypeCode type()
93
  {
94
    throw new MARSHAL(NOT_APPLICABLE);
95
  }
96
 
97
  /**
98
   * The remote call of DynAny methods is not possible.
99
   *
100
   * @throws MARSHAL, always.
101
   */
102
  public boolean next()
103
  {
104
    throw new MARSHAL(NOT_APPLICABLE);
105
  }
106
 
107
  /**
108
   * The remote call of DynAny methods is not possible.
109
   *
110
   * @throws MARSHAL, always.
111
   */
112
  public void destroy()
113
  {
114
  }
115
 
116
  /**
117
   * The remote call of DynAny methods is not possible.
118
   *
119
   * @throws MARSHAL, always.
120
   */
121
  public DynAny copy()
122
  {
123
    return this;
124
  }
125
 
126
  /**
127
   * The remote call of DynAny methods is not possible.
128
   *
129
   * @throws MARSHAL, always.
130
   */
131
  public void rewind()
132
  {
133
  }
134
 
135
  /**
136
   * The remote call of DynAny methods is not possible.
137
   *
138
   * @throws MARSHAL, always.
139
   */
140
  public void assign(DynAny _0)
141
              throws TypeMismatch
142
  {
143
  }
144
 
145
  /**
146
   * The remote call of DynAny methods is not possible.
147
   *
148
   * @throws MARSHAL, always.
149
   */
150
  public int component_count()
151
  {
152
    throw new MARSHAL(NOT_APPLICABLE);
153
  }
154
 
155
  /**
156
   * The remote call of DynAny methods is not possible.
157
   *
158
   * @throws MARSHAL, always.
159
   */
160
  public DynAny current_component()
161
                           throws TypeMismatch
162
  {
163
    throw new MARSHAL(NOT_APPLICABLE);
164
  }
165
 
166
  /**
167
   * The remote call of DynAny methods is not possible.
168
   *
169
   * @throws MARSHAL, always.
170
   */
171
  public boolean equal(DynAny _0)
172
  {
173
    throw new MARSHAL(NOT_APPLICABLE);
174
  }
175
 
176
  /**
177
   * The remote call of DynAny methods is not possible.
178
   *
179
   * @throws MARSHAL, always.
180
   */
181
  public void from_any(Any _0)
182
                throws TypeMismatch, InvalidValue
183
  {
184
    throw new MARSHAL(NOT_APPLICABLE);
185
  }
186
 
187
  /**
188
   * The remote call of DynAny methods is not possible.
189
   *
190
   * @throws MARSHAL, always.
191
   */
192
  public Any get_any()
193
              throws TypeMismatch, InvalidValue
194
  {
195
    throw new MARSHAL(NOT_APPLICABLE);
196
  }
197
 
198
  /**
199
   * The remote call of DynAny methods is not possible.
200
   *
201
   * @throws MARSHAL, always.
202
   */
203
  public boolean get_boolean()
204
                      throws TypeMismatch, InvalidValue
205
  {
206
    throw new MARSHAL(NOT_APPLICABLE);
207
  }
208
 
209
  /**
210
   * The remote call of DynAny methods is not possible.
211
   *
212
   * @throws MARSHAL, always.
213
   */
214
  public char get_char()
215
                throws TypeMismatch, InvalidValue
216
  {
217
    throw new MARSHAL(NOT_APPLICABLE);
218
  }
219
 
220
  /**
221
   * The remote call of DynAny methods is not possible.
222
   *
223
   * @throws MARSHAL, always.
224
   */
225
  public double get_double()
226
                    throws TypeMismatch, InvalidValue
227
  {
228
    throw new MARSHAL(NOT_APPLICABLE);
229
  }
230
 
231
  /**
232
   * The remote call of DynAny methods is not possible.
233
   *
234
   * @throws MARSHAL, always.
235
   */
236
  public DynAny get_dyn_any()
237
                     throws TypeMismatch, InvalidValue
238
  {
239
    throw new MARSHAL(NOT_APPLICABLE);
240
  }
241
 
242
  /**
243
   * The remote call of DynAny methods is not possible.
244
   *
245
   * @throws MARSHAL, always.
246
   */
247
  public float get_float()
248
                  throws TypeMismatch, InvalidValue
249
  {
250
    throw new MARSHAL(NOT_APPLICABLE);
251
  }
252
 
253
  /**
254
   * The remote call of DynAny methods is not possible.
255
   *
256
   * @throws MARSHAL, always.
257
   */
258
  public int get_long()
259
               throws TypeMismatch, InvalidValue
260
  {
261
    throw new MARSHAL(NOT_APPLICABLE);
262
  }
263
 
264
  /**
265
   * The remote call of DynAny methods is not possible.
266
   *
267
   * @throws MARSHAL, always.
268
   */
269
  public long get_longlong()
270
                    throws TypeMismatch, InvalidValue
271
  {
272
    throw new MARSHAL(NOT_APPLICABLE);
273
  }
274
 
275
  /**
276
   * The remote call of DynAny methods is not possible.
277
   *
278
   * @throws MARSHAL, always.
279
   */
280
  public byte get_octet()
281
                 throws TypeMismatch, InvalidValue
282
  {
283
    throw new MARSHAL(NOT_APPLICABLE);
284
  }
285
 
286
  /**
287
   * The remote call of DynAny methods is not possible.
288
   *
289
   * @throws MARSHAL, always.
290
   */
291
  public org.omg.CORBA.Object get_reference()
292
                                     throws TypeMismatch, InvalidValue
293
  {
294
    throw new MARSHAL(NOT_APPLICABLE);
295
  }
296
 
297
  /**
298
   * The remote call of DynAny methods is not possible.
299
   *
300
   * @throws MARSHAL, always.
301
   */
302
  public short get_short()
303
                  throws TypeMismatch, InvalidValue
304
  {
305
    throw new MARSHAL(NOT_APPLICABLE);
306
  }
307
 
308
  /**
309
   * The remote call of DynAny methods is not possible.
310
   *
311
   * @throws MARSHAL, always.
312
   */
313
  public String get_string()
314
                    throws TypeMismatch, InvalidValue
315
  {
316
    throw new MARSHAL(NOT_APPLICABLE);
317
  }
318
 
319
  /**
320
   * The remote call of DynAny methods is not possible.
321
   *
322
   * @throws MARSHAL, always.
323
   */
324
  public TypeCode get_typecode()
325
                        throws TypeMismatch, InvalidValue
326
  {
327
    throw new MARSHAL(NOT_APPLICABLE);
328
  }
329
 
330
  /**
331
   * The remote call of DynAny methods is not possible.
332
   *
333
   * @throws MARSHAL, always.
334
   */
335
  public int get_ulong()
336
                throws TypeMismatch, InvalidValue
337
  {
338
    throw new MARSHAL(NOT_APPLICABLE);
339
  }
340
 
341
  /**
342
   * The remote call of DynAny methods is not possible.
343
   *
344
   * @throws MARSHAL, always.
345
   */
346
  public long get_ulonglong()
347
                     throws TypeMismatch, InvalidValue
348
  {
349
    throw new MARSHAL(NOT_APPLICABLE);
350
  }
351
 
352
  /**
353
   * The remote call of DynAny methods is not possible.
354
   *
355
   * @throws MARSHAL, always.
356
   */
357
  public short get_ushort()
358
                   throws TypeMismatch, InvalidValue
359
  {
360
    throw new MARSHAL(NOT_APPLICABLE);
361
  }
362
 
363
  /**
364
   * The remote call of DynAny methods is not possible.
365
   *
366
   * @throws MARSHAL, always.
367
   */
368
  public Serializable get_val()
369
                       throws TypeMismatch, InvalidValue
370
  {
371
    throw new MARSHAL(NOT_APPLICABLE);
372
  }
373
 
374
  /**
375
   * The remote call of DynAny methods is not possible.
376
   *
377
   * @throws MARSHAL, always.
378
   */
379
  public char get_wchar()
380
                 throws TypeMismatch, InvalidValue
381
  {
382
    throw new MARSHAL(NOT_APPLICABLE);
383
  }
384
 
385
  /**
386
   * The remote call of DynAny methods is not possible.
387
   *
388
   * @throws MARSHAL, always.
389
   */
390
  public String get_wstring()
391
                     throws TypeMismatch, InvalidValue
392
  {
393
    throw new MARSHAL(NOT_APPLICABLE);
394
  }
395
 
396
  /**
397
   * The remote call of DynAny methods is not possible.
398
   *
399
   * @throws MARSHAL, always.
400
   */
401
  public void insert_any(Any _0)
402
                  throws TypeMismatch, InvalidValue
403
  {
404
    throw new MARSHAL(NOT_APPLICABLE);
405
  }
406
 
407
  /**
408
   * The remote call of DynAny methods is not possible.
409
   *
410
   * @throws MARSHAL, always.
411
   */
412
  public void insert_boolean(boolean _0)
413
                      throws TypeMismatch, InvalidValue
414
  {
415
    throw new MARSHAL(NOT_APPLICABLE);
416
  }
417
 
418
  /**
419
   * The remote call of DynAny methods is not possible.
420
   *
421
   * @throws MARSHAL, always.
422
   */
423
  public void insert_char(char _0)
424
                   throws TypeMismatch, InvalidValue
425
  {
426
    throw new MARSHAL(NOT_APPLICABLE);
427
  }
428
 
429
  /**
430
   * The remote call of DynAny methods is not possible.
431
   *
432
   * @throws MARSHAL, always.
433
   */
434
  public void insert_double(double _0)
435
                     throws TypeMismatch, InvalidValue
436
  {
437
    throw new MARSHAL(NOT_APPLICABLE);
438
  }
439
 
440
  /**
441
   * The remote call of DynAny methods is not possible.
442
   *
443
   * @throws MARSHAL, always.
444
   */
445
  public void insert_dyn_any(DynAny _0)
446
                      throws TypeMismatch, InvalidValue
447
  {
448
    throw new MARSHAL(NOT_APPLICABLE);
449
  }
450
 
451
  /**
452
   * The remote call of DynAny methods is not possible.
453
   *
454
   * @throws MARSHAL, always.
455
   */
456
  public void insert_float(float _0)
457
                    throws TypeMismatch, InvalidValue
458
  {
459
    throw new MARSHAL(NOT_APPLICABLE);
460
  }
461
 
462
  /**
463
   * The remote call of DynAny methods is not possible.
464
   *
465
   * @throws MARSHAL, always.
466
   */
467
  public void insert_long(int _0)
468
                   throws TypeMismatch, InvalidValue
469
  {
470
    throw new MARSHAL(NOT_APPLICABLE);
471
  }
472
 
473
  /**
474
   * The remote call of DynAny methods is not possible.
475
   *
476
   * @throws MARSHAL, always.
477
   */
478
  public void insert_longlong(long _0)
479
                       throws TypeMismatch, InvalidValue
480
  {
481
    throw new MARSHAL(NOT_APPLICABLE);
482
  }
483
 
484
  /**
485
   * The remote call of DynAny methods is not possible.
486
   *
487
   * @throws MARSHAL, always.
488
   */
489
  public void insert_octet(byte _0)
490
                    throws TypeMismatch, InvalidValue
491
  {
492
    throw new MARSHAL(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_reference(org.omg.CORBA.Object _0)
501
                        throws TypeMismatch, InvalidValue
502
  {
503
    throw new MARSHAL(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_short(short _0)
512
                    throws TypeMismatch, InvalidValue
513
  {
514
    throw new MARSHAL(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_string(String _0)
523
                     throws TypeMismatch, InvalidValue
524
  {
525
    throw new MARSHAL(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_typecode(TypeCode _0)
534
                       throws TypeMismatch, InvalidValue
535
  {
536
    throw new MARSHAL(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_ulong(int _0)
545
                    throws TypeMismatch, InvalidValue
546
  {
547
    throw new MARSHAL(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_ulonglong(long _0)
556
                        throws TypeMismatch, InvalidValue
557
  {
558
    throw new MARSHAL(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_ushort(short _0)
567
                     throws TypeMismatch, InvalidValue
568
  {
569
    throw new MARSHAL(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_val(Serializable _0)
578
                  throws TypeMismatch, InvalidValue
579
  {
580
    throw new MARSHAL(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_wchar(char _0)
589
                    throws TypeMismatch, InvalidValue
590
  {
591
    throw new MARSHAL(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_wstring(String _0)
600
                      throws TypeMismatch, InvalidValue
601
  {
602
    throw new MARSHAL(NOT_APPLICABLE);
603
  }
604
 
605
  /**
606
   * The remote call of DynAny methods is not possible.
607
   *
608
   * @throws MARSHAL, always.
609
   */
610
  public boolean seek(int _0)
611
  {
612
    throw new MARSHAL(NOT_APPLICABLE);
613
  }
614
 
615
  /**
616
   * The remote call of DynAny methods is not possible.
617
   *
618
   * @throws MARSHAL, always.
619
   */
620
  public Any to_any()
621
  {
622
    throw new MARSHAL(NOT_APPLICABLE);
623
  }
624
 
625
  static String NOT_APPLICABLE =
626
    "DynAnys are always local objects. " +
627
    "They and are never accessed on remote side via stubs.";
628
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.