1:
37:
38:
39: package ;
40:
41: import ;
42:
43: import ;
44: import ;
45: import ;
46: import ;
47: import ;
48: import ;
49: import ;
50:
51:
58: public abstract class UndivideableAny
59: extends AbstractAny
60: implements Serializable
61: {
62:
65: private static final long serialVersionUID = 1;
66:
67:
70: public UndivideableAny(TypeCode oType, TypeCode aType,
71: gnuDynAnyFactory aFactory, ORB anOrb)
72: {
73: super(oType, aType, aFactory, anOrb);
74: }
75:
76:
81: public int component_count()
82: {
83: return 0;
84: }
85:
86:
91: public DynAny current_component()
92: throws TypeMismatch
93: {
94: throw new TypeMismatch("Not applicable");
95: }
96:
97:
100: public void destroy()
101: {
102: }
103:
104:
107: public Any get_any()
108: throws TypeMismatch, InvalidValue
109: {
110: throw new TypeMismatch();
111: }
112:
113:
116: public boolean get_boolean()
117: throws TypeMismatch, InvalidValue
118: {
119: throw new TypeMismatch();
120: }
121:
122:
125: public char get_char()
126: throws TypeMismatch, InvalidValue
127: {
128: throw new TypeMismatch();
129: }
130:
131:
134: public double get_double()
135: throws TypeMismatch, InvalidValue
136: {
137: throw new TypeMismatch();
138: }
139:
140:
143: public DynAny get_dyn_any()
144: throws TypeMismatch, InvalidValue
145: {
146: throw new TypeMismatch();
147: }
148:
149:
152: public float get_float()
153: throws TypeMismatch, InvalidValue
154: {
155: throw new TypeMismatch();
156: }
157:
158:
161: public int get_long()
162: throws TypeMismatch, InvalidValue
163: {
164: throw new TypeMismatch();
165: }
166:
167:
170: public long get_longlong()
171: throws TypeMismatch, InvalidValue
172: {
173: throw new TypeMismatch();
174: }
175:
176:
179: public byte get_octet()
180: throws TypeMismatch, InvalidValue
181: {
182: throw new TypeMismatch();
183: }
184:
185:
188: public Object get_reference()
189: throws TypeMismatch, InvalidValue
190: {
191: throw new TypeMismatch();
192: }
193:
194:
197: public short get_short()
198: throws TypeMismatch, InvalidValue
199: {
200: throw new TypeMismatch();
201: }
202:
203:
206: public String get_string()
207: throws TypeMismatch, InvalidValue
208: {
209: throw new TypeMismatch();
210: }
211:
212:
215: public TypeCode get_typecode()
216: throws TypeMismatch, InvalidValue
217: {
218: throw new TypeMismatch();
219: }
220:
221:
224: public int get_ulong()
225: throws TypeMismatch, InvalidValue
226: {
227: throw new TypeMismatch();
228: }
229:
230:
233: public long get_ulonglong()
234: throws TypeMismatch, InvalidValue
235: {
236: throw new TypeMismatch();
237: }
238:
239:
242: public short get_ushort()
243: throws TypeMismatch, InvalidValue
244: {
245: throw new TypeMismatch();
246: }
247:
248:
251: public Serializable get_val()
252: throws TypeMismatch, InvalidValue
253: {
254: throw new TypeMismatch();
255: }
256:
257:
260: public char get_wchar()
261: throws TypeMismatch, InvalidValue
262: {
263: throw new TypeMismatch();
264: }
265:
266:
269: public String get_wstring()
270: throws TypeMismatch, InvalidValue
271: {
272: throw new TypeMismatch();
273: }
274:
275:
278: public void insert_any(Any an_any)
279: throws TypeMismatch, InvalidValue
280: {
281: throw new TypeMismatch();
282: }
283:
284:
287: public void insert_boolean(boolean a_x)
288: throws InvalidValue, TypeMismatch
289: {
290: throw new TypeMismatch();
291: }
292:
293:
296: public void insert_char(char a_x)
297: throws InvalidValue, TypeMismatch
298: {
299: throw new TypeMismatch();
300: }
301:
302:
305: public void insert_double(double a_x)
306: throws InvalidValue, TypeMismatch
307: {
308: throw new TypeMismatch();
309: }
310:
311:
314: public void insert_dyn_any(DynAny insert_it)
315: throws TypeMismatch, InvalidValue
316: {
317: throw new TypeMismatch();
318: }
319:
320:
323: public void insert_float(float a_x)
324: throws InvalidValue, TypeMismatch
325: {
326: throw new TypeMismatch();
327: }
328:
329:
332: public void insert_long(int a_x)
333: throws InvalidValue, TypeMismatch
334: {
335: throw new TypeMismatch();
336: }
337:
338:
341: public void insert_longlong(long a_x)
342: throws InvalidValue, TypeMismatch
343: {
344: throw new TypeMismatch();
345: }
346:
347:
350: public void insert_octet(byte a_x)
351: throws InvalidValue, TypeMismatch
352: {
353: throw new TypeMismatch();
354: }
355:
356:
359: public void insert_reference(Object a_x)
360: throws InvalidValue, TypeMismatch
361: {
362: throw new TypeMismatch();
363: }
364:
365:
368: public void insert_short(short a_x)
369: throws InvalidValue, TypeMismatch
370: {
371: throw new TypeMismatch();
372: }
373:
374:
377: public void insert_string(String a_x)
378: throws InvalidValue, TypeMismatch
379: {
380: throw new TypeMismatch();
381: }
382:
383:
386: public void insert_typecode(TypeCode a_x)
387: throws InvalidValue, TypeMismatch
388: {
389: throw new TypeMismatch();
390: }
391:
392:
395: public void insert_ulong(int a_x)
396: throws InvalidValue, TypeMismatch
397: {
398: throw new TypeMismatch();
399: }
400:
401:
404: public void insert_ulonglong(long a_x)
405: throws InvalidValue, TypeMismatch
406: {
407: throw new TypeMismatch();
408: }
409:
410:
413: public void insert_ushort(short a_x)
414: throws InvalidValue, TypeMismatch
415: {
416: throw new TypeMismatch();
417: }
418:
419:
422: public void insert_val(Serializable a_x)
423: throws InvalidValue, TypeMismatch
424: {
425: throw new TypeMismatch();
426: }
427:
428:
431: public void insert_wchar(char a_x)
432: throws InvalidValue, TypeMismatch
433: {
434: throw new TypeMismatch();
435: }
436:
437:
440: public void insert_wstring(String a_x)
441: throws InvalidValue, TypeMismatch
442: {
443: throw new TypeMismatch();
444: }
445:
446:
449: public boolean next()
450: {
451: return false;
452: }
453:
454:
457: public void rewind()
458: {
459: }
460:
461:
464: public boolean seek(int p)
465: {
466: return false;
467: }
468:
469:
472: public TypeCode type()
473: {
474: return official_type;
475: }
476:
477:
480: public boolean equals(java.lang.Object other)
481: {
482: if (other instanceof DynAny)
483: return equal((DynAny) other);
484: else
485: return false;
486: }
487:
488:
491: public abstract boolean equal(DynAny other);
492:
493: }