public class ObjectIdHelper
extends java.lang.Object
| Constructor and Description |
|---|
ObjectIdHelper() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
extract(Any a)
Extract ObjectId from an any
|
static java.lang.String |
id()
Return the ObjectId IDL ID
|
static void |
insert(Any a,
byte[] t)
Insert ObjectId into an any
|
static byte[] |
read(InputStream istream)
Read ObjectId from a marshalled stream
|
static TypeCode |
type()
Return the ObjectId TypeCode
|
static void |
write(OutputStream ostream,
byte[] value)
Write ObjectId into a marshalled stream
|
public static void insert(Any a, byte[] t)
a - an anyt - ObjectId valuepublic static byte[] extract(Any a)
a - an anypublic static TypeCode type()
public static java.lang.String id()
public static byte[] read(InputStream istream)
istream - the input streampublic static void write(OutputStream ostream, byte[] value)
ostream - the output streamvalue - ObjectId value