1 /***** Copyright (c) 1999-2000 Object Management Group. Unlimited rights to 2 duplicate and use this code are hereby granted provided that this 3 copyright notice is included. 4 *****/ 5 6 package org.omg.CORBA; 7 8 public abstract class Any implements org.omg.CORBA.portable.IDLEntity { 9 10 abstract public boolean equal(org.omg.CORBA.Any a); 11 12 abstract public org.omg.CORBA.TypeCode type(); 13 abstract public void type(org.omg.CORBA.TypeCode type); 14 15 abstract public void read_value(org.omg.CORBA.portable.InputStream is, 16 org.omg.CORBA.TypeCode type); 17 abstract public void write_value(org.omg.CORBA.portable.OutputStream os); 18 19 abstract public org.omg.CORBA.portable.OutputStream create_output_stream(); 20 abstract public org.omg.CORBA.portable.InputStream create_input_stream(); 21 22 abstract public short extract_short(); 23 abstract public void insert_short(short s); 24 25 abstract public int extract_long(); 26 abstract public void insert_long(int i); 27 28 abstract public long extract_longlong(); 29 abstract public void insert_longlong(long l); 30 31 abstract public short extract_ushort(); 32 abstract public void insert_ushort(short s); 33 34 abstract public int extract_ulong(); 35 abstract public void insert_ulong(int i); 36 37 abstract public long extract_ulonglong(); 38 abstract public void insert_ulonglong(long l); 39 40 abstract public float extract_float(); 41 abstract public void insert_float(float f); 42 43 abstract public double extract_double(); 44 abstract public void insert_double(double d); 45 46 abstract public boolean extract_boolean(); 47 abstract public void insert_boolean(boolean b); 48 49 abstract public char extract_char(); 50 abstract public void insert_char(char c); 51 52 abstract public char extract_wchar(); 53 abstract public void insert_wchar(char c); 54 55 abstract public byte extract_octet(); 56 abstract public void insert_octet(byte b); 57 58 abstract public org.omg.CORBA.Any extract_any(); 59 abstract public void insert_any(org.omg.CORBA.Any a); 60 61 abstract public org.omg.CORBA.Object extract_Object(); 62 abstract public void insert_Object(org.omg.CORBA.Object obj); 63 64 abstract public java.io.Serializable extract_Value(); 65 abstract public void insert_Value(java.io.Serializable v); 66 abstract public void insert_Value(java.io.Serializable v, 67 org.omg.CORBA.TypeCode t); 68 69 abstract public void insert_Object(org.omg.CORBA.Object obj, 70 org.omg.CORBA.TypeCode type); 71 72 abstract public String extract_string(); 73 abstract public void insert_string(String s); 74 75 abstract public String extract_wstring(); 76 abstract public void insert_wstring(String value); 77 78 abstract public TypeCode extract_TypeCode(); 79 abstract public void insert_TypeCode(TypeCode value); 80 81 /** 82 *@ deprecated 83 */ 84 public Principal extract_Principal() { 85 throw new org.omg.CORBA.NO_IMPLEMENT(); 86 } 87 /** 88 *@ deprecated 89 */ 90 public void insert_Principal(Principal p) { 91 throw new org.omg.CORBA.NO_IMPLEMENT(); 92 } 93 94 public org.omg.CORBA.portable.Streamable extract_Streamable() { 95 throw new org.omg.CORBA.NO_IMPLEMENT(); 96 } 97 public void insert_Streamable(org.omg.CORBA.portable.Streamable s) { 98 throw new org.omg.CORBA.NO_IMPLEMENT(); 99 } 100 101 public java.math.BigDecimal extract_fixed() { 102 throw new org.omg.CORBA.NO_IMPLEMENT(); 103 } 104 public void insert_fixed(java.math.BigDecimal f, 105 org.omg.CORBA.TypeCode t) { 106 throw new org.omg.CORBA.NO_IMPLEMENT(); 107 } 108 109 } 110