/** * 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(); }
writer.endNode(); if (ingestReport.isPackageReadable()) { writer.startNode(E_PACKAGE_READABLE); writer.setValue("True");