Class ValidationResult


  • @Deprecated
    public class ValidationResult
    extends Object
    Deprecated.
    The ValidationResult is deprecated because it is planned moved to a new package to allow it to be used with remote validation results.
    The ValidationResult represents the results from a SHACL validation in an easy-to-use Java API.
    • Method Detail

      • getDetail

        public ValidationResult getDetail()
        Deprecated.
        Returns:
        ValidationResult with more information as to what failed. Usually for nested Shapes in eg. sh:or.
      • getDetails

        public List<ValidationResult> getDetails()
        Deprecated.
        Returns:
        all ValidationResult(s) with more information as to what failed. Usually for nested Shapes in eg. sh:or.
      • asModel

        public Model asModel​(Model model)
        Deprecated.
      • getId

        public final Resource getId()
        Deprecated.
      • getSourceConstraintComponent

        public SourceConstraintComponent getSourceConstraintComponent()
        Deprecated.
        Returns:
        the type of the source constraint that caused the violation
      • equals

        public boolean equals​(Object o)
        Deprecated.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object
      • setPathIri

        public void setPathIri​(Value path)
        Deprecated.
      • getShape

        protected org.eclipse.rdf4j.sail.shacl.ast.Shape getShape()
        Deprecated.
      • getSeverity

        protected org.eclipse.rdf4j.sail.shacl.ast.Severity getSeverity()
        Deprecated.
      • getDataGraphs

        protected Resource[] getDataGraphs()
        Deprecated.
      • getShapesGraphs

        protected Resource[] getShapesGraphs()
        Deprecated.