org.eclipse.rdf4j.sail.shacl.results

## Class ValidationReport

- java.lang.Object
- - org.eclipse.rdf4j.sail.shacl.results.ValidationReport

- All Implemented Interfaces:
    ModelInterface

      public class ValidationReport
      extends Object
      implements ModelInterface

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ValidationReport(boolean conforms)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addValidationResult(ValidationResult validationResult)`
    `Model` | `asModel(Model model)`
    `boolean` | `conforms()`
    `Resource` | `getId()`
    `List<ValidationResult>` | `getValidationResult()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.eclipse.rdf4j.sail.shacl.results.ModelInterface

      `asModel`

- - ### Constructor Detail

    - #### ValidationReport

          public ValidationReport(boolean conforms)

  - ### Method Detail

    - #### addValidationResult

          public void addValidationResult(ValidationResult validationResult)

    - #### asModel

          public Model asModel(Model model)

      Specified by:
        `asModel` in interface `ModelInterface`

    - #### getId

          public Resource getId()

      Specified by:
        `getId` in interface `ModelInterface`

    - #### conforms

          public boolean conforms()

      Returns:
        false if the changes violated a SHACL Shape

    - #### getValidationResult

          public List<ValidationResult> getValidationResult()

      Returns:
        list of ValidationResult with more information about each violation

Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.