Class ValidationReport

java.lang.Object
org.eclipse.rdf4j.sail.shacl.results.ValidationReport
Direct Known Subclasses:
LazyValidationReport

@Deprecated public class ValidationReport extends Object
Deprecated.
The ValidationReport is deprecated because it is planned moved to a new package to allow it to be used with remote validation reports.
The ValidationReport represents the report from a SHACL validation in an easy-to-use Java API.
  • Field Details Link icon

    • id Link icon

      protected Resource id
      Deprecated.
    • conforms Link icon

      protected boolean conforms
      Deprecated.
    • validationResult Link icon

      protected final List<ValidationResult> validationResult
      Deprecated.
    • truncated Link icon

      protected boolean truncated
      Deprecated.
  • Constructor Details Link icon

    • ValidationReport Link icon

      public ValidationReport()
      Deprecated.
    • ValidationReport Link icon

      public ValidationReport(boolean conforms)
      Deprecated.
  • Method Details Link icon

    • addValidationResult Link icon

      public void addValidationResult(ValidationResult validationResult)
      Deprecated.
    • asModel Link icon

      public Model asModel(Model model)
      Deprecated.
    • asModel Link icon

      public Model asModel()
      Deprecated.
    • getId Link icon

      public final Resource getId()
      Deprecated.
    • conforms Link icon

      public boolean conforms()
      Deprecated.
      Returns:
      false if the changes violated a SHACL Shape
    • getValidationResult Link icon

      public List<ValidationResult> getValidationResult()
      Deprecated.
      Returns:
      list of ValidationResult with more information about each violation
    • toString Link icon

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • isTruncated Link icon

      public boolean isTruncated()
      Deprecated.
      Users can enable a limit for the number of validation results they want to accept. If the limit is reached the report will be marked as truncated.
      Returns:
      true if this SHACL validation report has been truncated.