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(org.eclipse.rdf4j.model.Value focusNode, org.eclipse.rdf4j.model.Value value, Shape shape, ConstraintComponent sourceConstraint, Severity severity, ConstraintComponent.Scope scope, org.eclipse.rdf4j.model.Resource[] dataGraphs, org.eclipse.rdf4j.model.Resource[] shapesGraphs)Deprecated.ValidationResult(org.eclipse.rdf4j.model.Value focusNode, org.eclipse.rdf4j.model.Value value, Shape shape, ConstraintComponent sourceConstraint, Severity severity, ConstraintComponent.Scope scope, org.eclipse.rdf4j.model.Resource[] dataGraphs, org.eclipse.rdf4j.model.Resource[] shapesGraphs, Path rsxPairwisePath)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.eclipse.rdf4j.model.ModelasModel(org.eclipse.rdf4j.model.Model model)Deprecated.org.eclipse.rdf4j.model.ModelasModel(org.eclipse.rdf4j.model.Model model, Set<org.eclipse.rdf4j.model.Resource> rdfListDedupe)Deprecated.booleanequals(Object o)Deprecated.protected org.eclipse.rdf4j.model.Resource[]getDataGraphs()Deprecated.ValidationResultgetDetail()Deprecated.List<ValidationResult>getDetails()Deprecated.org.eclipse.rdf4j.model.ResourcegetId()Deprecated.protected SeveritygetSeverity()Deprecated.protected ShapegetShape()Deprecated.protected org.eclipse.rdf4j.model.Resource[]getShapesGraphs()Deprecated.protected ConstraintComponentgetSourceConstraint()Deprecated.SourceConstraintComponentgetSourceConstraintComponent()Deprecated.protected Optional<org.eclipse.rdf4j.model.Value>getValue()Deprecated.inthashCode()Deprecated.voidsetDetail(ValidationResult detail)Deprecated.voidsetPathIri(org.eclipse.rdf4j.model.Value path)Deprecated.StringtoString()Deprecated.
-
-
-
Constructor Detail
-
ValidationResult
public ValidationResult(org.eclipse.rdf4j.model.Value focusNode, org.eclipse.rdf4j.model.Value value, Shape shape, ConstraintComponent sourceConstraint, Severity severity, ConstraintComponent.Scope scope, org.eclipse.rdf4j.model.Resource[] dataGraphs, org.eclipse.rdf4j.model.Resource[] shapesGraphs)Deprecated.
-
ValidationResult
public ValidationResult(org.eclipse.rdf4j.model.Value focusNode, org.eclipse.rdf4j.model.Value value, Shape shape, ConstraintComponent sourceConstraint, Severity severity, ConstraintComponent.Scope scope, org.eclipse.rdf4j.model.Resource[] dataGraphs, org.eclipse.rdf4j.model.Resource[] shapesGraphs, Path rsxPairwisePath)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.
-
asModel
public org.eclipse.rdf4j.model.Model asModel(org.eclipse.rdf4j.model.Model model)
Deprecated.
-
asModel
public org.eclipse.rdf4j.model.Model asModel(org.eclipse.rdf4j.model.Model model, Set<org.eclipse.rdf4j.model.Resource> rdfListDedupe)Deprecated.
-
getId
public final org.eclipse.rdf4j.model.Resource getId()
Deprecated.
-
getSourceConstraintComponent
public SourceConstraintComponent getSourceConstraintComponent()
Deprecated.- Returns:
- the type of the source constraint that caused the violation
-
setPathIri
public void setPathIri(org.eclipse.rdf4j.model.Value path)
Deprecated.
-
getValue
protected Optional<org.eclipse.rdf4j.model.Value> getValue()
Deprecated.
-
getShape
protected Shape getShape()
Deprecated.
-
getSourceConstraint
protected ConstraintComponent getSourceConstraint()
Deprecated.
-
getSeverity
protected Severity getSeverity()
Deprecated.
-
getDataGraphs
protected org.eclipse.rdf4j.model.Resource[] getDataGraphs()
Deprecated.
-
getShapesGraphs
protected org.eclipse.rdf4j.model.Resource[] getShapesGraphs()
Deprecated.
-
-