39 |
package org.omg.CORBA; |
package org.omg.CORBA; |
40 |
|
|
41 |
import gnu.CORBA.primitiveTypeCode; |
import gnu.CORBA.primitiveTypeCode; |
42 |
|
import gnu.CORBA.recordTypeCode; |
43 |
|
|
44 |
import org.omg.CORBA.portable.InputStream; |
import org.omg.CORBA.portable.InputStream; |
45 |
import org.omg.CORBA.portable.OutputStream; |
import org.omg.CORBA.portable.OutputStream; |
60 |
implements Streamable |
implements Streamable |
61 |
{ |
{ |
62 |
/** |
/** |
63 |
* The default type code for this holder. |
* The default type code for this holder if the object type code with |
64 |
|
* the zero length string as id. |
65 |
*/ |
*/ |
66 |
private static final TypeCode t_object = |
private static final recordTypeCode t_object; |
67 |
new primitiveTypeCode(TCKind.tk_objref); |
|
68 |
|
static |
69 |
|
{ |
70 |
|
t_object = new recordTypeCode(TCKind.tk_objref); |
71 |
|
t_object.setId(""); |
72 |
|
} |
73 |
|
|
74 |
/** |
/** |
75 |
* The <code>org.omg.CORBA.Object</code> (CORBA <code>Object</code>) value, |
* The <code>org.omg.CORBA.Object</code> (CORBA <code>Object</code>) value, |
116 |
*/ |
*/ |
117 |
public TypeCode _type() |
public TypeCode _type() |
118 |
{ |
{ |
119 |
return t_object; |
return ObjectHelper.type(); |
120 |
} |
} |
121 |
|
|
122 |
/** |
/** |
131 |
{ |
{ |
132 |
output.write_Object(value); |
output.write_Object(value); |
133 |
} |
} |
134 |
} |
} |