gov.nasa.pds.citool.ri
Class ReferenceRIChecker

java.lang.Object
  extended by gov.nasa.pds.citool.ri.RIChecker
      extended by gov.nasa.pds.citool.ri.ReferenceRIChecker

public class ReferenceRIChecker
extends RIChecker

Class to do referential integrity checking on references.

Author:
mcayanan

Field Summary
 
Fields inherited from class gov.nasa.pds.citool.ri.RIChecker
supportFile
 
Constructor Summary
ReferenceRIChecker()
          Constructor
 
Method Summary
 RIType getType()
           
 void performCheck(List<gov.nasa.pds.tools.label.Label> parentLabels, List<gov.nasa.pds.tools.label.Label> childLabels)
          Determines whether the supplied list of catalog files has referential integrity when compared to the REF.CAT file.
 
Methods inherited from class gov.nasa.pds.citool.ri.RIChecker
addProblem, addProblems, getProblems, getUnmatchedValues, getUnmatchedValues, hasProblems, setSupportFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceRIChecker

public ReferenceRIChecker()
Constructor

Method Detail

performCheck

public void performCheck(List<gov.nasa.pds.tools.label.Label> parentLabels,
                         List<gov.nasa.pds.tools.label.Label> childLabels)
Determines whether the supplied list of catalog files has referential integrity when compared to the REF.CAT file.

Specified by:
performCheck in class RIChecker
Parameters:
parentLabels - A set of catalog files containing the REFERENCE object.
childLabels - A set of catalog files that do not contain the REFERENCE object.

getType

public RIType getType()
Specified by:
getType in class RIChecker


Copyright © 2010-2013 Planetary Data System. All Rights Reserved.