org.omg.CosTransactions
Class VoteHolder

java.lang.Object
  extended byorg.omg.CosTransactions.VoteHolder
All Implemented Interfaces:
org.omg.CORBA.portable.Streamable

public final class VoteHolder
extends java.lang.Object
implements org.omg.CORBA.portable.Streamable

Holder class for : Vote

Author:
OpenORB Compiler

Field Summary
 Vote value
          Internal Vote value
 
Constructor Summary
VoteHolder()
          Default constructor
VoteHolder(Vote initial)
          Constructor with value initialisation
 
Method Summary
 void _read(org.omg.CORBA.portable.InputStream istream)
          Read Vote from a marshalled stream
 org.omg.CORBA.TypeCode _type()
          Return the Vote TypeCode
 void _write(org.omg.CORBA.portable.OutputStream ostream)
          Write Vote into a marshalled stream
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public Vote value
Internal Vote value

Constructor Detail

VoteHolder

public VoteHolder()
Default constructor


VoteHolder

public VoteHolder(Vote initial)
Constructor with value initialisation

Parameters:
initial - the initial value
Method Detail

_read

public void _read(org.omg.CORBA.portable.InputStream istream)
Read Vote from a marshalled stream

Specified by:
_read in interface org.omg.CORBA.portable.Streamable
Parameters:
istream - the input stream

_write

public void _write(org.omg.CORBA.portable.OutputStream ostream)
Write Vote into a marshalled stream

Specified by:
_write in interface org.omg.CORBA.portable.Streamable
Parameters:
ostream - the output stream

_type

public org.omg.CORBA.TypeCode _type()
Return the Vote TypeCode

Specified by:
_type in interface org.omg.CORBA.portable.Streamable
Returns:
a TypeCode