org.omg.CORBA

Class PolicyHolder

public final class PolicyHolder extends Object implements Streamable

A holder for the object {@link Policy}.
Field Summary
Policyvalue
The stored Policy value.
Constructor Summary
PolicyHolder()
Create the uninitialised instance, leaving the value field with default null value.
PolicyHolder(Policy initialValue)
Create the initialised instance.
Method Summary
void_read(InputStream input)
Fill in the {@link #value} by data from the CDR stream.
TypeCode_type()
Get the typecode of the Policy.
void_write(OutputStream output)
Write the stored value into the CDR stream.

Field Detail

value

public Policy value
The stored Policy value.

Constructor Detail

PolicyHolder

public PolicyHolder()
Create the uninitialised instance, leaving the value field with default null value.

PolicyHolder

public PolicyHolder(Policy initialValue)
Create the initialised instance.

Parameters: initialValue the value that will be assigned to the value field.

Method Detail

_read

public void _read(InputStream input)
Fill in the {@link #value} by data from the CDR stream. Delegates work to {@link PolicyHelper}.

Parameters: input the org.omg.CORBA.portable stream to read.

_type

public TypeCode _type()
Get the typecode of the Policy. Delegates work to {@link PolicyHelper}.

_write

public void _write(OutputStream output)
Write the stored value into the CDR stream. Delegates work to {@link PolicyHelper}.

Parameters: output the org.omg.CORBA.portable stream to write.