public class RemoveAxiom extends OWLAxiomChange
Constructor and Description |
---|
RemoveAxiom(OWLOntology ont,
OWLAxiom axiom) |
Modifier and Type | Method and Description |
---|---|
void |
accept(OWLOntologyChangeVisitor visitor)
Accepts a visitor
|
<O> O |
accept(OWLOntologyChangeVisitorEx<O> visitor)
Accepts a visitor
|
boolean |
equals(Object obj) |
RemoveAxiomData |
getChangeData()
Gets the data (independent of the ontology) associated with this specific change.
|
int |
hashCode() |
boolean |
isAddAxiom()
Determines if the change will add an axiom to an ontology.
|
OWLOntologyChange |
reverseChange() |
String |
toString() |
getAxiom, getSignature, isAxiomChange, isImportChange
getAddedAxiom, getAddedOrRemovedAxiom, getChangeRecord, getOntology, getRemovedAxiom, isAxiomChange, isRemoveAxiom
public RemoveAxiom(@Nonnull OWLOntology ont, @Nonnull OWLAxiom axiom)
ont
- the ontology to which the change is to be appliedaxiom
- the axiom to be removedpublic boolean isAddAxiom()
OWLOntologyChange
isAddAxiom
in class OWLOntologyChange
true
if the change is an AddAxiom change and it will add an axiom to an
ontology, false
otherwise.@Nonnull public RemoveAxiomData getChangeData()
OWLOntologyChange
getChangeData
in class OWLOntologyChange
OWLOntologyChangeData
associated with this OWLOntologyChange
.public void accept(OWLOntologyChangeVisitor visitor)
OWLOntologyChange
accept
in class OWLOntologyChange
visitor
- The visitorpublic <O> O accept(OWLOntologyChangeVisitorEx<O> visitor)
OWLOntologyChange
accept
in class OWLOntologyChange
O
- visitor return typevisitor
- The visitorpublic OWLOntologyChange reverseChange()
reverseChange
in class OWLOntologyChange
Copyright © 2020 The University of Manchester. All rights reserved.