public int deleteCascade ( Collection < Metadata > metadataCollection ) throws SQLException { int count = 0 ; if ( metadataCollection != null ) { for ( Metadata metadata : metadataCollection ) { count += deleteCascade ( metadata ) ; } } return count ; }
Delete the collection of Metadata cascading