Class SHSPARQLConstraintImpl

java.lang.Object
org.apache.jena.enhanced.Polymorphic<org.apache.jena.rdf.model.RDFNode>
org.apache.jena.enhanced.EnhNode
org.apache.jena.rdf.model.impl.ResourceImpl
org.topbraid.shacl.model.impl.SHResourceImpl
org.topbraid.shacl.model.impl.SHSPARQLConstraintImpl
All Implemented Interfaces:
org.apache.jena.graph.FrontsNode, org.apache.jena.rdf.model.RDFNode, org.apache.jena.rdf.model.Resource, SHConstraint, SHResource, SHSPARQLConstraint, SHSPARQLExecutable

public class SHSPARQLConstraintImpl extends SHResourceImpl implements SHSPARQLConstraint
  • Field Summary

    Fields inherited from class org.apache.jena.rdf.model.impl.ResourceImpl

    factory, rdfNodeFactory

    Fields inherited from class org.apache.jena.enhanced.EnhNode

    enhGraph, node
  • Constructor Summary

    Constructors
    Constructor
    Description
    SHSPARQLConstraintImpl(org.apache.jena.graph.Node node, org.apache.jena.enhanced.EnhGraph graph)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the value of sh:sparql.
    boolean
    Checks if this constraint has been deactivated.
     

    Methods inherited from class org.apache.jena.rdf.model.impl.ResourceImpl

    abort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, asLiteral, asResource, begin, commit, getId, getLocalName, getModel, getModelCom, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getStmtTerm, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, mustHaveModel, removeAll, removeProperties, visitWith

    Methods inherited from class org.apache.jena.enhanced.EnhNode

    as, asNode, canAs, canSupport, convertTo, equals, getGraph, getPersonality, hashCode, isAnon, isLiteral, isResource, isStmtResource, isURIResource, isValid, viewAs

    Methods inherited from class org.apache.jena.enhanced.Polymorphic

    addView, alreadyHasView, asInternal, supports

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.jena.graph.FrontsNode

    asNode

    Methods inherited from interface org.apache.jena.rdf.model.RDFNode

    as, asLiteral, asResource, canAs, getModel, isAnon, isLiteral, isResource, isStmtResource, isURIResource, visitWith

    Methods inherited from interface org.apache.jena.rdf.model.Resource

    abort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getStmtTerm, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, removeAll, removeProperties
  • Constructor Details

    • SHSPARQLConstraintImpl

      public SHSPARQLConstraintImpl(org.apache.jena.graph.Node node, org.apache.jena.enhanced.EnhGraph graph)
  • Method Details

    • getSPARQL

      public String getSPARQL()
      Description copied from interface: SHSPARQLExecutable
      Gets the value of sh:sparql.
      Specified by:
      getSPARQL in interface SHSPARQLExecutable
      Returns:
      the SPARQL query or null
    • isDeactivated

      public boolean isDeactivated()
      Description copied from interface: SHConstraint
      Checks if this constraint has been deactivated.
      Specified by:
      isDeactivated in interface SHConstraint
      Returns:
      true if deactivated
    • toString

      public String toString()
      Specified by:
      toString in interface org.apache.jena.rdf.model.RDFNode
      Specified by:
      toString in interface org.apache.jena.rdf.model.Resource
      Overrides:
      toString in class org.apache.jena.rdf.model.impl.ResourceImpl