| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public class _DynEnumStub extends ObjectImpl implements DynEnum
DynEnum objects support the manipulation of IDL enumerated values. The current position of a DynEnum is always -1.
Field Summary | |
---|---|
static Class |
_opsClass
|
Constructor Summary | |
---|---|
|
Method Summary | |
---|---|
void |
Initializes the value associated with a DynAny object with the value associated with another DynAny object. |
int |
Returns the number of components of a DynAny. |
DynAny |
copy() Creates a new DynAny object whose value is a deep copy of the DynAny on which it is invoked. |
DynAny |
Returns the DynAny for the component at the current position. |
void |
destroy() Destroys a DynAny object. |
boolean |
Compares two DynAny values for equality. |
void |
Initializes the value associated with a DynAny object with the value contained in an any. |
Any |
get_any() Extracts an Any value contained in the Any represented by this DynAny. |
String |
Returns the value of the DynEnum as an IDL identifier. |
int |
Returns the value of the DynEnum as the enumerated value's ordinal value. |
boolean |
Extracts the boolean value from this DynAny. |
char |
get_char() Extracts the char value from this DynAny. |
double |
Extracts the double value from this DynAny. |
DynAny |
Extracts the Any value contained in the Any represented by this DynAny and returns it wrapped into a new DynAny. |
float |
Extracts the float value from this DynAny. |
int |
get_long() Extracts the integer value from this DynAny. |
long |
Extracts the long value from this DynAny. |
byte |
Extracts the byte value from this DynAny. |
Object |
Extracts the reference to a CORBA Object from this DynAny. |
short |
Extracts the short value from this DynAny. |
String |
Extracts the string value from this DynAny. |
TypeCode |
Extracts the TypeCode object from this DynAny. |
int |
Extracts the integer value from this DynAny. |
long |
Extracts the long value from this DynAny. |
short |
Extracts the short value from this DynAny. |
Serializable |
get_val() Extracts a Serializable object from this DynAny. |
char |
Extracts the long value from this DynAny. |
String |
Extracts the string value from this DynAny. |
void |
insert_any(Any value) Inserts an Any value into the Any represented by this DynAny. |
void |
insert_boolean(boolean value) Inserts a boolean value into the DynAny. |
void |
insert_char(char value) Inserts a char value into the DynAny. |
void |
insert_double(double value) Inserts a double value into the DynAny. |
void |
insert_dyn_any(DynAny value) Inserts the Any value contained in the parameter DynAny into the Any represented by this DynAny. |
void |
insert_float(float value) Inserts a float value into the DynAny. |
void |
insert_long(int value) Inserts an integer value into the DynAny. |
void |
insert_longlong(long value) Inserts a long value into the DynAny. |
void |
insert_octet(byte value) Inserts a byte value into the DynAny. |
void |
insert_reference(Object value) Inserts a reference to a CORBA object into the DynAny. |
void |
insert_short(short value) Inserts a short value into the DynAny. |
void |
insert_string(String value) Inserts a string value into the DynAny. |
void |
insert_typecode(TypeCode value) Inserts a TypeCode object into the DynAny. |
void |
insert_ulong(int value) Inserts an integer value into the DynAny. |
void |
insert_ulonglong(long value) Inserts a long value into the DynAny. |
void |
insert_ushort(short value) Inserts a short value into the DynAny. |
void |
insert_val(Serializable value) Inserts a reference to a Serializable object into this DynAny. |
void |
insert_wchar(char value) Inserts a char value into the DynAny. |
void |
insert_wstring(String value) Inserts a string value into the DynAny. |
boolean |
next() Advances the current position to the next component. |
void |
rewind() Is equivalent to seek(0). |
boolean |
seek(int index) Sets the current position to index. |
void |
set_as_string(String value) Sets the value of the DynEnum to the enumerated value whose IDL identifier is passed in the value parameter. |
void |
set_as_ulong(int value) Sets the value of the DynEnum as the enumerated value's ordinal value. |
Any |
to_any() Creates an any value from a DynAny object. |
TypeCode |
type() Returns the TypeCode associated with this DynAny object. |
String[] |
_ids() Retrieves a string array containing the repository identifiers supported by this ObjectImpl object.
|
Methods inherited from class org.omg.CORBA.portable.ObjectImpl |
---|
equals, hashCode, toString, _create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _ids, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Class _opsClass
Constructor Detail |
---|
public _DynEnumStub()
Method Detail |
---|
public void assign(DynAny dyn_any) throws TypeMismatch
dyn_any
TypeMismatch
public int component_count()
public DynAny copy()
public DynAny current_component() throws TypeMismatch
TypeMismatch
public void destroy()
public boolean equal(DynAny dyn_any)
dyn_any
public void from_any(Any value) throws TypeMismatch, InvalidValue
value
TypeMismatch
InvalidValue
public Any get_any() throws TypeMismatch, InvalidValue
TypeMismatch
InvalidValue
public String get_as_string()
public int get_as_ulong()
public boolean get_boolean() throws TypeMismatch, InvalidValue
TypeMismatch
InvalidValue
public char get_char() throws TypeMismatch, InvalidValue
TypeMismatch
InvalidValue
public double get_double() throws TypeMismatch, InvalidValue
TypeMismatch
InvalidValue
public DynAny get_dyn_any() throws TypeMismatch, InvalidValue
TypeMismatch
InvalidValue
public float get_float() throws TypeMismatch, InvalidValue
TypeMismatch
InvalidValue
public int get_long() throws TypeMismatch, InvalidValue
TypeMismatch
InvalidValue
public long get_longlong() throws TypeMismatch, InvalidValue
TypeMismatch
InvalidValue
public byte get_octet() throws TypeMismatch, InvalidValue
TypeMismatch
InvalidValue
public Object get_reference() throws TypeMismatch, InvalidValue
TypeMismatch
InvalidValue
public short get_short() throws TypeMismatch, InvalidValue
TypeMismatch
InvalidValue
public String get_string() throws TypeMismatch, InvalidValue
TypeMismatch
InvalidValue
public TypeCode get_typecode() throws TypeMismatch, InvalidValue
TypeMismatch
InvalidValue
public int get_ulong() throws TypeMismatch, InvalidValue
TypeMismatch
InvalidValue
public long get_ulonglong() throws TypeMismatch, InvalidValue
TypeMismatch
InvalidValue
public short get_ushort() throws TypeMismatch, InvalidValue
TypeMismatch
InvalidValue
public Serializable get_val() throws TypeMismatch, InvalidValue
TypeMismatch
InvalidValue
public char get_wchar() throws TypeMismatch, InvalidValue
TypeMismatch
InvalidValue
public String get_wstring() throws TypeMismatch, InvalidValue
TypeMismatch
InvalidValue
public void insert_any(Any value) throws TypeMismatch, InvalidValue
value
TypeMismatch
InvalidValue
public void insert_boolean(boolean value) throws TypeMismatch, InvalidValue
value
TypeMismatch
InvalidValue
public void insert_char(char value) throws TypeMismatch, InvalidValue
value
TypeMismatch
InvalidValue
public void insert_double(double value) throws TypeMismatch, InvalidValue
value
TypeMismatch
InvalidValue
public void insert_dyn_any(DynAny value) throws TypeMismatch, InvalidValue
value
TypeMismatch
InvalidValue
public void insert_float(float value) throws TypeMismatch, InvalidValue
value
TypeMismatch
InvalidValue
public void insert_long(int value) throws TypeMismatch, InvalidValue
value
TypeMismatch
InvalidValue
public void insert_longlong(long value) throws TypeMismatch, InvalidValue
value
TypeMismatch
InvalidValue
public void insert_octet(byte value) throws TypeMismatch, InvalidValue
value
TypeMismatch
InvalidValue
public void insert_reference(Object value) throws TypeMismatch, InvalidValue
value
TypeMismatch
InvalidValue
public void insert_short(short value) throws TypeMismatch, InvalidValue
value
TypeMismatch
InvalidValue
public void insert_string(String value) throws TypeMismatch, InvalidValue
value
TypeMismatch
InvalidValue
public void insert_typecode(TypeCode value) throws TypeMismatch, InvalidValue
value
TypeMismatch
InvalidValue
public void insert_ulong(int value) throws TypeMismatch, InvalidValue
value
TypeMismatch
InvalidValue
public void insert_ulonglong(long value) throws TypeMismatch, InvalidValue
value
TypeMismatch
InvalidValue
public void insert_ushort(short value) throws TypeMismatch, InvalidValue
value
TypeMismatch
InvalidValue
public void insert_val(Serializable value) throws TypeMismatch, InvalidValue
value
TypeMismatch
InvalidValue
public void insert_wchar(char value) throws TypeMismatch, InvalidValue
value
TypeMismatch
InvalidValue
public void insert_wstring(String value) throws TypeMismatch, InvalidValue
value
TypeMismatch
InvalidValue
public boolean next()
public void rewind()
public boolean seek(int index)
index
public void set_as_string(String value) throws InvalidValue
value
InvalidValue
public void set_as_ulong(int value) throws InvalidValue
value
InvalidValue
public Any to_any()
public TypeCode type()
public String[] _ids()
_ids
in class ObjectImpl
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |