org.omg.CORBA
Class PolicyHolder

java.lang.Object
  |
  +--org.omg.CORBA.PolicyHolder
All Implemented Interfaces:
Streamable

public final class PolicyHolder
extends java.lang.Object
implements Streamable

Holder class for : Policy

Author:
OpenORB Compiler

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

Field Detail

value

public Policy value
Internal Policy value
Constructor Detail

PolicyHolder

public PolicyHolder()
Default constructor

PolicyHolder

public PolicyHolder(Policy initial)
Constructor with value initialisation
Parameters:
initial - the initial value
Method Detail

_read

public void _read(InputStream istream)
Read Policy from a marshalled stream
Specified by:
_read in interface Streamable
Parameters:
istream - the input stream

_write

public void _write(OutputStream ostream)
Write Policy into a marshalled stream
Specified by:
_write in interface Streamable
Parameters:
ostream - the output stream

_type

public TypeCode _type()
Return the Policy TypeCode
Specified by:
_type in interface Streamable
Returns:
a TypeCode