com.hp.hpl.jena.reasoner
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).

Version:
$Revision: 1.1 $ on $Date: 2009-06-29 08:55:50 $
Author:
Dave Reynolds

Nested Class Summary
static class ValidityReport.Report
           
 
Method Summary
 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

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



Licenced under the Apache License, Version 2.0