gov.nasa.pds.citool.ri
Class InstrumentRIChecker

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

public class InstrumentRIChecker
extends RIChecker

Class to do referential integrity checking on instruments.

Author:
mcayanan

Constructor Summary
InstrumentRIChecker()
           
 
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

InstrumentRIChecker

public InstrumentRIChecker()
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.