Class ValidationResult
- java.lang.Object
-
- org.eclipse.rdf4j.sail.shacl.results.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.
-
-
Constructor Summary
Constructors Constructor Description 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Model
asModel(Model model)
Deprecated.Model
asModel(Model model, Set<Resource> rdfListDedupe)
Deprecated.boolean
equals(Object o)
Deprecated.protected Resource[]
getDataGraphs()
Deprecated.ValidationResult
getDetail()
Deprecated.List<ValidationResult>
getDetails()
Deprecated.Resource
getId()
Deprecated.protected org.eclipse.rdf4j.sail.shacl.ast.Severity
getSeverity()
Deprecated.protected org.eclipse.rdf4j.sail.shacl.ast.Shape
getShape()
Deprecated.protected Resource[]
getShapesGraphs()
Deprecated.protected ConstraintComponent
getSourceConstraint()
Deprecated.SourceConstraintComponent
getSourceConstraintComponent()
Deprecated.protected Optional<Value>
getValue()
Deprecated.int
hashCode()
Deprecated.void
setDetail(ValidationResult detail)
Deprecated.void
setPathIri(Value path)
Deprecated.String
toString()
Deprecated.
-
-
-
Constructor Detail
-
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.
-
-
Method Detail
-
getDetail
public ValidationResult getDetail()
Deprecated.- Returns:
- ValidationResult with more information as to what failed. Usually for nested Shapes in eg. sh:or.
-
setDetail
public void setDetail(ValidationResult detail)
Deprecated.
-
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.
-
getId
public final Resource getId()
Deprecated.
-
getSourceConstraintComponent
public SourceConstraintComponent getSourceConstraintComponent()
Deprecated.- Returns:
- the type of the source constraint that caused the violation
-
setPathIri
public void setPathIri(Value path)
Deprecated.
-
getShape
protected org.eclipse.rdf4j.sail.shacl.ast.Shape getShape()
Deprecated.
-
getSourceConstraint
protected ConstraintComponent getSourceConstraint()
Deprecated.
-
getSeverity
protected org.eclipse.rdf4j.sail.shacl.ast.Severity getSeverity()
Deprecated.
-
getDataGraphs
protected Resource[] getDataGraphs()
Deprecated.
-
getShapesGraphs
protected Resource[] getShapesGraphs()
Deprecated.
-
-