gov.nasa.pds.citool.ri.ReferentialIntegrityValidator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of catalog-legacy Show documentation
Show all versions of catalog-legacy Show documentation
The Legacy Catalog Tool provides functionality for ingesting PDS3 catalog files into the PDS4 infrastructure including the Registry Service.
package gov.nasa.pds.citool.ri;
import gov.nasa.pds.citool.report.ReferentialIntegrityReport;
import gov.nasa.pds.citool.status.Status;
import gov.nasa.pds.tools.label.Label;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
/**
* Class that checks a set of PDS catalog files for referential integrity.
*
* @author mcayanan
*
*/
public class ReferentialIntegrityValidator {
List riCheckers;
private ReferentialIntegrityReport report;
/**
* Default constructor.
*
* @param report An object representation of a referential integrity
* report to log the errors.
*/
public ReferentialIntegrityValidator(ReferentialIntegrityReport report) {
this.report = report;
riCheckers = new ArrayList();
}
public boolean isValid(List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy