public void insert_dyn_any(org.omg.DynamicAny.DynAny value)
     throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
         org.omg.DynamicAny.DynAnyPackage.InvalidValue {
   if (status == STATUS_DESTROYED) {
     throw wrapper.dynAnyDestroyed();
   }
   if (any.type().kind().value() != TCKind._tk_any) throw new TypeMismatch();
   // _REVISIT_ Copy value here?
   any.insert_any(value.to_any());
 }
 public boolean equal(org.omg.DynamicAny.DynAny dyn_any) {
   if (status == STATUS_DESTROYED) {
     throw wrapper.dynAnyDestroyed();
   }
   if (dyn_any == this) {
     return true;
   }
   // If the other DynAny is a constructed one we don't want it to have
   // to create its Any representation just for this test.
   if (!any.type().equal(dyn_any.type())) {
     return false;
   }
   // System.out.println("Comparing anys");
   return any.equal(getAny(dyn_any));
 }