Interface ResourceMetamodel
- All Superinterfaces:
org.apache.jena.graph.FrontsNode,org.apache.jena.rdf.model.RDFNode,org.apache.jena.rdf.model.Resource
public interface ResourceMetamodel
extends org.apache.jena.rdf.model.Resource
-
Method Summary
Modifier and TypeMethodDescriptionMap<org.apache.jena.graph.Node,ResourceGraphMetamodel> byGraph()byGraphs()default Stream<PredicateStats>find(org.apache.jena.graph.Node g, boolean isFwd, org.apache.jena.graph.Node p) Attempts to answer an request to the metamodel for whether it knows about critical items.default ResourceGraphMetamodeldefault ResourceGraphMetamodelgetOrCreateResourceMetamodel(org.apache.jena.graph.Node key) org.apache.jena.rdf.model.ResourceWhether the key set by byGraph covers all graphs w.r.t.Methods inherited from interface org.apache.jena.graph.FrontsNode
asNodeMethods inherited from interface org.apache.jena.rdf.model.RDFNode
as, asLiteral, asResource, canAs, getModel, isAnon, isLiteral, isResource, isStmtResource, isURIResource, visitWithMethods 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, getStmtTerm, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, removeAll, removeProperties, toString
-
Method Details
-
getTargetResource
org.apache.jena.rdf.model.Resource getTargetResource() -
getTargetResourceIri
String getTargetResourceIri() -
byGraph
Map<org.apache.jena.graph.Node,ResourceGraphMetamodel> byGraph() -
byGraphs
Set<ResourceGraphMetamodel> byGraphs() -
isGraphComplete
Boolean isGraphComplete()Whether the key set by byGraph covers all graphs w.r.t. an implicit context -
getOrCreateResourceMetamodel
-
getOrCreateResourceMetamodel
-
find
default Stream<PredicateStats> find(org.apache.jena.graph.Node g, boolean isFwd, org.apache.jena.graph.Node p) Attempts to answer an request to the metamodel for whether it knows about critical items. This method does not yield partial answers - if there are critical items then the full set is returned, if there are none then the set is empty, and if not all critical items are known the result is null to indicate that more information is needed (even if some items critical items are already known) Matching is similar fashion toDatasetGraph.find(). If the request cannot be fully nserved because the meta model is not complete w.r.t. graphs or predicates the result is null.- Parameters:
s-g-isFwd-p-- Returns:
-