Class RIChecker

    • Field Detail

      • supportFile

        protected URL supportFile
    • Constructor Detail

      • RIChecker

        public RIChecker()
    • Method Detail

      • getUnmatchedValues

        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)
      • getUnmatchedValues

        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)
      • setSupportFile

        public void setSupportFile​(URL url)
      • addProblem

        public void addProblem​(gov.nasa.pds.tools.LabelParserException problem)
      • addProblems

        public void addProblems​(List<gov.nasa.pds.tools.LabelParserException> problems)
      • getProblems

        public List<gov.nasa.pds.tools.LabelParserException> getProblems()
      • hasProblems

        public boolean hasProblems()
      • performCheck

        public 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.
        Parameters:
        parents - A list of parent labels.
        children - A list of child labels.
      • getType

        public abstract RIType getType()