Interface ValidityReport

  • All Known Implementing Classes:
    StandardValidityReport

    public interface ValidityReport
    Data structure used to report the results of validation or consistency checking operations. It is an array of reports, each of which has a severity, a type (string) and a description (string).
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  ValidityReport.Report  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Iterator<ValidityReport.Report> getReports()
      Return an iterator over the separate ValidityReport.Report records.
      boolean isClean()
      Returns true if the model is both valid (logically consistent) and no warnings were generated.
      boolean isValid()
      Returns true if no logical inconsistencies were detected.
    • Method Detail

      • isValid

        boolean isValid()
        Returns true if no logical inconsistencies were detected. If it is false then ether will be at least one error Report included. If it is true then warnings may still be present. As of Jena 2.2 we regard classes which can't be instantiated as warnings (of type 'Inconsistent class') rather than errors.
      • isClean

        boolean isClean()
        Returns true if the model is both valid (logically consistent) and no warnings were generated.
      • getReports

        java.util.Iterator<ValidityReport.Report> getReports()
        Return an iterator over the separate ValidityReport.Report records.