org.omg.CosPersistentState
Class TypeIdHelper

java.lang.Object
  extended by org.omg.CosPersistentState.TypeIdHelper

public class TypeIdHelper
extends java.lang.Object

Helper class for : TypeId

Author:
OpenORB Compiler

Constructor Summary
TypeIdHelper()
           
 
Method Summary
static java.lang.String extract(org.omg.CORBA.Any a)
          Extract TypeId from an any
static java.lang.String id()
          Return the TypeId IDL ID
static void insert(org.omg.CORBA.Any a, java.lang.String t)
          Insert TypeId into an any
static java.lang.String read(org.omg.CORBA.portable.InputStream istream)
          Read TypeId from a marshalled stream
static org.omg.CORBA.TypeCode type()
          Return the TypeId TypeCode
static void write(org.omg.CORBA.portable.OutputStream ostream, java.lang.String value)
          Write TypeId into a marshalled stream
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeIdHelper

public TypeIdHelper()
Method Detail

insert

public static void insert(org.omg.CORBA.Any a,
                          java.lang.String t)
Insert TypeId into an any

Parameters:
a - an any
t - TypeId value

extract

public static java.lang.String extract(org.omg.CORBA.Any a)
Extract TypeId from an any

Parameters:
a - an any
Returns:
the extracted TypeId value

type

public static org.omg.CORBA.TypeCode type()
Return the TypeId TypeCode

Returns:
a TypeCode

id

public static java.lang.String id()
Return the TypeId IDL ID

Returns:
an ID

read

public static java.lang.String read(org.omg.CORBA.portable.InputStream istream)
Read TypeId from a marshalled stream

Parameters:
istream - the input stream
Returns:
the readed TypeId value

write

public static void write(org.omg.CORBA.portable.OutputStream ostream,
                         java.lang.String value)
Write TypeId into a marshalled stream

Parameters:
ostream - the output stream
value - TypeId value