org.omg.CosNaming.NamingContextPackage

Class NotFoundReasonHolder

public final class NotFoundReasonHolder extends Object implements Streamable

The holder for class {@link NotFoundReason}.
Field Summary
NotFoundReasonvalue
The stored value.
Constructor Summary
NotFoundReasonHolder()
Create the holder with unitialized value.
NotFoundReasonHolder(NotFoundReason initialValue)
Create the holder, storing the given intial value.
Method Summary
void_read(InputStream in)
Read the holder from the CDR input stream.
TypeCode_type()
Get the type code of {@link NotFoundReason}.
void_write(OutputStream out)
Write the holder to the CDR output stream.

Field Detail

value

public NotFoundReason value
The stored value.

Constructor Detail

NotFoundReasonHolder

public NotFoundReasonHolder()
Create the holder with unitialized value.

NotFoundReasonHolder

public NotFoundReasonHolder(NotFoundReason initialValue)
Create the holder, storing the given intial value.

Method Detail

_read

public void _read(InputStream in)
Read the holder from the CDR input stream.

_type

public TypeCode _type()
Get the type code of {@link NotFoundReason}.

Returns: the typecode of enumeration, allowed value names being "missing_node", "not_context" and "not_object"

_write

public void _write(OutputStream out)
Write the holder to the CDR output stream.