Package org.topbraid.shacl.model.impl
Class SHNodeShapeImpl
- 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.SHParameterizableInstanceImpl
-
- org.topbraid.shacl.model.impl.SHShapeImpl
-
- org.topbraid.shacl.model.impl.SHNodeShapeImpl
-
- All Implemented Interfaces:
org.apache.jena.graph.FrontsNode,org.apache.jena.rdf.model.RDFNode,org.apache.jena.rdf.model.Resource,SHNodeShape,SHParameterizableInstance,SHResource,SHShape
public class SHNodeShapeImpl extends SHShapeImpl implements SHNodeShape
-
-
Constructor Summary
Constructors Constructor Description SHNodeShapeImpl(org.apache.jena.graph.Node node, org.apache.jena.enhanced.EnhGraph graph)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.jena.rdf.model.ResourcegetContext()Returns either sh:NodeShape or sh:PropertyShape.-
Methods inherited from class org.topbraid.shacl.model.impl.SHShapeImpl
getPath, getPropertyShapes, getPropertyShapes, getRules, getSeverity, hasTargetNode, isDeactivated, isPropertyShape
-
Methods inherited from class org.topbraid.shacl.model.impl.SHParameterizableInstanceImpl
addBindings, getParameterizable, getParameterMapByVarNames
-
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, toString, 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.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, toString
-
Methods inherited from interface org.topbraid.shacl.model.SHShape
getPath, getPropertyShapes, getPropertyShapes, getRules, getSeverity, hasTargetNode, isDeactivated, isPropertyShape
-
-
-
-
Method Detail
-
getContext
public org.apache.jena.rdf.model.Resource getContext()
Description copied from interface:SHShapeReturns either sh:NodeShape or sh:PropertyShape.- Specified by:
getContextin interfaceSHShape- Returns:
- the context
-
-