gov.nasa.pds.citool.ri
Class ReferentialIntegrityValidator

java.lang.Object
  extended by 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

Constructor Summary
ReferentialIntegrityValidator(ReferentialIntegrityReport report)
          Default constructor.
 
Method Summary
 void addRIChecker(RIType type)
           
 void addRICheckers(List<RIChecker> checkers)
          Adds an appropriate checker to the validator.
 boolean isValid(List<gov.nasa.pds.tools.label.Label> catalogs, URL allrefs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferentialIntegrityValidator

public ReferentialIntegrityValidator(ReferentialIntegrityReport report)
Default constructor.

Parameters:
report - An object representation of a referential integrity report to log the errors.
Method Detail

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–2015 Planetary Data System. All rights reserved.