org.omg.CORBA
Interface DynAny

All Superinterfaces:
Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object
All Known Subinterfaces:
DynArray sample code for org.omg.CORBA.DynArray definition code for org.omg.CORBA.DynArray , DynEnum sample code for org.omg.CORBA.DynEnum definition code for org.omg.CORBA.DynEnum , DynFixed sample code for org.omg.CORBA.DynFixed definition code for org.omg.CORBA.DynFixed , DynSequence sample code for org.omg.CORBA.DynSequence definition code for org.omg.CORBA.DynSequence , DynStruct sample code for org.omg.CORBA.DynStruct definition code for org.omg.CORBA.DynStruct , DynUnion sample code for org.omg.CORBA.DynUnion definition code for org.omg.CORBA.DynUnion , DynValue sample code for org.omg.CORBA.DynValue definition code for org.omg.CORBA.DynValue

Deprecated. Use the new DynAny instead

@Deprecated
public interface DynAny
extends Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object

Enables org.omg.CORBA.Any values to be dynamically interpreted (traversed) and constructed. A DynAny object is associated with a data value which may correspond to a copy of the value inserted into an Any. The DynAny APIs enable traversal of the data value associated with an Any at runtime and extraction of the primitive constituents of the data value.


Method Summary
 void assign sample code for org.omg.CORBA.DynAny.assign(org.omg.CORBA.DynAny) definition code for org.omg.CORBA.DynAny.assign(org.omg.CORBA.DynAny) (DynAny sample code for org.omg.CORBA.DynAny definition code for org.omg.CORBA.DynAny  dyn_any)
          Deprecated. Copy the contents from one Dynamic Any into another.
 DynAny sample code for org.omg.CORBA.DynAny definition code for org.omg.CORBA.DynAny copy sample code for org.omg.CORBA.DynAny.copy() definition code for org.omg.CORBA.DynAny.copy() ()
          Deprecated. Clones this DynAny object.
 DynAny sample code for org.omg.CORBA.DynAny definition code for org.omg.CORBA.DynAny current_component sample code for org.omg.CORBA.DynAny.current_component() definition code for org.omg.CORBA.DynAny.current_component() ()
          Deprecated. Returns a DynAny object reference that can be used to get/set the value of the component currently accessed.
 void destroy sample code for org.omg.CORBA.DynAny.destroy() definition code for org.omg.CORBA.DynAny.destroy() ()
          Deprecated. Destroys this DynAny object and frees any resources used to represent the data value associated with it.
 void from_any sample code for org.omg.CORBA.DynAny.from_any(org.omg.CORBA.Any) definition code for org.omg.CORBA.DynAny.from_any(org.omg.CORBA.Any) (Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any  value)
          Deprecated. Make a DynAny object from an Any object.
 Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any get_any sample code for org.omg.CORBA.DynAny.get_any() definition code for org.omg.CORBA.DynAny.get_any() ()
          Deprecated. Retrieves the org.omg.CORBA.Any contained in this DynAny object.
 boolean get_boolean sample code for org.omg.CORBA.DynAny.get_boolean() definition code for org.omg.CORBA.DynAny.get_boolean() ()
          Deprecated. Retrieves the boolean contained in this DynAny object.
 char get_char sample code for org.omg.CORBA.DynAny.get_char() definition code for org.omg.CORBA.DynAny.get_char() ()
          Deprecated. Retrieves the char contained in this DynAny object.
 double get_double sample code for org.omg.CORBA.DynAny.get_double() definition code for org.omg.CORBA.DynAny.get_double() ()
          Deprecated. Retrieves the double contained in this DynAny object.
 float get_float sample code for org.omg.CORBA.DynAny.get_float() definition code for org.omg.CORBA.DynAny.get_float() ()
          Deprecated. Retrieves the float contained in this DynAny object.
 int get_long sample code for org.omg.CORBA.DynAny.get_long() definition code for org.omg.CORBA.DynAny.get_long() ()
          Deprecated. Retrieves the int contained in this DynAny object.
 long get_longlong sample code for org.omg.CORBA.DynAny.get_longlong() definition code for org.omg.CORBA.DynAny.get_longlong() ()
          Deprecated. Retrieves the long contained in this DynAny object.
 byte get_octet sample code for org.omg.CORBA.DynAny.get_octet() definition code for org.omg.CORBA.DynAny.get_octet() ()
          Deprecated. Retrieves the byte contained in this DynAny object.
 Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object get_reference sample code for org.omg.CORBA.DynAny.get_reference() definition code for org.omg.CORBA.DynAny.get_reference() ()
          Deprecated. Retrieves the org.omg.CORBA.Other contained in this DynAny object.
 short get_short sample code for org.omg.CORBA.DynAny.get_short() definition code for org.omg.CORBA.DynAny.get_short() ()
          Deprecated. Retrieves the short contained in this DynAny object.
 String sample code for java.lang.String definition code for java.lang.String get_string sample code for org.omg.CORBA.DynAny.get_string() definition code for org.omg.CORBA.DynAny.get_string() ()
          Deprecated. Retrieves the String contained in this DynAny object.
 TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode get_typecode sample code for org.omg.CORBA.DynAny.get_typecode() definition code for org.omg.CORBA.DynAny.get_typecode() ()
          Deprecated. Retrieves the org.omg.CORBA.TypeCode contained in this DynAny object.
 int get_ulong sample code for org.omg.CORBA.DynAny.get_ulong() definition code for org.omg.CORBA.DynAny.get_ulong() ()
          Deprecated. Retrieves the int contained in this DynAny object.
 long get_ulonglong sample code for org.omg.CORBA.DynAny.get_ulonglong() definition code for org.omg.CORBA.DynAny.get_ulonglong() ()
          Deprecated. Retrieves the long contained in this DynAny object.
 short get_ushort sample code for org.omg.CORBA.DynAny.get_ushort() definition code for org.omg.CORBA.DynAny.get_ushort() ()
          Deprecated. Retrieves the short contained in this DynAny object.
 Serializable sample code for java.io.Serializable definition code for java.io.Serializable get_val sample code for org.omg.CORBA.DynAny.get_val() definition code for org.omg.CORBA.DynAny.get_val() ()
          Deprecated. Retrieves the java.io.Serializable object contained in this DynAny object.
 char get_wchar sample code for org.omg.CORBA.DynAny.get_wchar() definition code for org.omg.CORBA.DynAny.get_wchar() ()
          Deprecated. Retrieves the char contained in this DynAny object.
 String sample code for java.lang.String definition code for java.lang.String get_wstring sample code for org.omg.CORBA.DynAny.get_wstring() definition code for org.omg.CORBA.DynAny.get_wstring() ()
          Deprecated. Retrieves the String contained in this DynAny object.
 void insert_any sample code for org.omg.CORBA.DynAny.insert_any(org.omg.CORBA.Any) definition code for org.omg.CORBA.DynAny.insert_any(org.omg.CORBA.Any) (Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any  value)
          Deprecated. Inserts the given org.omg.CORBA.Any object as the value for this DynAny object.
 void insert_boolean sample code for org.omg.CORBA.DynAny.insert_boolean(boolean) definition code for org.omg.CORBA.DynAny.insert_boolean(boolean) (boolean value)
          Deprecated. Inserts the given boolean as the value for this DynAny object.
 void insert_char sample code for org.omg.CORBA.DynAny.insert_char(char) definition code for org.omg.CORBA.DynAny.insert_char(char) (char value)
          Deprecated. Inserts the given char as the value for this DynAny object.
 void insert_double sample code for org.omg.CORBA.DynAny.insert_double(double) definition code for org.omg.CORBA.DynAny.insert_double(double) (double value)
          Deprecated. Inserts the given double as the value for this DynAny object.
 void insert_float sample code for org.omg.CORBA.DynAny.insert_float(float) definition code for org.omg.CORBA.DynAny.insert_float(float) (float value)
          Deprecated. Inserts the given float as the value for this DynAny object.
 void insert_long sample code for org.omg.CORBA.DynAny.insert_long(int) definition code for org.omg.CORBA.DynAny.insert_long(int) (int value)
          Deprecated. Inserts the given int as the value for this DynAny object.
 void insert_longlong sample code for org.omg.CORBA.DynAny.insert_longlong(long) definition code for org.omg.CORBA.DynAny.insert_longlong(long) (long value)
          Deprecated. Inserts the given long as the value for this DynAny object.
 void insert_octet sample code for org.omg.CORBA.DynAny.insert_octet(byte) definition code for org.omg.CORBA.DynAny.insert_octet(byte) (byte value)
          Deprecated. Inserts the given byte as the value for this DynAny object.
 void insert_reference sample code for org.omg.CORBA.DynAny.insert_reference(org.omg.CORBA.Object) definition code for org.omg.CORBA.DynAny.insert_reference(org.omg.CORBA.Object) (Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object  value)
          Deprecated. Inserts the given org.omg.CORBA.Object as the value for this DynAny object.
 void insert_short sample code for org.omg.CORBA.DynAny.insert_short(short) definition code for org.omg.CORBA.DynAny.insert_short(short) (short value)
          Deprecated. Inserts the given short as the value for this DynAny object.
 void insert_string sample code for org.omg.CORBA.DynAny.insert_string(java.lang.String) definition code for org.omg.CORBA.DynAny.insert_string(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  value)
          Deprecated. Inserts the given String object as the value for this DynAny object.
 void insert_typecode sample code for org.omg.CORBA.DynAny.insert_typecode(org.omg.CORBA.TypeCode) definition code for org.omg.CORBA.DynAny.insert_typecode(org.omg.CORBA.TypeCode) (TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode  value)
          Deprecated. Inserts the given org.omg.CORBA.TypeCode as the value for this DynAny object.
 void insert_ulong sample code for org.omg.CORBA.DynAny.insert_ulong(int) definition code for org.omg.CORBA.DynAny.insert_ulong(int) (int value)
          Deprecated. Inserts the given int as the value for this DynAny object.
 void insert_ulonglong sample code for org.omg.CORBA.DynAny.insert_ulonglong(long) definition code for org.omg.CORBA.DynAny.insert_ulonglong(long) (long value)
          Deprecated. Inserts the given long as the value for this DynAny object.
 void insert_ushort sample code for org.omg.CORBA.DynAny.insert_ushort(short) definition code for org.omg.CORBA.DynAny.insert_ushort(short) (short value)
          Deprecated. Inserts the given short as the value for this DynAny object.
 void insert_val sample code for org.omg.CORBA.DynAny.insert_val(java.io.Serializable) definition code for org.omg.CORBA.DynAny.insert_val(java.io.Serializable) (Serializable sample code for java.io.Serializable definition code for java.io.Serializable  value)
          Deprecated. Inserts the given java.io.Serializable object as the value for this DynAny object.
 void insert_wchar sample code for org.omg.CORBA.DynAny.insert_wchar(char) definition code for org.omg.CORBA.DynAny.insert_wchar(char) (char value)
          Deprecated. Inserts the given char as the value for this DynAny object.
 void insert_wstring sample code for org.omg.CORBA.DynAny.insert_wstring(java.lang.String) definition code for org.omg.CORBA.DynAny.insert_wstring(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  value)
          Deprecated. Inserts the given String as the value for this DynAny object.
 boolean next sample code for org.omg.CORBA.DynAny.next() definition code for org.omg.CORBA.DynAny.next() ()
          Deprecated. Moves to the next component of this DynAny object.
 void rewind sample code for org.omg.CORBA.DynAny.rewind() definition code for org.omg.CORBA.DynAny.rewind() ()
          Deprecated. Moves the internal pointer to the first component.
 boolean seek sample code for org.omg.CORBA.DynAny.seek(int) definition code for org.omg.CORBA.DynAny.seek(int) (int index)
          Deprecated. Moves the internal pointer to the given index.
 Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any to_any sample code for org.omg.CORBA.DynAny.to_any() definition code for org.omg.CORBA.DynAny.to_any() ()
          Deprecated. Convert a DynAny object to an Any object.
 TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode type sample code for org.omg.CORBA.DynAny.type() definition code for org.omg.CORBA.DynAny.type() ()
          Deprecated. Returns the TypeCode of the object inserted into this DynAny.
 
Methods inherited from interface org.omg.CORBA.Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object
_create_request sample code for org.omg.CORBA.Object._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue) definition code for org.omg.CORBA.Object._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue) , _create_request sample code for org.omg.CORBA.Object._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList) definition code for org.omg.CORBA.Object._create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList) , _duplicate sample code for org.omg.CORBA.Object._duplicate() definition code for org.omg.CORBA.Object._duplicate() , _get_domain_managers sample code for org.omg.CORBA.Object._get_domain_managers() definition code for org.omg.CORBA.Object._get_domain_managers() , _get_interface_def sample code for org.omg.CORBA.Object._get_interface_def() definition code for org.omg.CORBA.Object._get_interface_def() , _get_policy sample code for org.omg.CORBA.Object._get_policy(int) definition code for org.omg.CORBA.Object._get_policy(int) , _hash sample code for org.omg.CORBA.Object._hash(int) definition code for org.omg.CORBA.Object._hash(int) , _is_a sample code for org.omg.CORBA.Object._is_a(java.lang.String) definition code for org.omg.CORBA.Object._is_a(java.lang.String) , _is_equivalent sample code for org.omg.CORBA.Object._is_equivalent(org.omg.CORBA.Object) definition code for org.omg.CORBA.Object._is_equivalent(org.omg.CORBA.Object) , _non_existent sample code for org.omg.CORBA.Object._non_existent() definition code for org.omg.CORBA.Object._non_existent() , _release sample code for org.omg.CORBA.Object._release() definition code for org.omg.CORBA.Object._release() , _request sample code for org.omg.CORBA.Object._request(java.lang.String) definition code for org.omg.CORBA.Object._request(java.lang.String) , _set_policy_override sample code for org.omg.CORBA.Object._set_policy_override(org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType) definition code for org.omg.CORBA.Object._set_policy_override(org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType)
 

Method Detail

type sample code for org.omg.CORBA.DynAny.type() definition code for org.omg.CORBA.DynAny.type()

TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode  type()
Deprecated. 
Returns the TypeCode of the object inserted into this DynAny.

Returns:
the TypeCode object.

assign sample code for org.omg.CORBA.DynAny.assign(org.omg.CORBA.DynAny) definition code for org.omg.CORBA.DynAny.assign(org.omg.CORBA.DynAny)

void assign(DynAny sample code for org.omg.CORBA.DynAny definition code for org.omg.CORBA.DynAny  dyn_any)
            throws Invalid sample code for org.omg.CORBA.DynAnyPackage.Invalid definition code for org.omg.CORBA.DynAnyPackage.Invalid 
Deprecated. 
Copy the contents from one Dynamic Any into another.

Parameters:
dyn_any - the DynAny object whose contents are assigned to this DynAny.
Throws:
Invalid - if the source DynAny is invalid

from_any sample code for org.omg.CORBA.DynAny.from_any(org.omg.CORBA.Any) definition code for org.omg.CORBA.DynAny.from_any(org.omg.CORBA.Any)

void from_any(Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any  value)
              throws Invalid sample code for org.omg.CORBA.DynAnyPackage.Invalid definition code for org.omg.CORBA.DynAnyPackage.Invalid 
Deprecated. 
Make a DynAny object from an Any object.

Parameters:
value - the Any object.
Throws:
Invalid - if the source Any object is empty or bad

to_any sample code for org.omg.CORBA.DynAny.to_any() definition code for org.omg.CORBA.DynAny.to_any()

Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any  to_any()
           throws Invalid sample code for org.omg.CORBA.DynAnyPackage.Invalid definition code for org.omg.CORBA.DynAnyPackage.Invalid 
Deprecated. 
Convert a DynAny object to an Any object.

Returns:
the Any object.
Throws:
Invalid - if this DynAny is empty or bad. created or does not contain a meaningful value

destroy sample code for org.omg.CORBA.DynAny.destroy() definition code for org.omg.CORBA.DynAny.destroy()

void destroy()
Deprecated. 
Destroys this DynAny object and frees any resources used to represent the data value associated with it. This method also destroys all DynAny objects obtained from it.

Destruction of DynAny objects should be handled with care, taking into account issues dealing with the representation of data values associated with DynAny objects. A programmer who wants to destroy a DynAny object but still be able to manipulate some component of the data value associated with it, should first create a DynAny object for the component and then make a copy of the created DynAny object.


copy sample code for org.omg.CORBA.DynAny.copy() definition code for org.omg.CORBA.DynAny.copy()

DynAny sample code for org.omg.CORBA.DynAny definition code for org.omg.CORBA.DynAny  copy()
Deprecated. 
Clones this DynAny object.

Returns:
a copy of this DynAny object

insert_boolean sample code for org.omg.CORBA.DynAny.insert_boolean(boolean) definition code for org.omg.CORBA.DynAny.insert_boolean(boolean)

void insert_boolean(boolean value)
                    throws InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue 
Deprecated. 
Inserts the given boolean as the value for this DynAny object.

If this method is called on a constructed DynAny object, it initializes the next component of the constructed data value associated with this DynAny object.

Parameters:
value - the boolean to insert into this DynAny object
Throws:
InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue - if the value inserted is not consistent with the type of the accessed component in this DynAny object

insert_octet sample code for org.omg.CORBA.DynAny.insert_octet(byte) definition code for org.omg.CORBA.DynAny.insert_octet(byte)

void insert_octet(byte value)
                  throws InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue 
Deprecated. 
Inserts the given byte as the value for this DynAny object.

If this method is called on a constructed DynAny object, it initializes the next component of the constructed data value associated with this DynAny object.

Parameters:
value - the byte to insert into this DynAny object
Throws:
InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue - if the value inserted is not consistent with the type of the accessed component in this DynAny object

insert_char sample code for org.omg.CORBA.DynAny.insert_char(char) definition code for org.omg.CORBA.DynAny.insert_char(char)

void insert_char(char value)
                 throws InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue 
Deprecated. 
Inserts the given char as the value for this DynAny object.

If this method is called on a constructed DynAny object, it initializes the next component of the constructed data value associated with this DynAny object.

Parameters:
value - the char to insert into this DynAny object
Throws:
InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue - if the value inserted is not consistent with the type of the accessed component in this DynAny object

insert_short sample code for org.omg.CORBA.DynAny.insert_short(short) definition code for org.omg.CORBA.DynAny.insert_short(short)

void insert_short(short value)
                  throws InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue 
Deprecated. 
Inserts the given short as the value for this DynAny object.

If this method is called on a constructed DynAny object, it initializes the next component of the constructed data value associated with this DynAny object.

Parameters:
value - the short to insert into this DynAny object
Throws:
InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue - if the value inserted is not consistent with the type of the accessed component in this DynAny object

insert_ushort sample code for org.omg.CORBA.DynAny.insert_ushort(short) definition code for org.omg.CORBA.DynAny.insert_ushort(short)

void insert_ushort(short value)
                   throws InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue 
Deprecated. 
Inserts the given short as the value for this DynAny object.

If this method is called on a constructed DynAny object, it initializes the next component of the constructed data value associated with this DynAny object.

Parameters:
value - the short to insert into this DynAny object
Throws:
InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue - if the value inserted is not consistent with the type of the accessed component in this DynAny object

insert_long sample code for org.omg.CORBA.DynAny.insert_long(int) definition code for org.omg.CORBA.DynAny.insert_long(int)

void insert_long(int value)
                 throws InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue 
Deprecated. 
Inserts the given int as the value for this DynAny object.

If this method is called on a constructed DynAny object, it initializes the next component of the constructed data value associated with this DynAny object.

Parameters:
value - the int to insert into this DynAny object
Throws:
InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue - if the value inserted is not consistent with the type of the accessed component in this DynAny object

insert_ulong sample code for org.omg.CORBA.DynAny.insert_ulong(int) definition code for org.omg.CORBA.DynAny.insert_ulong(int)

void insert_ulong(int value)
                  throws InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue 
Deprecated. 
Inserts the given int as the value for this DynAny object.

If this method is called on a constructed DynAny object, it initializes the next component of the constructed data value associated with this DynAny object.

Parameters:
value - the int to insert into this DynAny object
Throws:
InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue - if the value inserted is not consistent with the type of the accessed component in this DynAny object

insert_float sample code for org.omg.CORBA.DynAny.insert_float(float) definition code for org.omg.CORBA.DynAny.insert_float(float)

void insert_float(float value)
                  throws InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue 
Deprecated. 
Inserts the given float as the value for this DynAny object.

If this method is called on a constructed DynAny object, it initializes the next component of the constructed data value associated with this DynAny object.

Parameters:
value - the float to insert into this DynAny object
Throws:
InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue - if the value inserted is not consistent with the type of the accessed component in this DynAny object

insert_double sample code for org.omg.CORBA.DynAny.insert_double(double) definition code for org.omg.CORBA.DynAny.insert_double(double)

void insert_double(double value)
                   throws InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue 
Deprecated. 
Inserts the given double as the value for this DynAny object.

If this method is called on a constructed DynAny object, it initializes the next component of the constructed data value associated with this DynAny object.

Parameters:
value - the double to insert into this DynAny object
Throws:
InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue - if the value inserted is not consistent with the type of the accessed component in this DynAny object

insert_string sample code for org.omg.CORBA.DynAny.insert_string(java.lang.String) definition code for org.omg.CORBA.DynAny.insert_string(java.lang.String)

void insert_string(String sample code for java.lang.String definition code for java.lang.String  value)
                   throws InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue 
Deprecated. 
Inserts the given String object as the value for this DynAny object.

If this method is called on a constructed DynAny object, it initializes the next component of the constructed data value associated with this DynAny object.

Parameters:
value - the String to insert into this DynAny object
Throws:
InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue - if the value inserted is not consistent with the type of the accessed component in this DynAny object

insert_reference sample code for org.omg.CORBA.DynAny.insert_reference(org.omg.CORBA.Object) definition code for org.omg.CORBA.DynAny.insert_reference(org.omg.CORBA.Object)

void insert_reference(Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object  value)
                      throws InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue 
Deprecated. 
Inserts the given org.omg.CORBA.Object as the value for this DynAny object.

If this method is called on a constructed DynAny object, it initializes the next component of the constructed data value associated with this DynAny object.

Parameters:
value - the org.omg.CORBA.Object to insert into this DynAny object
Throws:
InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue - if the value inserted is not consistent with the type of the accessed component in this DynAny object

insert_typecode sample code for org.omg.CORBA.DynAny.insert_typecode(org.omg.CORBA.TypeCode) definition code for org.omg.CORBA.DynAny.insert_typecode(org.omg.CORBA.TypeCode)

void insert_typecode(TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode  value)
                     throws InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue 
Deprecated. 
Inserts the given org.omg.CORBA.TypeCode as the value for this DynAny object.

If this method is called on a constructed DynAny object, it initializes the next component of the constructed data value associated with this DynAny object.

Parameters:
value - the org.omg.CORBA.TypeCode to insert into this DynAny object
Throws:
InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue - if the value inserted is not consistent with the type of the accessed component in this DynAny object

insert_longlong sample code for org.omg.CORBA.DynAny.insert_longlong(long) definition code for org.omg.CORBA.DynAny.insert_longlong(long)

void insert_longlong(long value)
                     throws InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue 
Deprecated. 
Inserts the given long as the value for this DynAny object.

If this method is called on a constructed DynAny object, it initializes the next component of the constructed data value associated with this DynAny object.

Parameters:
value - the long to insert into this DynAny object
Throws:
InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue - if the value inserted is not consistent with the type of the accessed component in this DynAny object

insert_ulonglong sample code for org.omg.CORBA.DynAny.insert_ulonglong(long) definition code for org.omg.CORBA.DynAny.insert_ulonglong(long)

void insert_ulonglong(long value)
                      throws InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue 
Deprecated. 
Inserts the given long as the value for this DynAny object.

If this method is called on a constructed DynAny object, it initializes the next component of the constructed data value associated with this DynAny object.

Parameters:
value - the long to insert into this DynAny object
Throws:
InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue - if the value inserted is not consistent with the type of the accessed component in this DynAny object

insert_wchar sample code for org.omg.CORBA.DynAny.insert_wchar(char) definition code for org.omg.CORBA.DynAny.insert_wchar(char)

void insert_wchar(char value)
                  throws InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue 
Deprecated. 
Inserts the given char as the value for this DynAny object.

If this method is called on a constructed DynAny object, it initializes the next component of the constructed data value associated with this DynAny object.

Parameters:
value - the char to insert into this DynAny object
Throws:
InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue - if the value inserted is not consistent with the type of the accessed component in this DynAny object

insert_wstring sample code for org.omg.CORBA.DynAny.insert_wstring(java.lang.String) definition code for org.omg.CORBA.DynAny.insert_wstring(java.lang.String)

void insert_wstring(String sample code for java.lang.String definition code for java.lang.String  value)
                    throws InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue 
Deprecated. 
Inserts the given String as the value for this DynAny object.

If this method is called on a constructed DynAny object, it initializes the next component of the constructed data value associated with this DynAny object.

Parameters:
value - the String to insert into this DynAny object
Throws:
InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue - if the value inserted is not consistent with the type of the accessed component in this DynAny object

insert_any sample code for org.omg.CORBA.DynAny.insert_any(org.omg.CORBA.Any) definition code for org.omg.CORBA.DynAny.insert_any(org.omg.CORBA.Any)

void insert_any(Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any  value)
                throws InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue 
Deprecated. 
Inserts the given org.omg.CORBA.Any object as the value for this DynAny object.

If this method is called on a constructed DynAny object, it initializes the next component of the constructed data value associated with this DynAny object.

Parameters:
value - the org.omg.CORBA.Any object to insert into this DynAny object
Throws:
InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue - if the value inserted is not consistent with the type of the accessed component in this DynAny object

insert_val sample code for org.omg.CORBA.DynAny.insert_val(java.io.Serializable) definition code for org.omg.CORBA.DynAny.insert_val(java.io.Serializable)

void insert_val(Serializable sample code for java.io.Serializable definition code for java.io.Serializable  value)
                throws InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue 
Deprecated. 
Inserts the given java.io.Serializable object as the value for this DynAny object.

If this method is called on a constructed DynAny object, it initializes the next component of the constructed data value associated with this DynAny object.

Parameters:
value - the java.io.Serializable object to insert into this DynAny object
Throws:
InvalidValue sample code for org.omg.CORBA.DynAnyPackage.InvalidValue definition code for org.omg.CORBA.DynAnyPackage.InvalidValue - if the value inserted is not consistent with the type of the accessed component in this DynAny object

get_val sample code for org.omg.CORBA.DynAny.get_val() definition code for org.omg.CORBA.DynAny.get_val()

Serializable sample code for java.io.Serializable definition code for java.io.Serializable  get_val()
                     throws TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch 
Deprecated. 
Retrieves the java.io.Serializable object contained in this DynAny object.

Returns:
the java.io.Serializable object that is the value for this DynAny object
Throws:
TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch - if the type code of the accessed component in this DynAny object is not equivalent to the type code for a java.io.Serializable object

get_boolean sample code for org.omg.CORBA.DynAny.get_boolean() definition code for org.omg.CORBA.DynAny.get_boolean()

boolean get_boolean()
                    throws TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch 
Deprecated. 
Retrieves the boolean contained in this DynAny object.

Returns:
the boolean that is the value for this DynAny object
Throws:
TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch - if the type code of the accessed component in this DynAny object is not equivalent to the type code for a boolean

get_octet sample code for org.omg.CORBA.DynAny.get_octet() definition code for org.omg.CORBA.DynAny.get_octet()

byte get_octet()
               throws TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch 
Deprecated. 
Retrieves the byte contained in this DynAny object.

Returns:
the byte that is the value for this DynAny object
Throws:
TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch - if the type code of the accessed component in this DynAny object is not equivalent to the type code for a byte

get_char sample code for org.omg.CORBA.DynAny.get_char() definition code for org.omg.CORBA.DynAny.get_char()

char get_char()
              throws TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch 
Deprecated. 
Retrieves the char contained in this DynAny object.

Returns:
the char that is the value for this DynAny object
Throws:
TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch - if the type code of the accessed component in this DynAny object is not equivalent to the type code for a char

get_short sample code for org.omg.CORBA.DynAny.get_short() definition code for org.omg.CORBA.DynAny.get_short()

short get_short()
                throws TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch 
Deprecated. 
Retrieves the short contained in this DynAny object.

Returns:
the short that is the value for this DynAny object
Throws:
TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch - if the type code of the accessed component in this DynAny object is not equivalent to the type code for a short

get_ushort sample code for org.omg.CORBA.DynAny.get_ushort() definition code for org.omg.CORBA.DynAny.get_ushort()

short get_ushort()
                 throws TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch 
Deprecated. 
Retrieves the short contained in this DynAny object.

Returns:
the short that is the value for this DynAny object
Throws:
TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch - if the type code of the accessed component in this DynAny object is not equivalent to the type code for a short

get_long sample code for org.omg.CORBA.DynAny.get_long() definition code for org.omg.CORBA.DynAny.get_long()

int get_long()
             throws TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch 
Deprecated. 
Retrieves the int contained in this DynAny object.

Returns:
the int that is the value for this DynAny object
Throws:
TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch - if the type code of the accessed component in this DynAny object is not equivalent to the type code for a int

get_ulong sample code for org.omg.CORBA.DynAny.get_ulong() definition code for org.omg.CORBA.DynAny.get_ulong()

int get_ulong()
              throws TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch 
Deprecated. 
Retrieves the int contained in this DynAny object.

Returns:
the int that is the value for this DynAny object
Throws:
TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch - if the type code of the accessed component in this DynAny object is not equivalent to the type code for a int

get_float sample code for org.omg.CORBA.DynAny.get_float() definition code for org.omg.CORBA.DynAny.get_float()

float get_float()
                throws TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch 
Deprecated. 
Retrieves the float contained in this DynAny object.

Returns:
the float that is the value for this DynAny object
Throws:
TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch - if the type code of the accessed component in this DynAny object is not equivalent to the type code for a float

get_double sample code for org.omg.CORBA.DynAny.get_double() definition code for org.omg.CORBA.DynAny.get_double()

double get_double()
                  throws TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch 
Deprecated. 
Retrieves the double contained in this DynAny object.

Returns:
the double that is the value for this DynAny object
Throws:
TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch - if the type code of the accessed component in this DynAny object is not equivalent to the type code for a double

get_string sample code for org.omg.CORBA.DynAny.get_string() definition code for org.omg.CORBA.DynAny.get_string()

String sample code for java.lang.String definition code for java.lang.String  get_string()
                  throws TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch 
Deprecated. 
Retrieves the String contained in this DynAny object.

Returns:
the String that is the value for this DynAny object
Throws:
TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch - if the type code of the accessed component in this DynAny object is not equivalent to the type code for a String

get_reference sample code for org.omg.CORBA.DynAny.get_reference() definition code for org.omg.CORBA.DynAny.get_reference()

Object sample code for org.omg.CORBA.Object definition code for org.omg.CORBA.Object  get_reference()
                     throws TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch 
Deprecated. 
Retrieves the org.omg.CORBA.Other contained in this DynAny object.

Returns:
the org.omg.CORBA.Other that is the value for this DynAny object
Throws:
TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch - if the type code of the accessed component in this DynAny object is not equivalent to the type code for an org.omg.CORBA.Other

get_typecode sample code for org.omg.CORBA.DynAny.get_typecode() definition code for org.omg.CORBA.DynAny.get_typecode()

TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode  get_typecode()
                      throws TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch 
Deprecated. 
Retrieves the org.omg.CORBA.TypeCode contained in this DynAny object.

Returns:
the org.omg.CORBA.TypeCode that is the value for this DynAny object
Throws:
TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch - if the type code of the accessed component in this DynAny object is not equivalent to the type code for a org.omg.CORBA.TypeCode

get_longlong sample code for org.omg.CORBA.DynAny.get_longlong() definition code for org.omg.CORBA.DynAny.get_longlong()

long get_longlong()
                  throws TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch 
Deprecated. 
Retrieves the long contained in this DynAny object.

Returns:
the long that is the value for this DynAny object
Throws:
TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch - if the type code of the accessed component in this DynAny object is not equivalent to the type code for a long

get_ulonglong sample code for org.omg.CORBA.DynAny.get_ulonglong() definition code for org.omg.CORBA.DynAny.get_ulonglong()

long get_ulonglong()
                   throws TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch 
Deprecated. 
Retrieves the long contained in this DynAny object.

Returns:
the long that is the value for this DynAny object
Throws:
TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch - if the type code of the accessed component in this DynAny object is not equivalent to the type code for a long

get_wchar sample code for org.omg.CORBA.DynAny.get_wchar() definition code for org.omg.CORBA.DynAny.get_wchar()

char get_wchar()
               throws TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch 
Deprecated. 
Retrieves the char contained in this DynAny object.

Returns:
the char that is the value for this DynAny object
Throws:
TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch - if the type code of the accessed component in this DynAny object is not equivalent to the type code for a char

get_wstring sample code for org.omg.CORBA.DynAny.get_wstring() definition code for org.omg.CORBA.DynAny.get_wstring()

String sample code for java.lang.String definition code for java.lang.String  get_wstring()
                   throws TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch 
Deprecated. 
Retrieves the String contained in this DynAny object.

Returns:
the String that is the value for this DynAny object
Throws:
TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch - if the type code of the accessed component in this DynAny object is not equivalent to the type code for a String

get_any sample code for org.omg.CORBA.DynAny.get_any() definition code for org.omg.CORBA.DynAny.get_any()

Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any  get_any()
            throws TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch 
Deprecated. 
Retrieves the org.omg.CORBA.Any contained in this DynAny object.

Returns:
the org.omg.CORBA.Any that is the value for this DynAny object
Throws:
TypeMismatch sample code for org.omg.CORBA.DynAnyPackage.TypeMismatch definition code for org.omg.CORBA.DynAnyPackage.TypeMismatch - if the type code of the accessed component in this DynAny object is not equivalent to the type code for an org.omg.CORBA.Any

current_component sample code for org.omg.CORBA.DynAny.current_component() definition code for org.omg.CORBA.DynAny.current_component()

DynAny sample code for org.omg.CORBA.DynAny definition code for org.omg.CORBA.DynAny  current_component()
Deprecated. 
Returns a DynAny object reference that can be used to get/set the value of the component currently accessed. The appropriate insert method can be called on the resulting DynAny object to initialize the component. The appropriate get method can be called on the resulting DynAny object to extract the value of the component.

Returns:
a DynAny object reference that can be used to retrieve or set the value of the component currently accessed

next sample code for org.omg.CORBA.DynAny.next() definition code for org.omg.CORBA.DynAny.next()

boolean next()
Deprecated. 
Moves to the next component of this DynAny object. This method is used for iterating through the components of a constructed type, effectively moving a pointer from one component to the next. The pointer starts out on the first component when a DynAny object is created.

Returns:
true if the pointer points to a component; false if there are no more components or this DynAny is associated with a basic type rather than a constructed type

seek sample code for org.omg.CORBA.DynAny.seek(int) definition code for org.omg.CORBA.DynAny.seek(int)

boolean seek(int index)
Deprecated. 
Moves the internal pointer to the given index. Logically, this method sets a new offset for this pointer.

Parameters:
index - an int indicating the position to which the pointer should move. The first position is 0.
Returns:
true if the pointer points to a component; false if there is no component at the designated index. If this DynAny object is associated with a basic type, this method returns false for any index other than 0.

rewind sample code for org.omg.CORBA.DynAny.rewind() definition code for org.omg.CORBA.DynAny.rewind()

void rewind()
Deprecated. 
Moves the internal pointer to the first component.