public interface Multiplexer extends OntologyCollectorListener, ScopeEventListener, SessionListener
| Modifier and Type | Method and Description |
|---|---|
void |
clearDependencies(org.semanticweb.owlapi.model.OWLOntologyID dependent)
Liberates the selected ontology from all its bindings with other ontologies, excluding ontology
collectors.
|
Set<org.semanticweb.owlapi.model.OWLOntologyID> |
getDependencies(org.semanticweb.owlapi.model.OWLOntologyID dependent)
Returns all the ontologies that the supplied ontology depends on, if any.
|
Set<org.semanticweb.owlapi.model.OWLOntologyID> |
getDependents(org.semanticweb.owlapi.model.OWLOntologyID dependency)
Returns all the ontologies that depend on the supplied ontology, if any.
|
Set<OntologyCollector> |
getHandles(org.semanticweb.owlapi.model.OWLOntologyID publicKey)
Not just the IDs because spaces and sessions can share identifiers.
|
org.semanticweb.owlapi.model.OWLOntologyID |
getPublicKey(String stringForm)
An utility method that computes the public key of an ontology given a canonical string form.
|
Set<org.semanticweb.owlapi.model.OWLOntologyID> |
getPublicKeys()
Returns the public keys of all the stored ontologies it is aware of.
|
int |
getSize(org.semanticweb.owlapi.model.OWLOntologyID publicKey)
Returns the size in triples of the ontology with the supplied public key.
|
void |
removeDependency(org.semanticweb.owlapi.model.OWLOntologyID dependent,
org.semanticweb.owlapi.model.OWLOntologyID dependency)
Removes any claim that stored ontology
dependent has a dependency on stored ontology
dependency. |
void |
setDependency(org.semanticweb.owlapi.model.OWLOntologyID dependent,
org.semanticweb.owlapi.model.OWLOntologyID dependency)
States that stored ontology
dependant has a dependency on stored ontology
dependency, e.g. because the former imports the latter. |
onOntologyAdded, onOntologyRemovedscopeActivated, scopeCreated, scopeDeactivated, scopeRegistered, scopeUnregisteredscopeAppended, scopeDetached, sessionChangedvoid clearDependencies(org.semanticweb.owlapi.model.OWLOntologyID dependent)
dependent - the ontology to be cleared of dependencies.Set<org.semanticweb.owlapi.model.OWLOntologyID> getDependencies(org.semanticweb.owlapi.model.OWLOntologyID dependent)
dependent - the public key of the depending ontology.Set<org.semanticweb.owlapi.model.OWLOntologyID> getDependents(org.semanticweb.owlapi.model.OWLOntologyID dependency)
dependency - the public key of the ontology that other ontologies could depend on.Set<OntologyCollector> getHandles(org.semanticweb.owlapi.model.OWLOntologyID publicKey)
publicKey - org.semanticweb.owlapi.model.OWLOntologyID getPublicKey(String stringForm)
stringForm - the string form of the public key.Set<org.semanticweb.owlapi.model.OWLOntologyID> getPublicKeys()
int getSize(org.semanticweb.owlapi.model.OWLOntologyID publicKey)
publicKey - the public key of the ontologyvoid removeDependency(org.semanticweb.owlapi.model.OWLOntologyID dependent,
org.semanticweb.owlapi.model.OWLOntologyID dependency)
dependent has a dependency on stored ontology
dependency. As a consquence, no related import statement should figure in the serialized
dependant. Note that this operation can be overridden by a call to
setDependency(OWLOntologyID, OWLOntologyID).dependent - the depending ontology.dependency - the ontology it depends on.void setDependency(org.semanticweb.owlapi.model.OWLOntologyID dependent,
org.semanticweb.owlapi.model.OWLOntologyID dependency)
dependant has a dependency on stored ontology
dependency, e.g. because the former imports the latter. As a consequence, various
restrictions could apply, e.g. dependency cannot be deleted as long as it is a dependency.dependent - the depending ontology.dependency - the ontology it depends on.Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.