public abstract class RIChecker extends Object
Modifier and Type | Field and Description |
---|---|
protected URL |
supportFile |
Constructor and Description |
---|
RIChecker() |
Modifier and Type | Method and Description |
---|---|
void |
addProblem(gov.nasa.pds.tools.LabelParserException problem) |
void |
addProblems(List<gov.nasa.pds.tools.LabelParserException> problems) |
List<gov.nasa.pds.tools.LabelParserException> |
getProblems() |
abstract RIType |
getType() |
Map<String,gov.nasa.pds.tools.label.AttributeStatement> |
getUnmatchedValues(List<gov.nasa.pds.tools.label.AttributeStatement> parents,
List<gov.nasa.pds.tools.label.AttributeStatement> children) |
Map<String,gov.nasa.pds.tools.label.AttributeStatement> |
getUnmatchedValues(Map<String,List<gov.nasa.pds.tools.label.AttributeStatement>> parents,
Map<String,List<gov.nasa.pds.tools.label.AttributeStatement>> children) |
boolean |
hasProblems() |
abstract void |
performCheck(List<gov.nasa.pds.tools.label.Label> parents,
List<gov.nasa.pds.tools.label.Label> children)
Determine if the supplied list of catalog files has
referential integrity.
|
void |
setSupportFile(URL url) |
protected URL supportFile
public Map<String,gov.nasa.pds.tools.label.AttributeStatement> getUnmatchedValues(List<gov.nasa.pds.tools.label.AttributeStatement> parents, List<gov.nasa.pds.tools.label.AttributeStatement> children)
public Map<String,gov.nasa.pds.tools.label.AttributeStatement> getUnmatchedValues(Map<String,List<gov.nasa.pds.tools.label.AttributeStatement>> parents, Map<String,List<gov.nasa.pds.tools.label.AttributeStatement>> children)
public void setSupportFile(URL url)
public void addProblem(gov.nasa.pds.tools.LabelParserException problem)
public void addProblems(List<gov.nasa.pds.tools.LabelParserException> problems)
public List<gov.nasa.pds.tools.LabelParserException> getProblems()
public boolean hasProblems()
public abstract void performCheck(List<gov.nasa.pds.tools.label.Label> parents, List<gov.nasa.pds.tools.label.Label> children)
parents
- A list of parent labels.children
- A list of child labels.public abstract RIType getType()
Copyright © 2010–2015 Planetary Data System. All rights reserved.