Package org.semanticweb.owlapi.model
Interface HasDirectAddAxioms
- All Known Subinterfaces:
OWLMutableOntology
,OWLOntology
- All Known Implementing Classes:
ConcurrentOWLOntologyImpl
,OWLImmutableOntologyImpl
,OWLOntologyImpl
public interface HasDirectAddAxioms
Interface for an object that accepts axiom additions (typically, an OWLOntology).
- Since:
- 3.5
- Author:
- Matthew Horridge, Stanford University, Bio-Medical Informatics Research Group
-
Method Summary
Modifier and TypeMethodDescriptiondefault ChangeApplied
add
(Collection<? extends OWLAxiom> axioms) A convenience method that adds a set of axioms to an ontology.default ChangeApplied
A convenience method that adds a set of axioms to an ontology.addAxioms
(Collection<? extends OWLAxiom> axioms) A convenience method that adds a set of axioms to an ontology.A convenience method that adds a set of axioms to an ontology.A convenience method that adds a set of axioms to an ontology.
-
Method Details
-
addAxioms
A convenience method that adds a set of axioms to an ontology. The appropriate AddAxiom change objects are automatically generated.- Parameters:
axioms
- The axioms to be added. Notnull
.- Returns:
- ChangeApplied.SUCCESSFULLY if the axiom is added, ChangeApplied.UNSUCCESSFULLY otherwise.
-
addAxioms
A convenience method that adds a set of axioms to an ontology. The appropriate AddAxiom change objects are automatically generated.- Parameters:
axioms
- The axioms to be added. Notnull
.- Returns:
- ChangeApplied.SUCCESSFULLY if the axiom is added, ChangeApplied.UNSUCCESSFULLY otherwise.
-
add
A convenience method that adds a set of axioms to an ontology. The appropriate AddAxiom change objects are automatically generated.- Parameters:
axioms
- The axioms to be added. Notnull
.- Returns:
- ChangeApplied.SUCCESSFULLY if the axiom is added, ChangeApplied.UNSUCCESSFULLY otherwise.
-
addAxioms
A convenience method that adds a set of axioms to an ontology. The appropriate AddAxiom change objects are automatically generated.- Parameters:
axioms
- The axioms to be added. Notnull
.- Returns:
- ChangeApplied.SUCCESSFULLY if the axiom is added, ChangeApplied.UNSUCCESSFULLY otherwise.
-
add
A convenience method that adds a set of axioms to an ontology. The appropriate AddAxiom change objects are automatically generated.- Parameters:
axioms
- The axioms to be added. Notnull
.- Returns:
- ChangeApplied.SUCCESSFULLY if the axiom is added, ChangeApplied.UNSUCCESSFULLY otherwise.
-