org.omg.CORBA
Class PolicyErrorCodeHelper

java.lang.Object
  |
  +--org.omg.CORBA.PolicyErrorCodeHelper

public class PolicyErrorCodeHelper
extends java.lang.Object

Helper class for : PolicyErrorCode

Author:
OpenORB Compiler

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

Constructor Detail

PolicyErrorCodeHelper

public PolicyErrorCodeHelper()
Method Detail

insert

public static void insert(Any a,
                          short t)
Insert PolicyErrorCode into an any
Parameters:
a - an any
t - PolicyErrorCode value

extract

public static short extract(Any a)
Extract PolicyErrorCode from an any
Parameters:
a - an any
Returns:
the extracted PolicyErrorCode value

type

public static TypeCode type()
Return the PolicyErrorCode TypeCode
Returns:
a TypeCode

id

public static java.lang.String id()
Return the PolicyErrorCode IDL ID
Returns:
an ID

read

public static short read(InputStream istream)
Read PolicyErrorCode from a marshalled stream
Parameters:
istream - the input stream
Returns:
the readed PolicyErrorCode value

write

public static void write(OutputStream ostream,
                         short value)
Write PolicyErrorCode into a marshalled stream
Parameters:
ostream - the output stream
value - PolicyErrorCode value