Uses of Interface
org.apache.jena.ontapi.UnionGraph
Packages that use UnionGraph
Package
Description
-
Uses of UnionGraph in org.apache.jena.ontapi
Methods in org.apache.jena.ontapi that return UnionGraphModifier and TypeMethodDescriptionUnionGraph.addSubGraph(org.apache.jena.graph.Graph graph) Adds the specified graph to the underlying graph collection.default UnionGraphUnionGraph.addSubGraphIfAbsent(org.apache.jena.graph.Graph graph) Adds the specified graph to the underlying graph collection if it is absent.static UnionGraphOntModelFactory.createUnionGraph(org.apache.jena.graph.Graph base) Wraps the givenbasegraph asUnionGraphUnionGraph.removeSubGraph(org.apache.jena.graph.Graph graph) Removes the specified graph from the underlying graph collection.Methods in org.apache.jena.ontapi that return types with arguments of type UnionGraphMethods in org.apache.jena.ontapi with parameters of type UnionGraphModifier and TypeMethodDescriptionvoidUnionGraph.Listener.notifySubGraphAdded(UnionGraph graph, org.apache.jena.graph.Graph subGraph) Called afteraddSubGraph(Graph).voidUnionGraph.Listener.notifySubGraphRemoved(UnionGraph graph, org.apache.jena.graph.Graph subGraph) Called afterremoveSubGraph(Graph).voidUnionGraph.Listener.notifySuperGraphAdded(UnionGraph graph, UnionGraph superGraph) Called afteraddSubGraph(Graph).voidUnionGraph.Listener.onAddSubGraph(UnionGraph graph, org.apache.jena.graph.Graph subGraph) Called beforeaddSubGraph(Graph).voidUnionGraph.Listener.onAddTriple(UnionGraph graph, org.apache.jena.graph.Triple triple) Called beforeGraph.add(Node, Node, Node)&Graph.add(Triple).voidUnionGraph.Listener.onClear(UnionGraph graph) Called beforeGraph.clear().voidUnionGraph.Listener.onDeleteTriple(UnionGraph graph, org.apache.jena.graph.Triple triple) Called beforeGraph.delete(Node, Node, Node)&Graph.delete(Triple)&Graph.remove(Node, Node, Node).voidUnionGraph.Listener.onRemoveSubGraph(UnionGraph graph, org.apache.jena.graph.Graph subGraph) Called beforeremoveSubGraph(Graph). -
Uses of UnionGraph in org.apache.jena.ontapi.impl
Classes in org.apache.jena.ontapi.impl that implement UnionGraphMethods in org.apache.jena.ontapi.impl that return UnionGraphModifier and TypeMethodDescriptionUnionGraphImpl.addSubGraph(org.apache.jena.graph.Graph graph) Adds the specified graph to the underlying graph collection.OntGraphModelImpl.getUnionGraph()ReturnsUnionGraph.UnionGraphImpl.removeSubGraph(org.apache.jena.graph.Graph graph) Removes the specified graph from the underlying graph collection.Methods in org.apache.jena.ontapi.impl that return types with arguments of type UnionGraphMethods in org.apache.jena.ontapi.impl with parameters of type UnionGraphModifier and TypeMethodDescriptionvoidUnionGraphImpl.EventManagerImpl.notifySubGraphAdded(UnionGraph graph, org.apache.jena.graph.Graph subGraph) voidUnionGraphImpl.EventManagerImpl.notifySubGraphRemoved(UnionGraph graph, org.apache.jena.graph.Graph subGraph) voidUnionGraphImpl.EventManagerImpl.notifySuperGraphAdded(UnionGraph graph, UnionGraph superGraph) voidUnionGraphImpl.EventManagerImpl.onAddSubGraph(UnionGraph graph, org.apache.jena.graph.Graph subGraph) voidUnionGraphImpl.EventManagerImpl.onAddTriple(UnionGraph graph, org.apache.jena.graph.Triple triple) voidUnionGraphImpl.EventManagerImpl.onClear(UnionGraph graph) voidUnionGraphImpl.EventManagerImpl.onDeleteTriple(UnionGraph graph, org.apache.jena.graph.Triple triple) voidUnionGraphImpl.EventManagerImpl.onRemoveSubGraph(UnionGraph graph, org.apache.jena.graph.Graph subGraph) Constructors in org.apache.jena.ontapi.impl with parameters of type UnionGraph -
Uses of UnionGraph in org.apache.jena.ontapi.impl.repositories
Methods in org.apache.jena.ontapi.impl.repositories that return UnionGraphModifier and TypeMethodDescriptionOntUnionGraphRepository.get(org.apache.jena.graph.Node name) Returns the graph by its ontology name.OntUnionGraphRepository.put(org.apache.jena.graph.Graph graph) Puts the graph into the repository returningUnionGraphwrapper.Methods in org.apache.jena.ontapi.impl.repositories with parameters of type UnionGraphModifier and TypeMethodDescriptionstatic voidOntUnionGraphRepository.checkIDCanBeChanged(UnionGraph graph) Throws exception if graph's ontology name is in imports closure.static Optional<org.apache.jena.graph.Graph>OntUnionGraphRepository.findSubGraphByOntName(UnionGraph graph, org.apache.jena.graph.Node name) Finds ont subgraph by its ontology name (owl:Ontologyorowl:versionIRI).voidOntUnionGraphListener.notifySubGraphAdded(UnionGraph thisGraph, org.apache.jena.graph.Graph subGraph) voidOntUnionGraphListener.notifySubGraphRemoved(UnionGraph graph, org.apache.jena.graph.Graph subGraph) voidOntUnionGraphListener.notifySuperGraphAdded(UnionGraph graph, UnionGraph superGraph) voidOntUnionGraphListener.onAddSubGraph(UnionGraph graph, org.apache.jena.graph.Graph subGraph) voidOntUnionGraphListener.onAddTriple(UnionGraph graph, org.apache.jena.graph.Triple triple) voidOntUnionGraphListener.onClear(UnionGraph graph) voidOntUnionGraphListener.onDeleteTriple(UnionGraph graph, org.apache.jena.graph.Triple triple) voidOntUnionGraphListener.onRemoveSubGraph(UnionGraph graph, org.apache.jena.graph.Graph subGraph) booleanOntUnionGraphRepository.remap(UnionGraph graph) Synchronizes graph's ontology name with the underlying storage.static voidOntUnionGraphRepository.removeUnusedImportSubGraphs(UnionGraph graph) Removes all subgraphs which are not connected to the parent by theowl:importsrelationship.Constructor parameters in org.apache.jena.ontapi.impl.repositories with type arguments of type UnionGraphModifierConstructorDescriptionOntUnionGraphRepository(GraphRepository repository, Function<org.apache.jena.graph.Graph, UnionGraph> unionGraphFactory, Function<org.apache.jena.graph.Node, org.apache.jena.graph.Graph> baseGraphFactory, boolean ignoreUnresolvedImports) -
Uses of UnionGraph in org.apache.jena.ontapi.utils
Methods in org.apache.jena.ontapi.utils that return UnionGraphModifier and TypeMethodDescriptionstatic UnionGraphGraphs.makeOntUnion(org.apache.jena.graph.Graph graph, Collection<org.apache.jena.graph.Graph> repository, Function<org.apache.jena.graph.Graph, UnionGraph> wrapAsUnion) Assembles the hierarchical ontologyUnion Graphfrom the specified components in accordance with theirowl:importsandowl:Ontologydeclarations.static UnionGraphGraphs.makeOntUnionFrom(org.apache.jena.graph.Graph graph, Function<org.apache.jena.graph.Graph, UnionGraph> wrapAsUnion) Creates an ontologyUnionGraphfrom the specifiedgraphof arbitrary nature.Methods in org.apache.jena.ontapi.utils that return types with arguments of type UnionGraphModifier and TypeMethodDescriptionstatic Stream<UnionGraph>Graphs.flatHierarchy(UnionGraph graph) Lists all graphs in the tree that is specified asUnionGraph.Methods in org.apache.jena.ontapi.utils with parameters of type UnionGraphModifier and TypeMethodDescriptionstatic Stream<UnionGraph>Graphs.flatHierarchy(UnionGraph graph) Lists all graphs in the tree that is specified asUnionGraph.static booleanGraphs.isOntUnionGraph(UnionGraph graph, boolean allowMultipleOntologyHeaders) Checks whether the specified graph is ontological, that is, has a hierarchy synchronized with theowl:imports&owl:Ontologyrelationships.Method parameters in org.apache.jena.ontapi.utils with type arguments of type UnionGraphModifier and TypeMethodDescriptionstatic UnionGraphGraphs.makeOntUnion(org.apache.jena.graph.Graph graph, Collection<org.apache.jena.graph.Graph> repository, Function<org.apache.jena.graph.Graph, UnionGraph> wrapAsUnion) Assembles the hierarchical ontologyUnion Graphfrom the specified components in accordance with theirowl:importsandowl:Ontologydeclarations.static UnionGraphGraphs.makeOntUnionFrom(org.apache.jena.graph.Graph graph, Function<org.apache.jena.graph.Graph, UnionGraph> wrapAsUnion) Creates an ontologyUnionGraphfrom the specifiedgraphof arbitrary nature.