/** * Initializes the value associated with a DynAny object with the value * associated with another DynAny object. * The current position of the target DynAny is set to zero for values that have components * and to -1 for values that do not have components. * * @param dyn_any * @exception TypeMismatch if the type of the passed DynAny is not equivalent to the type of target DynAny */ public void assign (org.omg.DynamicAny.DynAny dyn_any) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch { _impl.assign(dyn_any); } // assign
public int component_count() { return _delegate.component_count(); }
public org.omg.DynamicAny.DynAny copy() { return _delegate.copy(); }
/** * Extracts an Any value contained in the Any represented by this DynAny. * * @exception TypeMismatch if the accessed component in the DynAny is of a type * that is not equivalent to the requested type. * @exception TypeMismatch if called on a DynAny whose current component itself has components * @exception InvalidValue if this DynAny has components but has a current position of -1 */ public org.omg.CORBA.Any get_any () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { return _impl.get_any(); } // get_any
/** * 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 { return _impl.current_member_name(); } // current_member_name
/** * Returns the TCKind associated with the member at the current position. * * @exception TypeMismatch if the DynStruct represents an empty exception. * @exception InvalidValue if the current position does not indicate a member */ public org.omg.CORBA.TCKind current_member_kind () throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { return _impl.current_member_kind(); } // current_member_kind
/** * Initializes the value associated with a DynAny object with the value contained in an any. * The current position of the target DynAny is set to zero for values that have components * and to -1 for values that do not have components. * * @exception TypeMismatch if the type of the passed Any is not equivalent to the type of target DynAny * @exception InvalidValue if the passed Any does not contain a legal value (such as a null string) */ public void from_any (org.omg.CORBA.Any value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { _impl.from_any(value); } // from_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) { return _impl.equal(dyn_any); } // equal
public void destroy() { _delegate.destroy(); }
public org.omg.DynamicAny.DynAny current_component() throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch { return _delegate.current_component(); }
public org.omg.CORBA.Any get_any() throws org.omg.DynamicAny.DynAnyPackage.InvalidValue,org.omg.DynamicAny.DynAnyPackage.TypeMismatch { return _delegate.get_any(); }
public java.lang.String current_member_name() throws org.omg.DynamicAny.DynAnyPackage.InvalidValue,org.omg.DynamicAny.DynAnyPackage.TypeMismatch { return _delegate.current_member_name(); }
public org.omg.CORBA.TCKind current_member_kind() throws org.omg.DynamicAny.DynAnyPackage.InvalidValue,org.omg.DynamicAny.DynAnyPackage.TypeMismatch { return _delegate.current_member_kind(); }
public void from_any(org.omg.CORBA.Any value) throws org.omg.DynamicAny.DynAnyPackage.InvalidValue,org.omg.DynamicAny.DynAnyPackage.TypeMismatch { _delegate.from_any(value); }
public boolean equal(org.omg.DynamicAny.DynAny dyn_any) { return _delegate.equal(dyn_any); }
public void destroy() { _delegate.destroy(); }
public org.omg.DynamicAny.DynAny current_component() throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch { return _delegate.current_component(); }
public org.omg.CORBA.Any get_any() throws org.omg.DynamicAny.DynAnyPackage.InvalidValue,org.omg.DynamicAny.DynAnyPackage.TypeMismatch { return _delegate.get_any(); }
public java.lang.String current_member_name() throws org.omg.DynamicAny.DynAnyPackage.InvalidValue,org.omg.DynamicAny.DynAnyPackage.TypeMismatch { return _delegate.current_member_name(); }
public org.omg.CORBA.TCKind current_member_kind() throws org.omg.DynamicAny.DynAnyPackage.InvalidValue,org.omg.DynamicAny.DynAnyPackage.TypeMismatch { return _delegate.current_member_kind(); }