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
ConstructorsConstructorDescriptionValidationResult(Value focusNode, Value value, Shape shape, ConstraintComponent sourceConstraint, Severity severity, ConstraintComponent.Scope scope, Resource[] dataGraphs, Resource[] shapesGraphs) Deprecated.ValidationResult(Value focusNode, Value value, Shape shape, ConstraintComponent sourceConstraint, Severity severity, ConstraintComponent.Scope scope, Resource[] dataGraphs, Resource[] shapesGraphs, Path rsxPairwisePath) Deprecated. - 
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.booleanDeprecated.protected Resource[]Deprecated.Deprecated.Deprecated.final ResourcegetId()Deprecated.protected SeverityDeprecated.protected ShapegetShape()Deprecated.protected Resource[]Deprecated.protected ConstraintComponentDeprecated.Deprecated.getValue()Deprecated.inthashCode()Deprecated.voidsetDetail(ValidationResult detail) Deprecated.voidsetPathIri(Value path) Deprecated.toString()Deprecated. 
- 
Constructor Details
- 
ValidationResult
public ValidationResult(Value focusNode, Value value, Shape shape, ConstraintComponent sourceConstraint, Severity severity, ConstraintComponent.Scope scope, Resource[] dataGraphs, Resource[] shapesGraphs) Deprecated. - 
ValidationResult
public ValidationResult(Value focusNode, Value value, Shape shape, ConstraintComponent sourceConstraint, 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
Deprecated. - 
getSourceConstraint
Deprecated. - 
getSeverity
Deprecated. - 
getDataGraphs
Deprecated. - 
getShapesGraphs
Deprecated. 
 -