Package org.semanticweb.owlapi.model
Interface HasDirectRemoveAxiom
- All Known Subinterfaces:
OWLMutableOntology
,OWLOntology
- All Known Implementing Classes:
ConcurrentOWLOntologyImpl
,OWLImmutableOntologyImpl
,OWLOntologyImpl
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
- Since:
- 3.5
- Author:
- Matthew Horridge, Stanford University, Bio-Medical Informatics Research Group
-
Method Summary
Modifier and TypeMethodDescriptiondefault ChangeApplied
A convenience method that removes a single axiom from this object.removeAxiom
(OWLAxiom axiom) A convenience method that removes a single axiom from this object.
-
Method Details
-
removeAxiom
A convenience method that removes a single axiom from this object. The appropriate RemoveAxiom change object is automatically generated.- Parameters:
axiom
- The axiom to be removed- Returns:
- A list of ontology changes that represent the changes that actually took place.
- Throws:
OWLOntologyChangeException
- if there was a problem removing the axiom
-
remove
A convenience method that removes a single axiom from this object. The appropriate RemoveAxiom change object is automatically generated.- Parameters:
axiom
- The axiom to be removed- Returns:
- A list of ontology changes that represent the changes that actually took place.
- Throws:
OWLOntologyChangeException
- if there was a problem removing the axiom
-