Interface ITermSpec

All Superinterfaces:
org.apache.jena.graph.FrontsNode, IMappingComponent, org.apache.jena.rdf.model.RDFNode, org.apache.jena.rdf.model.Resource
All Known Subinterfaces:
IDatatypeMap, IGraphMap, IObjectMap, IObjectMapRml, IObjectMapType, IObjectMapTypeRml, IPredicateMap, IPredicateMapRml, IRefObjectMap, IRefObjectMapRml, ISubjectMap, ITermMap, ITermMapRml, ITermSpecRml

public interface ITermSpec extends IMappingComponent
A common parent type for 'term-producing' constructs, namely TermMap and RefObjectMap. https://www.w3.org/TR/r2rml/#class-index states: As noted earlier, a single node in an R2RML mapping graph may represent multiple mapping components and thus be typed as several of these classes. However, the following classes are disjoint:
  • rr:TermMap and rr:RefObjectMap
  • [...]
  • Method Summary

    Modifier and Type
    Method
    Description
    Obtain a RefObjectMap view of this resource.
    Obtain an ObjectMap view of this resource.
    boolean
    R2RML specifies that the condition for an entity to qualify as an "ref object map" is "Having an rr:parentTriplesMap property"
    boolean
    R2RML specifies that the condition for an entity to qualify as a "term map" is "Having exactly one of rr:constant, rr:column, rr:template"

    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
  • Method Details

    • qualifiesAsRefObjectMap

      boolean qualifiesAsRefObjectMap()
      R2RML specifies that the condition for an entity to qualify as an "ref object map" is "Having an rr:parentTriplesMap property"
      Returns:
    • asRefObjectMap

      IRefObjectMap asRefObjectMap()
      Obtain a RefObjectMap view of this resource. Calling this method does NOT require qualifiesAsRefObjectMap() to yield true.
      Returns:
    • qualifiesAsTermMap

      boolean qualifiesAsTermMap()
      R2RML specifies that the condition for an entity to qualify as a "term map" is "Having exactly one of rr:constant, rr:column, rr:template"
      Returns:
    • asTermMap

      ITermMap asTermMap()
      Obtain an ObjectMap view of this resource. Calling this method does NOT require
      invalid reference
      #qualifiesAsObjectMap()
      to yield true.
      Returns: