Package org.topbraid.shacl.engine
Class Constraint
java.lang.Object
org.topbraid.shacl.engine.Constraint
Represents a constraint as input to an engine (e.g. validation or inferencing).
Here, a constraint is the combination of parameters, e.g. a specific value
of sh:datatype at a given Shape.
- Author:
- Holger Knublauch
-
Constructor Summary
ConstructorsConstructorDescriptionConstraint(Shape shape, SHConstraintComponent component, List<SHParameter> params, org.apache.jena.rdf.model.RDFNode parameterValue) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBindings(org.apache.jena.query.QuerySolutionMap map) org.apache.jena.rdf.model.ResourceCollection<org.apache.jena.rdf.model.RDFNode>org.apache.jena.rdf.model.RDFNodeorg.apache.jena.rdf.model.ResourcegetShape()toString()
-
Constructor Details
-
Constraint
public Constraint(Shape shape, SHConstraintComponent component, List<SHParameter> params, org.apache.jena.rdf.model.RDFNode parameterValue)
-
-
Method Details
-
addBindings
public void addBindings(org.apache.jena.query.QuerySolutionMap map) -
getComponent
-
getContext
public org.apache.jena.rdf.model.Resource getContext() -
getExecutor
-
getMessages
-
getParameters
-
getParameterValue
public org.apache.jena.rdf.model.RDFNode getParameterValue() -
getSeverity
public org.apache.jena.rdf.model.Resource getSeverity() -
getShape
-
getShapeResource
-
toString
-