public interface HasApplyChanges
Modifier and Type | Method and Description |
---|---|
default ChangeApplied |
applyChanges(List<? extends OWLOntologyChange> changes)
Applies a list ontology changes to a collection of ontologies.
|
default ChangeApplied |
applyChanges(OWLOntologyChange... changes)
Applies a list ontology changes to a collection of ontologies.
|
ChangeDetails |
applyChangesAndGetDetails(List<? extends OWLOntologyChange> changes)
Applies a list ontology changes to a collection of ontologies.
|
default ChangeDetails |
applyChangesAndGetDetails(OWLOntologyChange... changes)
Applies a list ontology changes to a collection of ontologies.
|
default ChangeApplied applyChanges(List<? extends OWLOntologyChange> changes)
OWLOntologyManager
implementation, the instance used should be the one
that the ontology returns through the getOWLOntologyManager()
call. The reason is
that some changes, e.g., change of ontology id and change of imports directives, affect data
that only that manager instance knows about, such as the imports closure; changes of ontology
id through the wrong manager will make the ontology unreachable through its new id in the
manager associated with the ontology. Configuration for loading and saving parameters is also
held by the manager, if not explicitly specified for the ontology. While the change might be
successful, other bugs might be made apparent later.changes
- The changes to be applied.OWLOntologyChangeException
- If one or more of the changes could not be applied.default ChangeApplied applyChanges(OWLOntologyChange... changes)
OWLOntologyManager
implementation, the instance used should be the one
that the ontology returns through the getOWLOntologyManager()
call. The reason is
that some changes, e.g., change of ontology id and change of imports directives, affect data
that only that manager instance knows about, such as the imports closure; changes of ontology
id through the wrong manager will make the ontology unreachable through its new id in the
manager associated with the ontology. Configuration for loading and saving parameters is also
held by the manager, if not explicitly specified for the ontology. While the change might be
successful, other bugs might be made apparent later.changes
- The changes to be applied.OWLOntologyChangeException
- If one or more of the changes could not be applied.ChangeDetails applyChangesAndGetDetails(List<? extends OWLOntologyChange> changes)
OWLOntologyManager
implementation, the instance used should be the one
that the ontology returns through the getOWLOntologyManager()
call. The reason is
that some changes, e.g., change of ontology id and change of imports directives, affect data
that only that manager instance knows about, such as the imports closure; changes of ontology
id through the wrong manager will make the ontology unreachable through its new id in the
manager associated with the ontology. Configuration for loading and saving parameters is also
held by the manager, if not explicitly specified for the ontology. While the change might be
successful, other bugs might be made apparent later.changes
- The changes to be applied.OWLOntologyChangeException
- If one or more of the changes could not be applied.default ChangeDetails applyChangesAndGetDetails(OWLOntologyChange... changes)
OWLOntologyManager
implementation, the instance used should be the one
that the ontology returns through the getOWLOntologyManager()
call. The reason is
that some changes, e.g., change of ontology id and change of imports directives, affect data
that only that manager instance knows about, such as the imports closure; changes of ontology
id through the wrong manager will make the ontology unreachable through its new id in the
manager associated with the ontology. Configuration for loading and saving parameters is also
held by the manager, if not explicitly specified for the ontology. While the change might be
successful, other bugs might be made apparent later.changes
- The changes to be applied.OWLOntologyChangeException
- If one or more of the changes could not be applied.Copyright © 2020 The University of Manchester. All rights reserved.