gov.nasa.pds.citool.ri
Class ReferentialIntegrityValidator
java.lang.Object
gov.nasa.pds.citool.ri.ReferentialIntegrityValidator
public class ReferentialIntegrityValidator
- extends Object
Class that checks a set of PDS catalog files for referential integrity.
- Author:
- mcayanan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReferentialIntegrityValidator
public ReferentialIntegrityValidator(ReferentialIntegrityReport report)
- Default constructor.
- Parameters:
report
- An object representation of a referential integrity
report to log the errors.
isValid
public boolean isValid(List<gov.nasa.pds.tools.label.Label> catalogs,
URL allrefs)
addRICheckers
public void addRICheckers(List<RIChecker> checkers)
- Adds an appropriate checker to the validator.
- Parameters:
checkers
- A list of referential integrity checks to perform.
addRIChecker
public void addRIChecker(RIType type)
Copyright © 2010-2012 Planetary Data System. All Rights Reserved.