public class SHRuleImpl extends SHResourceImpl implements SHRule
| Constructor and Description |
|---|
SHRuleImpl(org.apache.jena.graph.Node node,
org.apache.jena.enhanced.EnhGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.jena.rdf.model.RDFNode |
getObject()
Gets the sh:subject (assuming this is a triple rule)
|
org.apache.jena.rdf.model.Resource |
getPredicate()
Gets the sh:subject (assuming this is a triple rule)
|
org.apache.jena.rdf.model.RDFNode |
getSubject()
Gets the sh:subject (assuming this is a triple rule)
|
boolean |
isJSRule()
Checks if this rule is an instance of sh:JSRule
|
boolean |
isSPARQLRule()
Checks if this rule is an instance of sh:SPARQLRule
|
boolean |
isTripleRule()
Checks if this rule is an instance of sh:TripleRule
|
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, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, mustHaveModel, removeAll, removeProperties, toString, visitWithas, asNode, canAs, canSupport, convertTo, equals, getGraph, getPersonality, hashCode, isAnon, isLiteral, isResource, isURIResource, isValid, viewAsaddView, alreadyHasView, asInternal, supportsclone, finalize, getClass, notify, notifyAll, wait, wait, waitabort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, removeAll, removeProperties, toStringpublic SHRuleImpl(org.apache.jena.graph.Node node,
org.apache.jena.enhanced.EnhGraph graph)
public org.apache.jena.rdf.model.RDFNode getSubject()
SHRulegetSubject in interface SHRulepublic org.apache.jena.rdf.model.Resource getPredicate()
SHRulegetPredicate in interface SHRulepublic org.apache.jena.rdf.model.RDFNode getObject()
SHRulepublic boolean isJSRule()
SHRulepublic boolean isSPARQLRule()
SHRuleisSPARQLRule in interface SHRulepublic boolean isTripleRule()
SHRuleisTripleRule in interface SHRuleCopyright © 2017 TopQuadrant, Inc.. All rights reserved.