org.omg.CORBA

Class PolicyErrorCodeHelper

public abstract class PolicyErrorCodeHelper extends Object

A helper operations for the policy error code as an alias of short.
Method Summary
static shortextract(Any a)
Delegates call to extract_short.
static Stringid()
Returns policy error code repository id.
static voidinsert(Any a, short that)
Delegates call to Any.
static shortread(InputStream istream)
Delegates call to InputStream#read_short().
static TypeCodetype()
Returns a typecode of the policy error code, stating it is an alias of short, named "PolicyErrorCode".
static voidwrite(OutputStream ostream, short value)
Delegates call to OutputStream#write_short(short).

Method Detail

extract

public static short extract(Any a)
Delegates call to 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.

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).