code: public void setCascadingDelete(Class target, String referenceField, boolean doCascade)
      {
          ClassDescriptor cld = getBroker().getClassDescriptor(target);
          ObjectReferenceDescriptor ord = cld.getObjectReferenceDescriptorByName(referenceField);
          if(ord == null)
          {
              ord = cld.getCollectionDescriptorByName(referenceField);
          }
          if(ord == null)
          {
              throw new CascadeSettingException("Invalid reference field name '" + referenceField
                      + "', can't find 1:1, 1:n or m:n relation with that name in " + target);
          }
          runtimeCascadeDeleteMap.put(ord, (doCascade ? Boolean.TRUE : Boolean.FALSE));
      }
docs: Allows to change the <em>cascading delete</em> behavior of the specified reference
  of the target class while this transaction is in use.
  
  @param target The class to change cascading delete behavior of the references.
  @param referenceField The field name of the 1:1, 1:n or 1:n reference.
  @param doCascade If <em>true</em> cascading delete is enabled, <em>false</em> disabled.