gov.nasa.pds.citool.ri
Class RIChecker
java.lang.Object
gov.nasa.pds.citool.ri.RIChecker
- Direct Known Subclasses:
- DataSetRIChecker, InstrumentHostRIChecker, InstrumentRIChecker, MissionRIChecker, PersonnelRIChecker, ReferenceRIChecker, TargetRIChecker, VolumeRIChecker
public abstract class RIChecker
- extends java.lang.Object
Base class for Referential Integrity checking.
- Author:
- mcayanan
Method Summary |
java.util.Map<java.lang.String,gov.nasa.pds.tools.label.AttributeStatement> |
getUnmatchedValues(java.util.List<gov.nasa.pds.tools.label.AttributeStatement> parents,
java.util.List<gov.nasa.pds.tools.label.AttributeStatement> children)
|
java.util.Map<java.lang.String,gov.nasa.pds.tools.label.AttributeStatement> |
getUnmatchedValues(java.util.Map<java.lang.String,java.util.List<gov.nasa.pds.tools.label.AttributeStatement>> parents,
java.util.Map<java.lang.String,java.util.List<gov.nasa.pds.tools.label.AttributeStatement>> children)
|
abstract RIRecord |
hasRI(java.util.List<gov.nasa.pds.tools.label.Label> catalogs)
Determine if the supplied list of catalog files have
referential integrity. |
abstract 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RIChecker
public RIChecker()
getUnmatchedValues
public java.util.Map<java.lang.String,gov.nasa.pds.tools.label.AttributeStatement> getUnmatchedValues(java.util.List<gov.nasa.pds.tools.label.AttributeStatement> parents,
java.util.List<gov.nasa.pds.tools.label.AttributeStatement> children)
getUnmatchedValues
public java.util.Map<java.lang.String,gov.nasa.pds.tools.label.AttributeStatement> getUnmatchedValues(java.util.Map<java.lang.String,java.util.List<gov.nasa.pds.tools.label.AttributeStatement>> parents,
java.util.Map<java.lang.String,java.util.List<gov.nasa.pds.tools.label.AttributeStatement>> children)
hasRI
public abstract RIRecord hasRI(java.util.List<gov.nasa.pds.tools.label.Label> catalogs)
- Determine if the supplied list of catalog files have
referential integrity.
- Parameters:
catalogs
- A list of catalog files.
- Returns:
- 'true' if the files have referential integrity, 'false'
otherwise.
hasRI
public abstract 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.
- 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.