org.omg.CosPersistentState
Class TransactionPolicyHelper

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

public class TransactionPolicyHelper
extends java.lang.Object

Helper class for : TransactionPolicy

Author:
OpenORB Compiler

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

Constructor Detail

TransactionPolicyHelper

public TransactionPolicyHelper()
Method Detail

insert

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

Parameters:
a - an any
t - TransactionPolicy value

extract

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

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

type

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

Returns:
a TypeCode

id

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

Returns:
an ID

read

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

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

write

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

Parameters:
ostream - the output stream
value - TransactionPolicy value