Package org.aksw.jenax.reprogen.core
Class ViewBundle
java.lang.Object
org.aksw.jenax.reprogen.core.ViewBundle
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 Summary
FieldsModifier and TypeFieldDescriptionprotected ObjectThe function that yields the appropriate java type (predicate, isFwd) -> (subject -> javaObject)protected Collection<org.apache.jena.rdf.model.RDFNode>The raw yield yields the set of RDFNodes that back the java view (predicate, isFwd) -> (subject -> collectionOfRdfNodes) -
Constructor Summary
ConstructorsConstructorDescriptionViewBundle(Collection<org.apache.jena.rdf.model.RDFNode> rawView, Object javaView) -
Method Summary
-
Field Details
-
rawView
The raw yield yields the set of RDFNodes that back the java view (predicate, isFwd) -> (subject -> collectionOfRdfNodes) -
javaView
The function that yields the appropriate java type (predicate, isFwd) -> (subject -> javaObject)
-
-
Constructor Details
-
ViewBundle
-
-
Method Details
-
getRawView
-
getJavaView
-