org.omg.CosTransactions
Class VoteHelper

java.lang.Object
  |
  +--org.omg.CosTransactions.VoteHelper

public class VoteHelper
extends java.lang.Object

Helper class for : Vote

Author:
OpenORB Compiler

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

Constructor Detail

VoteHelper

public VoteHelper()
Method Detail

insert

public static void insert(org.omg.CORBA.Any a,
                          Vote t)
Insert Vote into an any
Parameters:
a - an any
t - Vote value

extract

public static Vote extract(org.omg.CORBA.Any a)
Extract Vote from an any
Parameters:
a - an any
Returns:
the extracted Vote value

type

public static org.omg.CORBA.TypeCode type()
Return the Vote TypeCode
Returns:
a TypeCode

id

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

read

public static Vote read(org.omg.CORBA.portable.InputStream istream)
Read Vote from a marshalled stream
Parameters:
istream - the input stream
Returns:
the readed Vote value

write

public static void write(org.omg.CORBA.portable.OutputStream ostream,
                         Vote value)
Write Vote into a marshalled stream
Parameters:
ostream - the output stream
value - Vote value