Class Constraint

java.lang.Object
org.topbraid.shacl.engine.Constraint

public class Constraint extends Object
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 Details

  • Method Details

    • addBindings

      public void addBindings(org.apache.jena.query.QuerySolutionMap map)
    • getComponent

      public SHConstraintComponent getComponent()
    • getContext

      public org.apache.jena.rdf.model.Resource getContext()
    • getExecutor

      public ConstraintExecutor getExecutor()
    • getMessages

      public Collection<org.apache.jena.rdf.model.RDFNode> getMessages()
    • getParameters

      public List<SHParameter> getParameters()
    • getParameterValue

      public org.apache.jena.rdf.model.RDFNode getParameterValue()
    • getSeverity

      public org.apache.jena.rdf.model.Resource getSeverity()
    • getShape

      public Shape getShape()
    • getShapeResource

      public SHShape getShapeResource()
    • toString

      public String toString()
      Overrides:
      toString in class Object