Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.14 $ on $Date: 2008/01/02 12:07:00 $
Author:
  Dave Reynolds

Nested Class Summary
`static class` | `ValidityReport.Report`

Method Summary
`java.util.Iterator` | `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 getReports()

  Return an iterator over the separate ValidityReport.Report records.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP