org.omg.CosTrading
Class PolicyHelper

java.lang.Object
  extended by org.omg.CosTrading.PolicyHelper

public class PolicyHelper
extends java.lang.Object

Helper class for : Policy

Author:
OpenORB Compiler

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

Constructor Detail

PolicyHelper

public PolicyHelper()
Method Detail

insert

public static void insert(org.omg.CORBA.Any a,
                          Policy t)
Insert Policy into an any

Parameters:
a - an any
t - Policy value

extract

public static Policy extract(org.omg.CORBA.Any a)
Extract Policy from an any

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

type

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

Returns:
a TypeCode

id

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

Returns:
an ID

read

public static Policy read(org.omg.CORBA.portable.InputStream istream)
Read Policy from a marshalled stream

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

write

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

Parameters:
ostream - the output stream
value - Policy value