org.omg.CORBA
Class PrimitiveKindHolder

java.lang.Object
  extended by org.omg.CORBA.PrimitiveKindHolder
All Implemented Interfaces:
Streamable

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

Holder class for : PrimitiveKind

Author:
OpenORB Compiler

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

Field Detail

value

public PrimitiveKind value
Internal PrimitiveKind value

Constructor Detail

PrimitiveKindHolder

public PrimitiveKindHolder()
Default constructor


PrimitiveKindHolder

public PrimitiveKindHolder(PrimitiveKind initial)
Constructor with value initialisation

Parameters:
initial - the initial value
Method Detail

_read

public void _read(InputStream istream)
Read PrimitiveKind from a marshalled stream

Specified by:
_read in interface Streamable
Parameters:
istream - the input stream

_write

public void _write(OutputStream ostream)
Write PrimitiveKind into a marshalled stream

Specified by:
_write in interface Streamable
Parameters:
ostream - the output stream

_type

public TypeCode _type()
Return the PrimitiveKind TypeCode

Specified by:
_type in interface Streamable
Returns:
a TypeCode