Package org.semanticweb.owlapi.model
Class RemoveAxiom
java.lang.Object
org.semanticweb.owlapi.model.OWLOntologyChange
org.semanticweb.owlapi.model.OWLAxiomChange
org.semanticweb.owlapi.model.RemoveAxiom
- All Implemented Interfaces:
Serializable
,HasSignature
Represents an ontology change were an axiom will be removed from an ontology
if the change is applied to an ontology.
- Since:
- 2.0.0
- Author:
- Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(OWLOntologyChangeVisitor visitor) Accepts a visitor.<O> O
accept
(OWLOntologyChangeVisitorEx<O> visitor) Accepts a visitor.boolean
Gets the data (independent of the ontology) associated with this specific change.int
hashCode()
toString()
Methods inherited from class org.semanticweb.owlapi.model.OWLAxiomChange
getAxiom, isAxiomChange, signature
Methods inherited from class org.semanticweb.owlapi.model.OWLOntologyChange
getAddedAxiom, getAddedOrRemovedAxiom, getChangeRecord, getOntology, getRemovedAxiom, isAddAxiom, isAxiomChange, isImportChange, isRemoveAxiom
Methods inherited from interface org.semanticweb.owlapi.model.HasSignature
getSignature, unsortedSignature
-
Constructor Details
-
RemoveAxiom
- Parameters:
ont
- the ontology to which the change is to be appliedaxiom
- the axiom to be removed
-
-
Method Details
-
getChangeData
Description copied from class:OWLOntologyChange
Gets the data (independent of the ontology) associated with this specific change.- Specified by:
getChangeData
in classOWLOntologyChange
- Returns:
- The
OWLOntologyChangeData
associated with thisOWLOntologyChange
.
-
hashCode
public int hashCode() -
equals
-
accept
Description copied from class:OWLOntologyChange
Accepts a visitor.- Specified by:
accept
in classOWLOntologyChange
- Parameters:
visitor
- The visitor
-
accept
Description copied from class:OWLOntologyChange
Accepts a visitor.- Specified by:
accept
in classOWLOntologyChange
- Type Parameters:
O
- visitor return type- Parameters:
visitor
- The visitor- Returns:
- visitor value
-
toString
-
reverseChange
- Specified by:
reverseChange
in classOWLOntologyChange
- Returns:
- the reverse of this change; can be used to create undo changes.
-