org.omg.CosNaming.NamingContextPackage
Class NotFoundReasonHolder

java.lang.Object
  extended by org.omg.CosNaming.NamingContextPackage.NotFoundReasonHolder
All Implemented Interfaces:
Streamable

public final class NotFoundReasonHolder
extends Object
implements Streamable

The holder for class NotFoundReason.


Field Summary
 NotFoundReason value
          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 NotFoundReason.
 void _write(OutputStream out)
          Write the holder to the CDR output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.

Specified by:
_read in interface Streamable
Parameters:
in - the input stream to read from.

_type

public TypeCode _type()
Get the type code of NotFoundReason.

Specified by:
_type in interface Streamable
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.

Specified by:
_write in interface Streamable
Parameters:
out - the output stream to write into.