@Override public Set<OWLAxiom> getPendingAxiomAdditions() { LOGGER_.trace("getPendingAxiomAdditions()"); return bufferedChangesLoader_.getPendingAxiomAdditions(); }
@Override public Set<OWLAxiom> getPendingAxiomRemovals() { LOGGER_.trace("getPendingAxiomRemovals()"); return bufferedChangesLoader_.getPendingAxiomRemovals(); }
@Override public List<OWLOntologyChange> getPendingChanges() { LOGGER_.trace("getPendingChanges()"); return bufferedChangesLoader_.getPendingChanges(); }
bufferedChangesLoader_ = new OwlChangesLoaderFactory( this.secondaryProgressMonitor_); ontologyReloadRequired_ = false; } else if (bufferedChangesLoader_.isLoadingFinished()) { bufferedChangesLoader_ = new OwlChangesLoaderFactory( this.secondaryProgressMonitor_);
@Override public boolean isLoadingFinished() { return OwlChangesLoaderFactory.this.isLoadingFinished(); }
@Override public void ontologiesChanged(List<? extends OWLOntologyChange> changes) { Set<OWLOntology> importClosure = null; for (OWLOntologyChange change : changes) { OWLOntology changedOntology = change.getOntology(); if (!changedOntology.equals(owlOntology_)) { if (importClosure == null) { importClosure = owlOntology_.getImportsClosure(); } if (!importClosure.contains(changedOntology)) { LOGGER_.trace( "Ignoring the change not applicable to the current ontology: {}" + change); continue; } } if (!change.isAxiomChange()) { LOGGER_.trace( "Non-axiom change: {}\n The ontology will be reloaded.", change); // cannot handle non-axiom changes incrementally ontologyReloadRequired_ = true; } else { bufferedChangesLoader_.registerChange(change); } } if (!isBufferingMode_) flush(); }
this.bufferedChangesLoader_ = new OwlChangesLoaderFactory( this.mainProgressMonitor_); if (!isBufferingMode_) {
bufferedChangesLoader_ = new OwlChangesLoaderFactory( this.secondaryProgressMonitor_); ontologyReloadRequired_ = false; } else if (bufferedChangesLoader_.isLoadingFinished()) { bufferedChangesLoader_ = new OwlChangesLoaderFactory( this.secondaryProgressMonitor_);
@Override public boolean isLoadingFinished() { return OwlChangesLoaderFactory.this.isLoadingFinished(); }
@Override public void ontologiesChanged(List<? extends OWLOntologyChange> changes) { Set<OWLOntology> importClosure = null; for (OWLOntologyChange change : changes) { OWLOntology changedOntology = change.getOntology(); if (!changedOntology.equals(owlOntology_)) { if (importClosure == null) { importClosure = owlOntology_.getImportsClosure(); } if (!importClosure.contains(changedOntology)) { LOGGER_.trace( "Ignoring the change not applicable to the current ontology: {}" + change); continue; } } if (!change.isAxiomChange()) { LOGGER_.trace( "Non-axiom change: {}\n The ontology will be reloaded.", change); // cannot handle non-axiom changes incrementally ontologyReloadRequired_ = true; } else { bufferedChangesLoader_.registerChange(change); } } if (!isBufferingMode_) flush(); }
this.bufferedChangesLoader_ = new OwlChangesLoaderFactory( this.mainProgressMonitor_); if (!isBufferingMode_) {
bufferedChangesLoader_ = new OwlChangesLoaderFactory( this.secondaryProgressMonitor_); ontologyReloadRequired_ = false; } else if (bufferedChangesLoader_.isLoadingFinished()) { bufferedChangesLoader_ = new OwlChangesLoaderFactory( this.secondaryProgressMonitor_);
@Override public List<OWLOntologyChange> getPendingChanges() { LOGGER_.trace("getPendingChanges()"); return bufferedChangesLoader_.getPendingChanges(); }
@Override public Set<OWLAxiom> getPendingAxiomAdditions() { LOGGER_.trace("getPendingAxiomAdditions()"); return bufferedChangesLoader_.getPendingAxiomAdditions(); }
@Override public boolean isLoadingFinished() { return OwlChangesLoaderFactory.this.isLoadingFinished(); }
@Override public Set<OWLAxiom> getPendingAxiomRemovals() { LOGGER_.trace("getPendingAxiomRemovals()"); return bufferedChangesLoader_.getPendingAxiomRemovals(); }
@Override public void ontologiesChanged(List<? extends OWLOntologyChange> changes) { Set<OWLOntology> importClosure = null; for (OWLOntologyChange change : changes) { OWLOntology changedOntology = change.getOntology(); if (!changedOntology.equals(owlOntology_)) { if (importClosure == null) { importClosure = owlOntology_.getImportsClosure(); } if (!importClosure.contains(changedOntology)) { LOGGER_.trace( "Ignoring the change not applicable to the current ontology: {}" + change); continue; } } if (!change.isAxiomChange()) { LOGGER_.trace( "Non-axiom change: {}\n The ontology will be reloaded.", change); // cannot handle non-axiom changes incrementally ontologyReloadRequired_ = true; } else { bufferedChangesLoader_.registerChange(change); } } if (!isBufferingMode_) flush(); }
this.bufferedChangesLoader_ = new OwlChangesLoaderFactory( this.mainProgressMonitor_); if (!isBufferingMode_) {
@Override public List<OWLOntologyChange> getPendingChanges() { LOGGER_.trace("getPendingChanges()"); return bufferedChangesLoader_.getPendingChanges(); }
@Override public Set<OWLAxiom> getPendingAxiomAdditions() { LOGGER_.trace("getPendingAxiomAdditions()"); return bufferedChangesLoader_.getPendingAxiomAdditions(); }