Class SPathImpl

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.aksw.jena_sparql_api.data_query.impl.SelectionImpl
org.aksw.jena_sparql_api.data_query.impl.SPathImpl
All Implemented Interfaces:
Selection, SPath, org.apache.jena.graph.FrontsNode, org.apache.jena.rdf.model.RDFNode, org.apache.jena.rdf.model.Resource

public class SPathImpl extends SelectionImpl implements SPath
  • 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
    SPathImpl(org.apache.jena.graph.Node n, org.apache.jena.enhanced.EnhGraph m)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String p, boolean reverse)
     
     
     
     
    boolean
     
    void
    setParent(org.apache.jena.rdf.model.Resource parent)
     
    void
     
    void
    setPredicate(org.apache.jena.rdf.model.Property p)
     
    void
    setReverse(boolean isReverse)
     

    Methods inherited from class org.aksw.jena_sparql_api.data_query.impl.SelectionImpl

    getAlias, setAlias

    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, asStatementTerm, 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, visitWith

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

    as, asNode, canAs, canSupport, convertTo, equals, getGraph, getPersonality, hashCode, isAnon, isLiteral, isResource, isStatementTerm, 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, asStatementTerm, canAs, getModel, isAnon, isLiteral, isResource, isStatementTerm, 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, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, removeAll, removeProperties, toString

    Methods inherited from interface org.aksw.jena_sparql_api.data_query.api.Selection

    getAlias, setAlias
  • Constructor Details

    • SPathImpl

      public SPathImpl(org.apache.jena.graph.Node n, org.apache.jena.enhanced.EnhGraph m)
  • Method Details

    • getParent

      public SPath getParent()
      Specified by:
      getParent in interface SPath
    • setParent

      public void setParent(org.apache.jena.rdf.model.Resource parent)
    • getPredicate

      public String getPredicate()
      Specified by:
      getPredicate in interface SPath
    • isReverse

      public boolean isReverse()
      Specified by:
      isReverse in interface SPath
    • get

      public SPath get(String p, boolean reverse)
      Specified by:
      get in interface SPath
    • setPredicate

      public void setPredicate(org.apache.jena.rdf.model.Property p)
    • setPredicate

      public void setPredicate(String p)
    • setReverse

      public void setReverse(boolean isReverse)
    • getReachingBinaryRelation

      public Fragment2 getReachingBinaryRelation()
      Specified by:
      getReachingBinaryRelation in interface SPath