/** * Returns the current discriminator value. */ public org.omg.DynamicAny.DynAny get_discriminator () { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_discriminator", _opsClass); DynUnionOperations $self = (DynUnionOperations) $so.servant; try { return $self.get_discriminator (); } finally { _servant_postinvoke ($so); } } // get_discriminator
/** * Is equivalent to seek(0). */ public void rewind () { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("rewind", _opsClass); DynUnionOperations $self = (DynUnionOperations) $so.servant; try { $self.rewind (); } finally { _servant_postinvoke ($so); } } // rewind
/** * Returns the TCKind value of the discriminators TypeCode. */ public org.omg.CORBA.TCKind discriminator_kind () { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("discriminator_kind", _opsClass); DynUnionOperations $self = (DynUnionOperations) $so.servant; try { return $self.discriminator_kind (); } finally { _servant_postinvoke ($so); } } // discriminator_kind
/** * Returns the TCKind value of the currently active members TypeCode. * * @exception InvalidValue if the union does not have a currently active member */ public org.omg.CORBA.TCKind member_kind () throws org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("member_kind", _opsClass); DynUnionOperations $self = (DynUnionOperations) $so.servant; try { return $self.member_kind (); } finally { _servant_postinvoke ($so); } } // member_kind
/** * Sets the discriminator to a value that is consistent with the value of the default case of a union. * It sets the current position to zero and causes component_count to return 2. * * @exception TypeMismatch if the union does not have an explicit default case */ public void set_to_default_member () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("set_to_default_member", _opsClass); DynUnionOperations $self = (DynUnionOperations) $so.servant; try { $self.set_to_default_member (); } finally { _servant_postinvoke ($so); } } // set_to_default_member
/** * 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); DynUnionOperations $self = (DynUnionOperations) $so.servant; try { $self.insert_short (value); } finally { _servant_postinvoke ($so); } } // insert_short
/** * 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); DynUnionOperations $self = (DynUnionOperations) $so.servant; try { $self.insert_float (value); } finally { _servant_postinvoke ($so); } } // insert_float
/** * 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); DynUnionOperations $self = (DynUnionOperations) $so.servant; try { $self.insert_wchar (value); } finally { _servant_postinvoke ($so); } } // insert_wchar
/** * 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); DynUnionOperations $self = (DynUnionOperations) $so.servant; try { $self.insert_ulonglong (value); } finally { _servant_postinvoke ($so); } } // insert_ulonglong
/** * 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); DynUnionOperations $self = (DynUnionOperations) $so.servant; try { $self.insert_octet (value); } finally { _servant_postinvoke ($so); } } // insert_octet
/** * 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); DynUnionOperations $self = (DynUnionOperations) $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); DynUnionOperations $self = (DynUnionOperations) $so.servant; try { $self.insert_ulong (value); } finally { _servant_postinvoke ($so); } } // insert_ulong
/** * 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); DynUnionOperations $self = (DynUnionOperations) $so.servant; try { $self.insert_reference (value); } finally { _servant_postinvoke ($so); } } // insert_reference
/** * 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); DynUnionOperations $self = (DynUnionOperations) $so.servant; try { return $self.next (); } finally { _servant_postinvoke ($so); } } // next
/** * Returns the currently active member. Note that the returned reference remains valid only * for as long as the currently active member does not change. Using the returned reference * beyond the life time of the currently active member raises OBJECT_NOT_EXIST. * * @exception InvalidValue if the union has no active member */ public org.omg.DynamicAny.DynAny member () throws org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("member", _opsClass); DynUnionOperations $self = (DynUnionOperations) $so.servant; try { return $self.member (); } finally { _servant_postinvoke ($so); } } // member
/** * 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); DynUnionOperations $self = (DynUnionOperations) $so.servant; try { $self.insert_val (value); } finally { _servant_postinvoke ($so); } } // insert_val
/** * 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); DynUnionOperations $self = (DynUnionOperations) $so.servant; try { $self.insert_boolean (value); } finally { _servant_postinvoke ($so); } } // insert_boolean
/** * 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); DynUnionOperations $self = (DynUnionOperations) $so.servant; try { $self.insert_double (value); } finally { _servant_postinvoke ($so); } } // insert_double
/** * 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); DynUnionOperations $self = (DynUnionOperations) $so.servant; try { $self.insert_typecode (value); } finally { _servant_postinvoke ($so); } } // insert_typecode
/** * 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); DynUnionOperations $self = (DynUnionOperations) $so.servant; try { $self.insert_dyn_any (value); } finally { _servant_postinvoke ($so); } } // insert_dyn_any