Пример #1
0
  /**
   * 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 {
    org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke("assign", _opsClass);
    DynStructOperations $self = (DynStructOperations) $so.servant;

    try {
      $self.assign(dyn_any);
    } finally {
      _servant_postinvoke($so);
    }
  } // assign