001    /* _DynFixedStub.java --
002       Copyright (C) 2005, 2006 Free Software Foundation, Inc.
003    
004    This file is part of GNU Classpath.
005    
006    GNU Classpath is free software; you can redistribute it and/or modify
007    it under the terms of the GNU General Public License as published by
008    the Free Software Foundation; either version 2, or (at your option)
009    any later version.
010    
011    GNU Classpath is distributed in the hope that it will be useful, but
012    WITHOUT ANY WARRANTY; without even the implied warranty of
013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
014    General Public License for more details.
015    
016    You should have received a copy of the GNU General Public License
017    along with GNU Classpath; see the file COPYING.  If not, write to the
018    Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
019    02110-1301 USA.
020    
021    Linking this library statically or dynamically with other modules is
022    making a combined work based on this library.  Thus, the terms and
023    conditions of the GNU General Public License cover the whole
024    combination.
025    
026    As a special exception, the copyright holders of this library give you
027    permission to link this library with independent modules to produce an
028    executable, regardless of the license terms of these independent
029    modules, and to copy and distribute the resulting executable under
030    terms of your choice, provided that you also meet, for each linked
031    independent module, the terms and conditions of the license of that
032    module.  An independent module is a module which is not derived from
033    or based on this library.  If you modify this library, you may extend
034    this exception to your version of the library, but you are not
035    obligated to do so.  If you do not wish to do so, delete this
036    exception statement from your version. */
037    
038    
039    package org.omg.DynamicAny;
040    
041    import java.io.Serializable;
042    
043    import org.omg.CORBA.Any;
044    import org.omg.CORBA.MARSHAL;
045    import org.omg.CORBA.TypeCode;
046    import org.omg.CORBA.portable.ObjectImpl;
047    import org.omg.DynamicAny.DynAnyPackage.InvalidValue;
048    import org.omg.DynamicAny.DynAnyPackage.TypeMismatch;
049    
050    /**
051     * Should provide support for remote invocation of methods on DynFixed. As
052     * DynFixed can never be remote at least till 1.5 inclusive, this class is
053     * not in use.
054     *
055     * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org)
056     */
057    public class _DynFixedStub
058      extends ObjectImpl
059      implements DynFixed, Serializable
060    {
061      /**
062       * Use serialVersionUID (v1.4) for interoperability.
063       */
064      private static final long serialVersionUID = -1932029532964417188L;
065    
066      /**
067       * The purpose and value of this field are not documented.
068       */
069      @SuppressWarnings("unchecked") // Needed for API compatibility
070      public static final Class _opsClass = DynFixedOperations.class;
071    
072      /**
073       * Create the DynFixed stub.
074       */
075      public _DynFixedStub()
076      {
077      }
078    
079      /**
080       * Return the array of repository ids for this object.
081       */
082      public String[] _ids()
083      {
084        return new String[] { DynFixedHelper.id() };
085      }
086    
087      /**
088       * The remote call of DynAny methods is not possible.
089       *
090       * @throws MARSHAL, always.
091       */
092      public String get_value()
093      {
094        throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
095      }
096    
097      /**
098       * The remote call of DynAny methods is not possible.
099       *
100       * @throws MARSHAL, always.
101       */
102      public boolean set_value(String _0)
103                        throws TypeMismatch, InvalidValue
104      {
105        throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
106      }
107    
108      /**
109       * The remote call of DynAny methods is not possible.
110       *
111       * @throws MARSHAL, always.
112       */
113      public TypeCode type()
114      {
115        throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
116      }
117    
118      /**
119       * The remote call of DynAny methods is not possible.
120       *
121       * @throws MARSHAL, always.
122       */
123      public boolean next()
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 void destroy()
134      {
135      }
136    
137      /**
138       * The remote call of DynAny methods is not possible.
139       *
140       * @throws MARSHAL, always.
141       */
142      public DynAny copy()
143      {
144        return this;
145      }
146    
147      /**
148       * The remote call of DynAny methods is not possible.
149       *
150       * @throws MARSHAL, always.
151       */
152      public void rewind()
153      {
154      }
155    
156      /**
157       * The remote call of DynAny methods is not possible.
158       *
159       * @throws MARSHAL, always.
160       */
161      public void assign(DynAny _0)
162                  throws TypeMismatch
163      {
164      }
165    
166      /**
167       * The remote call of DynAny methods is not possible.
168       *
169       * @throws MARSHAL, always.
170       */
171      public int component_count()
172      {
173        throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
174      }
175    
176      /**
177       * The remote call of DynAny methods is not possible.
178       *
179       * @throws MARSHAL, always.
180       */
181      public DynAny current_component()
182                               throws TypeMismatch
183      {
184        throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
185      }
186    
187      /**
188       * The remote call of DynAny methods is not possible.
189       *
190       * @throws MARSHAL, always.
191       */
192      public boolean equal(DynAny _0)
193      {
194        throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
195      }
196    
197      /**
198       * The remote call of DynAny methods is not possible.
199       *
200       * @throws MARSHAL, always.
201       */
202      public void from_any(Any _0)
203                    throws TypeMismatch, InvalidValue
204      {
205        throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
206      }
207    
208      /**
209       * The remote call of DynAny methods is not possible.
210       *
211       * @throws MARSHAL, always.
212       */
213      public Any get_any()
214                  throws TypeMismatch, InvalidValue
215      {
216        throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
217      }
218    
219      /**
220       * The remote call of DynAny methods is not possible.
221       *
222       * @throws MARSHAL, always.
223       */
224      public boolean get_boolean()
225                          throws TypeMismatch, InvalidValue
226      {
227        throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
228      }
229    
230      /**
231       * The remote call of DynAny methods is not possible.
232       *
233       * @throws MARSHAL, always.
234       */
235      public char get_char()
236                    throws TypeMismatch, InvalidValue
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 double get_double()
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 DynAny get_dyn_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 float get_float()
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 int get_long()
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 long get_longlong()
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 byte get_octet()
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 org.omg.CORBA.Object get_reference()
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 short get_short()
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 String get_string()
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 TypeCode get_typecode()
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 int get_ulong()
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 long get_ulonglong()
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 short get_ushort()
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 Serializable get_val()
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 char get_wchar()
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 String get_wstring()
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 void insert_any(Any _0)
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 void insert_boolean(boolean _0)
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 void insert_char(char _0)
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 void insert_double(double _0)
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_dyn_any(DynAny _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_float(float _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_long(int _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_longlong(long _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_octet(byte _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_reference(org.omg.CORBA.Object _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_short(short _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_string(String _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_typecode(TypeCode _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_ulong(int _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_ulonglong(long _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_ushort(short _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_val(Serializable _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_wchar(char _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_wstring(String _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 boolean seek(int _0)
632      {
633        throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
634      }
635    
636      /**
637       * The remote call of DynAny methods is not possible.
638       *
639       * @throws MARSHAL, always.
640       */
641      public Any to_any()
642      {
643        throw new MARSHAL(_DynAnyStub.NOT_APPLICABLE);
644      }
645    
646    }