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 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Return an iterator over the separate ValidityReport.Report records.
    boolean
    Returns true if the model is both valid (logically consistent) and no warnings were generated.
    boolean
    Returns true if no logical inconsistencies were detected.
  • Method Details

    • 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

      Return an iterator over the separate ValidityReport.Report records.