protected boolean cascadeDeleteFor(ObjectReferenceDescriptor ord)
    {
        boolean result;
        Boolean runtimeSetting = (Boolean) runtimeCascadeDeleteMap.get(ord);
        if(runtimeSetting == null)
        {
            /*
            arminw: Here we use the auto-delete flag defined in metadata
            */
            result = ord.getCascadingDelete() == ObjectReferenceDescriptor.CASCADE_OBJECT;
        }
        else
        {
            result = runtimeSetting.booleanValue();
        }
        return result;
    }
protected boolean cascadeDeleteFor ( ObjectReferenceDescriptor ord ) { boolean result ; Boolean runtimeSetting = ( Boolean ) runtimeCascadeDeleteMap . get ( ord ) ; if ( runtimeSetting == null ) { result = ord . getCascadingDelete ( ) == ObjectReferenceDescriptor . CASCADE_OBJECT ; } else { result = runtimeSetting . booleanValue ( ) ; } return result ; }
Returns <em>true</em> if cascading delete is enabled for the specified
single or collection descriptor.