Class ValidationResult
java.lang.Object
org.eclipse.rdf4j.sail.shacl.results.ValidationResult
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.
-
Constructor Summary
ConstructorDescriptionValidationResult
(Value focusNode, Value value, org.eclipse.rdf4j.sail.shacl.ast.Shape shape, ConstraintComponent sourceConstraint, org.eclipse.rdf4j.sail.shacl.ast.Severity severity, ConstraintComponent.Scope scope, Resource[] dataGraphs, Resource[] shapesGraphs) Deprecated.ValidationResult
(Value focusNode, Value value, org.eclipse.rdf4j.sail.shacl.ast.Shape shape, ConstraintComponent sourceConstraint, org.eclipse.rdf4j.sail.shacl.ast.Severity severity, ConstraintComponent.Scope scope, Resource[] dataGraphs, Resource[] shapesGraphs, Path rsxPairwisePath) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.boolean
Deprecated.protected Resource[]
Deprecated.Deprecated.Deprecated.final Resource
getId()
Deprecated.protected org.eclipse.rdf4j.sail.shacl.ast.Severity
Deprecated.protected org.eclipse.rdf4j.sail.shacl.ast.Shape
getShape()
Deprecated.protected Resource[]
Deprecated.protected ConstraintComponent
Deprecated.Deprecated.getValue()
Deprecated.int
hashCode()
Deprecated.void
setDetail
(ValidationResult detail) Deprecated.void
setPathIri
(Value path) Deprecated.toString()
Deprecated.
-
Constructor Details
-
ValidationResult
public ValidationResult(Value focusNode, Value value, org.eclipse.rdf4j.sail.shacl.ast.Shape shape, ConstraintComponent sourceConstraint, org.eclipse.rdf4j.sail.shacl.ast.Severity severity, ConstraintComponent.Scope scope, Resource[] dataGraphs, Resource[] shapesGraphs) Deprecated. -
ValidationResult
public ValidationResult(Value focusNode, Value value, org.eclipse.rdf4j.sail.shacl.ast.Shape shape, ConstraintComponent sourceConstraint, org.eclipse.rdf4j.sail.shacl.ast.Severity severity, ConstraintComponent.Scope scope, Resource[] dataGraphs, Resource[] shapesGraphs, Path rsxPairwisePath) Deprecated.
-
-
Method Details
-
getDetail
Deprecated.- Returns:
- ValidationResult with more information as to what failed. Usually for nested Shapes in eg. sh:or.
-
setDetail
Deprecated. -
getDetails
Deprecated.- Returns:
- all ValidationResult(s) with more information as to what failed. Usually for nested Shapes in eg. sh:or.
-
asModel
-
asModel
-
getId
Deprecated. -
getSourceConstraintComponent
Deprecated.- Returns:
- the type of the source constraint that caused the violation
-
toString
-
equals
-
hashCode
-
setPathIri
Deprecated. -
getValue
-
getShape
protected org.eclipse.rdf4j.sail.shacl.ast.Shape getShape()Deprecated. -
getSourceConstraint
Deprecated. -
getSeverity
protected org.eclipse.rdf4j.sail.shacl.ast.Severity getSeverity()Deprecated. -
getDataGraphs
Deprecated. -
getShapesGraphs
Deprecated.
-