public synchronized boolean equals(Object obj) {
        if (!(obj instanceof BatchFileFetchResult)) return false;
        BatchFileFetchResult other = (BatchFileFetchResult) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = super.equals(obj) && 
            ((this.batchFiles==null && other.getBatchFiles()==null) || 
             (this.batchFiles!=null &&
              this.batchFiles.equals(other.getBatchFiles()))) &&
            this.recordCount == other.getRecordCount();
        __equalsCalc = null;
        return _equals;
    }