/** * Returns the value of the DynEnum as an IDL identifier. */ public String get_as_string () { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_as_string", _opsClass); DynEnumOperations $self = (DynEnumOperations) $so.servant; try { return $self.get_as_string (); } finally { _servant_postinvoke ($so); } } // get_as_string
/** * Is equivalent to seek(0). */ public void rewind () { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("rewind", _opsClass); DynEnumOperations $self = (DynEnumOperations) $so.servant; try { $self.rewind (); } finally { _servant_postinvoke ($so); } } // rewind
/** * Sets the value of the DynEnum to the enumerated value whose IDL identifier is passed in the value parameter. * * @exception InvalidValue If value contains a string that is not a valid IDL identifier * for the corresponding enumerated type */ public void set_as_string (String value) throws org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("set_as_string", _opsClass); DynEnumOperations $self = (DynEnumOperations) $so.servant; try { $self.set_as_string (value); } finally { _servant_postinvoke ($so); } } // set_as_string
/** * 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); DynEnumOperations $self = (DynEnumOperations) $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); DynEnumOperations $self = (DynEnumOperations) $so.servant; try { $self.insert_ulong (value); } finally { _servant_postinvoke ($so); } } // insert_ulong
/** * Returns the value of the DynEnum as the enumerated value's ordinal value. * Enumerators have ordinal values 0 to n-1, as they appear from left to right * in the corresponding IDL definition. */ public int get_as_ulong () { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("get_as_ulong", _opsClass); DynEnumOperations $self = (DynEnumOperations) $so.servant; try { return $self.get_as_ulong (); } finally { _servant_postinvoke ($so); } } // get_as_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); DynEnumOperations $self = (DynEnumOperations) $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); DynEnumOperations $self = (DynEnumOperations) $so.servant; try { $self.insert_reference (value); } finally { _servant_postinvoke ($so); } } // insert_reference
/** * Sets the value of the DynEnum as the enumerated value's ordinal value. * * @exception InvalidValue If value contains a value that is outside the range of ordinal values * for the corresponding enumerated type */ public void set_as_ulong (int value) throws org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("set_as_ulong", _opsClass); DynEnumOperations $self = (DynEnumOperations) $so.servant; try { $self.set_as_ulong (value); } finally { _servant_postinvoke ($so); } } // set_as_ulong
/** * 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); DynEnumOperations $self = (DynEnumOperations) $so.servant; try { $self.insert_boolean (value); } finally { _servant_postinvoke ($so); } } // insert_boolean
/** * 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); DynEnumOperations $self = (DynEnumOperations) $so.servant; try { $self.insert_float (value); } finally { _servant_postinvoke ($so); } } // insert_float
/** * 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); DynEnumOperations $self = (DynEnumOperations) $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); DynEnumOperations $self = (DynEnumOperations) $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); DynEnumOperations $self = (DynEnumOperations) $so.servant; try { $self.insert_octet (value); } finally { _servant_postinvoke ($so); } } // insert_octet
/** * 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); DynEnumOperations $self = (DynEnumOperations) $so.servant; try { $self.insert_short (value); } finally { _servant_postinvoke ($so); } } // insert_short
/** * 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); DynEnumOperations $self = (DynEnumOperations) $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); DynEnumOperations $self = (DynEnumOperations) $so.servant; try { $self.insert_longlong (value); } finally { _servant_postinvoke ($so); } } // insert_longlong
/** * 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); DynEnumOperations $self = (DynEnumOperations) $so.servant; try { $self.insert_dyn_any (value); } finally { _servant_postinvoke ($so); } } // insert_dyn_any
/** * Inserts a string value into the DynAny. * Both bounded and unbounded strings are inserted using this method. * * @exception InvalidValue if this DynAny has components but has a current position of -1 * @exception InvalidValue if the string inserted is longer than the bound of a bounded string */ public void insert_wstring (String value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke ("insert_wstring", _opsClass); DynEnumOperations $self = (DynEnumOperations) $so.servant; try { $self.insert_wstring (value); } finally { _servant_postinvoke ($so); } } // insert_wstring
/** * 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); DynEnumOperations $self = (DynEnumOperations) $so.servant; try { $self.insert_val (value); } finally { _servant_postinvoke ($so); } } // insert_val