/** * Is equivalent to seek(0). */ public void rewind () { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("rewind", _opsClass); DynStructOperations $self = (DynStructOperations) $so.servant; try { $self.rewind (); } finally { _servant_postinvoke ($so); } } // rewind
/** * 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); DynStructOperations $self = (DynStructOperations) $so.servant; try { $self.insert_ushort (value); } finally { _servant_postinvoke ($so); } } // insert_ushort
/** * 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); DynStructOperations $self = (DynStructOperations) $so.servant; try { $self.insert_long (value); } finally { _servant_postinvoke ($so); } } // insert_long
/** * 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); DynStructOperations $self = (DynStructOperations) $so.servant; try { $self.insert_dyn_any (value); } finally { _servant_postinvoke ($so); } } // insert_dyn_any
/** * 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); DynStructOperations $self = (DynStructOperations) $so.servant; try { $self.insert_char (value); } finally { _servant_postinvoke ($so); } } // insert_char
/** * 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); DynStructOperations $self = (DynStructOperations) $so.servant; try { $self.insert_ulong (value); } finally { _servant_postinvoke ($so); } } // insert_ulong
/** * Inserts a double 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_double (double value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_double", _opsClass); DynStructOperations $self = (DynStructOperations) $so.servant; try { $self.insert_double (value); } finally { _servant_postinvoke ($so); } } // insert_double
/** * 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); DynStructOperations $self = (DynStructOperations) $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); DynStructOperations $self = (DynStructOperations) $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); DynStructOperations $self = (DynStructOperations) $so.servant; try { $self.insert_ulonglong (value); } finally { _servant_postinvoke ($so); } } // insert_ulonglong
/** * 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); DynStructOperations $self = (DynStructOperations) $so.servant; try { $self.insert_boolean (value); } finally { _servant_postinvoke ($so); } } // insert_boolean
/** * 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); DynStructOperations $self = (DynStructOperations) $so.servant; try { $self.insert_wchar (value); } finally { _servant_postinvoke ($so); } } // insert_wchar
/** * Inserts an Any value 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_any (org.omg.CORBA.Any value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_any", _opsClass); DynStructOperations $self = (DynStructOperations) $so.servant; try { $self.insert_any (value); } finally { _servant_postinvoke ($so); } } // insert_any
/** * 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); DynStructOperations $self = (DynStructOperations) $so.servant; try { return $self.next (); } finally { _servant_postinvoke ($so); } } // next
/** * Inserts a reference to a Serializable object into this DynAny. * The IDL ValueBase type is mapped to the Java Serializable 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_val (java.io.Serializable value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_val", _opsClass); DynStructOperations $self = (DynStructOperations) $so.servant; try { $self.insert_val (value); } finally { _servant_postinvoke ($so); } } // insert_val
/** * Returns the name of the member at the current position. * This operation may return an empty string since the TypeCode of the value being * manipulated may not contain the names of members. * * @exception TypeMismatch if the DynStruct represents an empty exception. * @exception InvalidValue if the current position does not indicate a member */ public String current_member_name () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("current_member_name", _opsClass); DynStructOperations $self = (DynStructOperations) $so.servant; try { return $self.current_member_name (); } finally { _servant_postinvoke ($so); } } // current_member_name
/** * Returns a sequence of NameDynAnyPairs describing the name and the value of each member * in the struct associated with a DynStruct object. * The sequence contains members in the same order as the declaration order of members * as indicated by the DynStruct's TypeCode. The current position is not affected. * The member names in the returned sequence will be empty strings if the DynStruct's TypeCode * does not contain member names. */ public org.omg.DynamicAny.NameDynAnyPair[] get_members_as_dyn_any () { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_members_as_dyn_any", _opsClass); DynStructOperations $self = (DynStructOperations) $so.servant; try { return $self.get_members_as_dyn_any (); } finally { _servant_postinvoke ($so); } } // get_members_as_dyn_any
/** * Compares two DynAny values for equality. * Two DynAny values are equal if their TypeCodes are equivalent and, recursively, all component DynAnys * have equal values. * The current position of the two DynAnys being compared has no effect on the result of equal. * * @return true of the DynAnys are equal, false otherwise */ public boolean equal (org.omg.DynamicAny.DynAny dyn_any) { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("equal", _opsClass); DynStructOperations $self = (DynStructOperations) $so.servant; try { return $self.equal (dyn_any); } finally { _servant_postinvoke ($so); } } // equal
/** * 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); DynStructOperations $self = (DynStructOperations) $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); DynStructOperations $self = (DynStructOperations) $so.servant; try { $self.insert_typecode (value); } finally { _servant_postinvoke ($so); } } // insert_typecode