/** * Returns the elements of the DynArray. */ public org.omg.CORBA.Any[] get_elements () { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_elements", _opsClass); DynArrayOperations $self = (DynArrayOperations) $so.servant; try { return $self.get_elements (); } finally { _servant_postinvoke ($so); } } // get_elements
/** * Returns the elements of the DynArray as DynAnys. */ public org.omg.DynamicAny.DynAny[] get_elements_as_dyn_any () { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_elements_as_dyn_any", _opsClass); DynArrayOperations $self = (DynArrayOperations) $so.servant; try { return $self.get_elements_as_dyn_any (); } finally { _servant_postinvoke ($so); } } // get_elements_as_dyn_any
/** * Is equivalent to seek(0). */ public void rewind () { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("rewind", _opsClass); DynArrayOperations $self = (DynArrayOperations) $so.servant; try { $self.rewind (); } finally { _servant_postinvoke ($so); } } // rewind
/** * Inserts a short value into the DynAny. * * @exception InvalidValue if this DynAny has components but has a current position of -1 * @exception TypeMismatch if called on a DynAny whose current component itself has components */ public void insert_short (short value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_short", _opsClass); DynArrayOperations $self = (DynArrayOperations) $so.servant; try { $self.insert_short (value); } finally { _servant_postinvoke ($so); } } // insert_short
/** * Inserts a short value into the DynAny. The IDL ushort data type is mapped to the Java short data type. * * @exception InvalidValue if this DynAny has components but has a current position of -1 * @exception TypeMismatch if called on a DynAny whose current component itself has components */ public void insert_ushort (short value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_ushort", _opsClass); DynArrayOperations $self = (DynArrayOperations) $so.servant; try { $self.insert_ushort (value); } finally { _servant_postinvoke ($so); } } // insert_ushort
/** * Inserts a reference to a CORBA object into the DynAny. * * @exception InvalidValue if this DynAny has components but has a current position of -1 * @exception TypeMismatch if called on a DynAny whose current component itself has components */ public void insert_reference (org.omg.CORBA.Object value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_reference", _opsClass); DynArrayOperations $self = (DynArrayOperations) $so.servant; try { $self.insert_reference (value); } finally { _servant_postinvoke ($so); } } // insert_reference
/** * Creates a new DynAny object whose value is a deep copy of the DynAny on which it is invoked. * The operation is polymorphic, that is, invoking it on one of the types derived from DynAny, * such as DynStruct, creates the derived type but returns its reference as the DynAny base type. * * @return a deep copy of the DynAny object */ public org.omg.DynamicAny.DynAny copy () { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("copy", _opsClass); DynArrayOperations $self = (DynArrayOperations) $so.servant; try { return $self.copy (); } finally { _servant_postinvoke ($so); } } // copy
/** * Inserts a long value into the DynAny. * The IDL unsigned long long data type is mapped to the Java long data type. * * @exception InvalidValue if this DynAny has components but has a current position of -1 * @exception TypeMismatch if called on a DynAny whose current component itself has components */ public void insert_ulonglong (long value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_ulonglong", _opsClass); DynArrayOperations $self = (DynArrayOperations) $so.servant; try { $self.insert_ulonglong (value); } finally { _servant_postinvoke ($so); } } // insert_ulonglong
/** * Sets the DynArray to contain the passed elements. * * @exception TypeMismatch if one or more elements have a type that is inconsistent with the DynArrays TypeCode * @exception InvalidValue if the sequence does not contain the same number of elements as the array dimension */ public void set_elements_as_dyn_any (org.omg.DynamicAny.DynAny[] value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("set_elements_as_dyn_any", _opsClass); DynArrayOperations $self = (DynArrayOperations) $so.servant; try { $self.set_elements_as_dyn_any (value); } finally { _servant_postinvoke ($so); } } // set_elements_as_dyn_any
/** * Inserts a boolean value into the DynAny. * * @exception InvalidValue if this DynAny has components but has a current position of -1 * @exception TypeMismatch if called on a DynAny whose current component itself has components */ public void insert_boolean (boolean value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_boolean", _opsClass); DynArrayOperations $self = (DynArrayOperations) $so.servant; try { $self.insert_boolean (value); } finally { _servant_postinvoke ($so); } } // insert_boolean
/** * Inserts an integer value into the DynAny. The IDL ulong data type is mapped to the Java int data type. * * @exception InvalidValue if this DynAny has components but has a current position of -1 * @exception TypeMismatch if called on a DynAny whose current component itself has components */ public void insert_ulong (int value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_ulong", _opsClass); DynArrayOperations $self = (DynArrayOperations) $so.servant; try { $self.insert_ulong (value); } finally { _servant_postinvoke ($so); } } // insert_ulong
/** * Inserts a char value into the DynAny. * * @exception InvalidValue if this DynAny has components but has a current position of -1 * @exception TypeMismatch if called on a DynAny whose current component itself has components */ public void insert_char (char value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_char", _opsClass); DynArrayOperations $self = (DynArrayOperations) $so.servant; try { $self.insert_char (value); } finally { _servant_postinvoke ($so); } } // insert_char
/** * Inserts an integer value into the DynAny. The IDL long data type is mapped to the Java int data type. * * @exception InvalidValue if this DynAny has components but has a current position of -1 * @exception TypeMismatch if called on a DynAny whose current component itself has components */ public void insert_long (int value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_long", _opsClass); DynArrayOperations $self = (DynArrayOperations) $so.servant; try { $self.insert_long (value); } finally { _servant_postinvoke ($so); } } // insert_long
/** * Inserts a float value into the DynAny. * * @exception InvalidValue if this DynAny has components but has a current position of -1 * @exception TypeMismatch if called on a DynAny whose current component itself has components */ public void insert_float (float value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_float", _opsClass); DynArrayOperations $self = (DynArrayOperations) $so.servant; try { $self.insert_float (value); } finally { _servant_postinvoke ($so); } } // insert_float
/** * Inserts a TypeCode object into the DynAny. * * @exception InvalidValue if this DynAny has components but has a current position of -1 * @exception TypeMismatch if called on a DynAny whose current component itself has components */ public void insert_typecode (org.omg.CORBA.TypeCode value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_typecode", _opsClass); DynArrayOperations $self = (DynArrayOperations) $so.servant; try { $self.insert_typecode (value); } finally { _servant_postinvoke ($so); } } // insert_typecode
/** * Inserts a long value into the DynAny. The IDL long long data type is mapped to the Java long data type. * * @exception InvalidValue if this DynAny has components but has a current position of -1 * @exception TypeMismatch if called on a DynAny whose current component itself has components */ public void insert_longlong (long value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_longlong", _opsClass); DynArrayOperations $self = (DynArrayOperations) $so.servant; try { $self.insert_longlong (value); } finally { _servant_postinvoke ($so); } } // insert_longlong
/** * Inserts a char value into the DynAny. The IDL wchar data type is mapped to the Java char data type. * * @exception InvalidValue if this DynAny has components but has a current position of -1 * @exception TypeMismatch if called on a DynAny whose current component itself has components */ public void insert_wchar (char value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_wchar", _opsClass); DynArrayOperations $self = (DynArrayOperations) $so.servant; try { $self.insert_wchar (value); } finally { _servant_postinvoke ($so); } } // insert_wchar
/** * Advances the current position to the next component. * The operation returns true while the resulting current position indicates a component, false otherwise. * A false return value leaves the current position at -1. * Invoking next on a DynAny without components leaves the current position at -1 and returns false. */ public boolean next () { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("next", _opsClass); DynArrayOperations $self = (DynArrayOperations) $so.servant; try { return $self.next (); } finally { _servant_postinvoke ($so); } } // next
/** * Inserts a byte value into the DynAny. The IDL octet data type is mapped to the Java byte data type. * * @exception InvalidValue if this DynAny has components but has a current position of -1 * @exception TypeMismatch if called on a DynAny whose current component itself has components */ public void insert_octet (byte value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_octet", _opsClass); DynArrayOperations $self = (DynArrayOperations) $so.servant; try { $self.insert_octet (value); } finally { _servant_postinvoke ($so); } } // insert_octet
/** * Inserts the Any value contained in the parameter DynAny into the Any represented by this DynAny. * * @exception InvalidValue if this DynAny has components but has a current position of -1 * @exception TypeMismatch if called on a DynAny whose current component itself has components */ public void insert_dyn_any (org.omg.DynamicAny.DynAny value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_dyn_any", _opsClass); DynArrayOperations $self = (DynArrayOperations) $so.servant; try { $self.insert_dyn_any (value); } finally { _servant_postinvoke ($so); } } // insert_dyn_any