org.omg.CORBA
Class PolicyErrorCodeHelper

java.lang.Object
  extended by org.omg.CORBA.PolicyErrorCodeHelper

public abstract class PolicyErrorCodeHelper
extends Object

A helper operations for the policy error code as an alias of short.


Constructor Summary
PolicyErrorCodeHelper()
           
 
Method Summary
static short extract(Any a)
          Delegates call to Any.extract_short().
static String id()
          Returns policy error code repository id.
static void insert(Any a, short that)
          Delegates call to Any.insert_short(short).
static short read(InputStream istream)
          Delegates call to InputStream.read_short().
static TypeCode type()
          Returns a typecode of the policy error code, stating it is an alias of short, named "PolicyErrorCode".
static void write(OutputStream ostream, short value)
          Delegates call to OutputStream.write_short(short).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyErrorCodeHelper

public PolicyErrorCodeHelper()
Method Detail

extract

public static short extract(Any a)
Delegates call to Any.extract_short().


id

public static String id()
Returns policy error code repository id.

Returns:
"IDL:omg.org/CORBA/PolicyErrorCode:1.0", always.

insert

public static void insert(Any a,
                          short that)
Delegates call to Any.insert_short(short).


read

public static short read(InputStream istream)
Delegates call to InputStream.read_short().


type

public static TypeCode type()
Returns a typecode of the policy error code, stating it is an alias of short, named "PolicyErrorCode".

Returns:
a typecode of synchronization scope.

write

public static void write(OutputStream ostream,
                         short value)
Delegates call to OutputStream.write_short(short).