/** * Constructor using a copy object. * * @param toCopy */ public IngestReport(IngestReport toCopy) { this.totalPackageSize = toCopy.getTotalPackageSize(); this.dataItemsPerCollectionCount = toCopy.getDataItemsPerCollectionCount(); this.fileTypeCount = toCopy.getFileTypeCount(); this.generatedChecksumsCount = toCopy.getGeneratedChecksumsCount(); this.verifiedChecksumsCount = toCopy.getVerifiedChecksumsCount(); this.unverifiedChecksumsCount = toCopy.getUnverifiedChecksumsCount(); this.unmatchedFileTypes = toCopy.getUnmatchedFileTypes(); this.unmatchedRegisteredSchemasCount = toCopy.getUnmatchedRegisteredSchemasCount(); this.registeredSchemasCount = toCopy.getRegisteredSchemasCount(); this.unRegisteredSchemasCount = toCopy.getUnRegisteredSchemasCount(); this.invalidMetadataFileWRegisteredSchemas = toCopy.getInvalidMetadataFileWRegisteredSchemas(); this.packageReadable = toCopy.isPackageReadable(); this.packageConforming = toCopy.isPackageConforming(); this.packageHasUnresolvableIds = toCopy.packageHasUnresolvableIds; this.status = toCopy.getStatus(); this.validatedMetadataMessages = toCopy.getValidatedMetadataMessages(); }
if (ingestReport.getUnmatchedFileTypes() != null) { Map<String, String> unmatchedFileTypesCount = ingestReport.getUnmatchedFileTypes(); writer.startNode(E_UNMATCHED_FILE_TYPES); for (String name : unmatchedFileTypesCount.keySet()) {