Class ViewBundle

java.lang.Object
org.aksw.jenax.reprogen.core.ViewBundle

public class ViewBundle extends Object
A ViewBundle holds two collection views over an RDF graph: The rawView is a collection of raw RDFNodes (having the same Model), whereas the javaView is derived from the rawView using some conversion function over the items of the raw view. The view bundle main use case is to allow the skolemization system to operate on the nodes in the RDF graph themselves rather then the java objects derived from them.
Author:
raven
  • Field Details

    • rawView

      protected Collection<org.apache.jena.rdf.model.RDFNode> rawView
      The raw yield yields the set of RDFNodes that back the java view (predicate, isFwd) -> (subject -> collectionOfRdfNodes)
    • javaView

      protected Object javaView
      The function that yields the appropriate java type (predicate, isFwd) -> (subject -> javaObject)
  • Constructor Details

    • ViewBundle

      public ViewBundle(Collection<org.apache.jena.rdf.model.RDFNode> rawView, Object javaView)
  • Method Details

    • getRawView

      public Collection<org.apache.jena.rdf.model.RDFNode> getRawView()
    • getJavaView

      public Object getJavaView()