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 inser