public abstract class PolicyTypeHelper extends java.lang.Object
| Constructor and Description |
|---|
PolicyTypeHelper() |
| Modifier and Type | Method and Description |
|---|---|
static int |
extract(Any any)
Extract the int from given Any.
|
static java.lang.String |
id()
Get the int repository id.
|
static void |
insert(Any any,
int that)
Insert the int into the given Any.
|
static int |
read(org.omg.CORBA.portable.InputStream input)
Read the int (policy type) from the CDR intput stream.
|
static TypeCode |
type()
Create the PolicyType typecode (alias of CORBA ulong, named "PolicyType".
|
static void |
write(org.omg.CORBA.portable.OutputStream output,
int value)
Write the int (policy type) to the CDR output stream.
|
public PolicyTypeHelper()
public static TypeCode type()
public static int extract(Any any)
BAD_OPERATION - if the passed Any does not contain int.public static java.lang.String id()
public static int read(org.omg.CORBA.portable.InputStream input)
input - a org.omg.CORBA.portable stream to read from.public static void write(org.omg.CORBA.portable.OutputStream output, int value)
output - a org.omg.CORBA.portable stream stream to write into.value - a value to write.