@Deprecated public interface DynAny extends Object
| Modifier and Type | Method and Description | 
|---|---|
| void | assign(DynAny dyn_any)Deprecated.  Copy the contents from one Dynamic Any into another. | 
| DynAny | copy()Deprecated.  Clones this  DynAnyobject. | 
| DynAny | current_component()Deprecated.  Returns a  DynAnyobject reference that can
 be used to get/set the value of the component currently accessed. | 
| void | destroy()Deprecated.  Destroys this  DynAnyobject and frees any resources
 used to represent the data value associated with it. | 
| void | from_any(Any value)Deprecated.  Make a  DynAnyobject from anAnyobject. | 
| Any | get_any()Deprecated.  Retrieves the  org.omg.CORBA.Anycontained
 in thisDynAnyobject. | 
| boolean | get_boolean()Deprecated.  Retrieves the  booleancontained
 in thisDynAnyobject. | 
| char | get_char()Deprecated.  Retrieves the  charcontained
 in thisDynAnyobject. | 
| double | get_double()Deprecated.  Retrieves the  doublecontained
 in thisDynAnyobject. | 
| float | get_float()Deprecated.  Retrieves the  floatcontained
 in thisDynAnyobject. | 
| int | get_long()Deprecated.  Retrieves the  intcontained
 in thisDynAnyobject. | 
| long | get_longlong()Deprecated.  Retrieves the  longcontained
 in thisDynAnyobject. | 
| byte | get_octet()Deprecated.  Retrieves the  bytecontained
 in thisDynAnyobject. | 
| Object | get_reference()Deprecated.  Retrieves the  org.omg.CORBA.Othercontained
 in thisDynAnyobject. | 
| short | get_short()Deprecated.  Retrieves the  shortcontained
 in thisDynAnyobject. | 
| String | get_string()Deprecated.  Retrieves the  Stringcontained
 in thisDynAnyobject. | 
| TypeCode | get_typecode()Deprecated.  Retrieves the  org.omg.CORBA.TypeCodecontained
 in thisDynAnyobject. | 
| int | get_ulong()Deprecated.  Retrieves the  intcontained
 in thisDynAnyobject. | 
| long | get_ulonglong()Deprecated.  Retrieves the  longcontained
 in thisDynAnyobject. | 
| short | get_ushort()Deprecated.  Retrieves the  shortcontained
 in thisDynAnyobject. | 
| Serializable | get_val()Deprecated.  Retrieves the  java.io.Serializableobject contained
 in thisDynAnyobject. | 
| char | get_wchar()Deprecated.  Retrieves the  charcontained
 in thisDynAnyobject. | 
| String | get_wstring()Deprecated.  Retrieves the  Stringcontained
 in thisDynAnyobject. | 
| void | insert_any(Any value)Deprecated.  Inserts the given  org.omg.CORBA.Anyobject as the value for thisDynAnyobject. | 
| void | insert_boolean(boolean value)Deprecated.  Inserts the given  booleanas the value for thisDynAnyobject. | 
| void | insert_char(char value)Deprecated.  Inserts the given  charas the value for thisDynAnyobject. | 
| void | insert_double(double value)Deprecated.  Inserts the given  doubleas the value for thisDynAnyobject. | 
| void | insert_float(float value)Deprecated.  Inserts the given  floatas the value for thisDynAnyobject. | 
| void | insert_long(int value)Deprecated.  Inserts the given  intas the value for thisDynAnyobject. | 
| void | insert_longlong(long value)Deprecated.  Inserts the given  longas the value for thisDynAnyobject. | 
| void | insert_octet(byte value)Deprecated.  Inserts the given  byteas the value for thisDynAnyobject. | 
| void | insert_reference(Object value)Deprecated.  Inserts the given  org.omg.CORBA.Objectas the value for thisDynAnyobject. | 
| void | insert_short(short value)Deprecated.  Inserts the given  shortas the value for thisDynAnyobject. | 
| void | insert_string(String value)Deprecated.  Inserts the given  Stringobject as the value for thisDynAnyobject. | 
| void | insert_typecode(TypeCode value)Deprecated.  Inserts the given  org.omg.CORBA.TypeCodeas the value for thisDynAnyobject. | 
| void | insert_ulong(int value)Deprecated.  Inserts the given  intas the value for thisDynAnyobject. | 
| void | insert_ulonglong(long value)Deprecated.  Inserts the given  longas the value for thisDynAnyobject. | 
| void | insert_ushort(short value)Deprecated.  Inserts the given  shortas the value for thisDynAnyobject. | 
| void | insert_val(Serializable value)Deprecated.  Inserts the given  java.io.Serializableobject as the value for thisDynAnyobject. | 
| void | insert_wchar(char value)Deprecated.  Inserts the given  charas the value for thisDynAnyobject. | 
| void | insert_wstring(String value)Deprecated.  Inserts the given  Stringas the value for thisDynAnyobject. | 
| boolean | next()Deprecated.  Moves to the next component of this  DynAnyobject. | 
| void | rewind()Deprecated.  Moves the internal pointer to the first component. | 
| boolean | seek(int index)Deprecated.  Moves the internal pointer to the given index. | 
| Any | to_any()Deprecated.  Convert a  DynAnyobject to anAnyobject. | 
| TypeCode | type()Deprecated.  Returns the  TypeCodeof the object inserted into
 thisDynAny. | 
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_overrideTypeCode type()
TypeCode of the object inserted into
 this DynAny.TypeCode object.void assign(DynAny dyn_any) throws Invalid
dyn_any - the DynAny object whose contents
                are assigned to this DynAny.Invalid - if the source DynAny is
            invalidvoid from_any(Any value) throws Invalid
DynAny object from an Any
 object.value - the Any object.Invalid - if the source Any object is
                    empty or badAny to_any() throws Invalid
DynAny object to an Any
 object.Any object.Invalid - if this DynAny is empty or
                    bad.
            created or does not contain a meaningful valuevoid destroy()
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.
DynAny copy()
DynAny object.DynAny objectvoid insert_boolean(boolean value)
                    throws InvalidValue
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.
value - the boolean to insert into this
              DynAny objectInvalidValue - if the value inserted is not consistent with the type
            of the accessed component in this DynAny objectvoid insert_octet(byte value)
                  throws InvalidValue
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.
value - the byte to insert into this
              DynAny objectInvalidValue - if the value inserted is not consistent with the type
            of the accessed component in this DynAny objectvoid insert_char(char value)
                 throws InvalidValue
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.
value - the char to insert into this
              DynAny objectInvalidValue - if the value inserted is not consistent with the type
            of the accessed component in this DynAny objectvoid insert_short(short value)
                  throws InvalidValue
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.
value - the short to insert into this
              DynAny objectInvalidValue - if the value inserted is not consistent with the type
            of the accessed component in this DynAny objectvoid insert_ushort(short value)
                   throws InvalidValue
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.
value - the short to insert into this
              DynAny objectInvalidValue - if the value inserted is not consistent with the type
            of the accessed component in this DynAny objectvoid insert_long(int value)
                 throws InvalidValue
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.
value - the int to insert into this
              DynAny objectInvalidValue - if the value inserted is not consistent with the type
            of the accessed component in this DynAny objectvoid insert_ulong(int value)
                  throws InvalidValue
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.
value - the int to insert into this
              DynAny objectInvalidValue - if the value inserted is not consistent with the type
            of the accessed component in this DynAny objectvoid insert_float(float value)
                  throws InvalidValue
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.
value - the float to insert into this
              DynAny objectInvalidValue - if the value inserted is not consistent with the type
            of the accessed component in this DynAny objectvoid insert_double(double value)
                   throws InvalidValue
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.
value - the double to insert into this
              DynAny objectInvalidValue - if the value inserted is not consistent with the type
            of the accessed component in this DynAny objectvoid insert_string(String value) throws InvalidValue
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.
value - the String to insert into this
              DynAny objectInvalidValue - if the value inserted is not consistent with the type
            of the accessed component in this DynAny objectvoid insert_reference(Object value) throws InvalidValue
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.
value - the org.omg.CORBA.Object to insert into this
              DynAny objectInvalidValue - if the value inserted is not consistent with the type
            of the accessed component in this DynAny objectvoid insert_typecode(TypeCode value) throws InvalidValue
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.
value - the org.omg.CORBA.TypeCode to insert into this
              DynAny objectInvalidValue - if the value inserted is not consistent with the type
            of the accessed component in this DynAny objectvoid insert_longlong(long value)
                     throws InvalidValue
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.
value - the long to insert into this
              DynAny objectInvalidValue - if the value inserted is not consistent with the type
            of the accessed component in this DynAny objectvoid insert_ulonglong(long value)
                      throws InvalidValue
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.
value - the long to insert into this
              DynAny objectInvalidValue - if the value inserted is not consistent with the type
            of the accessed component in this DynAny objectvoid insert_wchar(char value)
                  throws InvalidValue
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.
value - the char to insert into this
              DynAny objectInvalidValue - if the value inserted is not consistent with the type
            of the accessed component in this DynAny objectvoid insert_wstring(String value) throws InvalidValue
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.
value - the String to insert into this
              DynAny objectInvalidValue - if the value inserted is not consistent with the type
            of the accessed component in this DynAny objectvoid insert_any(Any value) throws InvalidValue
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.
value - the org.omg.CORBA.Any object to insert into this
              DynAny objectInvalidValue - if the value inserted is not consistent with the type
            of the accessed component in this DynAny objectvoid insert_val(Serializable value) throws InvalidValue
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.
value - the java.io.Serializable object to insert into this
              DynAny objectInvalidValue - if the value inserted is not consistent with the type
            of the accessed component in this DynAny objectSerializable get_val() throws TypeMismatch
java.io.Serializable object contained
 in this DynAny object.java.io.Serializable object that is the
         value for this DynAny objectTypeMismatch - if the type code of the accessed component in this
               DynAny object is not equivalent to
               the type code for a java.io.Serializable objectboolean get_boolean()
                    throws TypeMismatch
boolean contained
 in this DynAny object.boolean that is the
         value for this DynAny objectTypeMismatch - if the type code of the accessed component in this
               DynAny object is not equivalent to
               the type code for a booleanbyte get_octet()
               throws TypeMismatch
byte contained
 in this DynAny object.byte that is the
         value for this DynAny objectTypeMismatch - if the type code of the accessed component in this
               DynAny object is not equivalent to
               the type code for a bytechar get_char()
              throws TypeMismatch
char contained
 in this DynAny object.char that is the
         value for this DynAny objectTypeMismatch - if the type code of the accessed component in this
               DynAny object is not equivalent to
               the type code for a charshort get_short()
                throws TypeMismatch
short contained
 in this DynAny object.short that is the
         value for this DynAny objectTypeMismatch - if the type code of the accessed component in this
               DynAny object is not equivalent to
               the type code for a shortshort get_ushort()
                 throws TypeMismatch
short contained
 in this DynAny object.short that is the
         value for this DynAny objectTypeMismatch - if the type code of the accessed component in this
               DynAny object is not equivalent to
               the type code for a shortint get_long()
             throws TypeMismatch
int contained
 in this DynAny object.int that is the
         value for this DynAny objectTypeMismatch - if the type code of the accessed component in this
               DynAny object is not equivalent to
               the type code for a intint get_ulong()
              throws TypeMismatch
int contained
 in this DynAny object.int that is the
         value for this DynAny objectTypeMismatch - if the type code of the accessed component in this
               DynAny object is not equivalent to
               the type code for a intfloat get_float()
                throws TypeMismatch
float contained
 in this DynAny object.float that is the
         value for this DynAny objectTypeMismatch - if the type code of the accessed component in this
               DynAny object is not equivalent to
               the type code for a floatdouble get_double()
                  throws TypeMismatch
double contained
 in this DynAny object.double that is the
         value for this DynAny objectTypeMismatch - if the type code of the accessed component in this
               DynAny object is not equivalent to
               the type code for a doubleString get_string() throws TypeMismatch
String contained
 in this DynAny object.String that is the
         value for this DynAny objectTypeMismatch - if the type code of the accessed component in this
               DynAny object is not equivalent to
               the type code for a StringObject get_reference() throws TypeMismatch
org.omg.CORBA.Other contained
 in this DynAny object.org.omg.CORBA.Other that is the
         value for this DynAny objectTypeMismatch - if the type code of the accessed component in this
               DynAny object is not equivalent to
               the type code for an org.omg.CORBA.OtherTypeCode get_typecode() throws TypeMismatch
org.omg.CORBA.TypeCode contained
 in this DynAny object.org.omg.CORBA.TypeCode that is the
         value for this DynAny objectTypeMismatch - if the type code of the accessed component in this
               DynAny object is not equivalent to
               the type code for a org.omg.CORBA.TypeCodelong get_longlong()
                  throws TypeMismatch
long contained
 in this DynAny object.long that is the
         value for this DynAny objectTypeMismatch - if the type code of the accessed component in this
               DynAny object is not equivalent to
               the type code for a longlong get_ulonglong()
                   throws TypeMismatch
long contained
 in this DynAny object.long that is the
         value for this DynAny objectTypeMismatch - if the type code of the accessed component in this
               DynAny object is not equivalent to
               the type code for a longchar get_wchar()
               throws TypeMismatch
char contained
 in this DynAny object.char that is the
         value for this DynAny objectTypeMismatch - if the type code of the accessed component in this
               DynAny object is not equivalent to
               the type code for a charString get_wstring() throws TypeMismatch
String contained
 in this DynAny object.String that is the
         value for this DynAny objectTypeMismatch - if the type code of the accessed component in this
               DynAny object is not equivalent to
               the type code for a StringAny get_any() throws TypeMismatch
org.omg.CORBA.Any contained
 in this DynAny object.org.omg.CORBA.Any that is the
         value for this DynAny objectTypeMismatch - if the type code of the accessed component in this
               DynAny object is not equivalent to
               the type code for an org.omg.CORBA.AnyDynAny current_component()
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.DynAny object reference that can be
         used to retrieve or set the value of the component currently
         accessedboolean next()
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.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 typeboolean seek(int index)
index - an int indicating the position to which
              the pointer should move.  The first position is 0.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.void rewind()
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates.  All rights reserved.