gov.nasa.pds.citool.ri
Class TargetRIChecker

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

public class TargetRIChecker
extends RIChecker

Class to perform referential integrity checking on targets.

Author:
mcayanan

Constructor Summary
TargetRIChecker()
           
 
Method Summary
 RIRecord hasRI(java.util.List<gov.nasa.pds.tools.label.Label> catalogs)
          Determine if the supplied list of catalog files have referential integrity.
 RIRecord hasRI(java.util.List<gov.nasa.pds.tools.label.Label> catalogs, java.net.URL supportFile)
          Determine if the supplied list of catalog files have referential integrity.
 
Methods inherited from class gov.nasa.pds.citool.ri.RIChecker
getUnmatchedValues, getUnmatchedValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TargetRIChecker

public TargetRIChecker()
Method Detail

hasRI

public RIRecord hasRI(java.util.List<gov.nasa.pds.tools.label.Label> catalogs)
Description copied from class: RIChecker
Determine if the supplied list of catalog files have referential integrity.

Specified by:
hasRI in class RIChecker
Parameters:
catalogs - A list of catalog files.
Returns:
'true' if the files have referential integrity, 'false' otherwise.

hasRI

public RIRecord hasRI(java.util.List<gov.nasa.pds.tools.label.Label> catalogs,
                      java.net.URL supportFile)
Description copied from class: RIChecker
Determine if the supplied list of catalog files have referential integrity.

Specified by:
hasRI in class RIChecker
Parameters:
catalogs - A list of catalog files.
supportFile - A URL of a supporting file for further referential integrity checking.
Returns:
'true' if the files have referential integrity, 'false' otherwise.


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