public class AddAxiom extends OWLAxiomChange
| Constructor and Description |
|---|
AddAxiom(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) |
AddAxiomData |
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, isImportChangegetChangeRecord, getOntology, isRemoveAxiompublic AddAxiom(@Nonnull OWLOntology ont, @Nonnull OWLAxiom axiom)
ont - the ontology to which the change is to be appliedaxiom - the axiom to be added@Nonnull public AddAxiomData getChangeData()
OWLOntologyChangegetChangeData in class OWLOntologyChangeOWLOntologyChangeData associated with this
OWLOntologyChange.public boolean isAddAxiom()
OWLOntologyChangeisAddAxiom in class OWLOntologyChangetrue if the change is an AddAxiom change and it will add
an axiom to an ontology, false otherwise.public void accept(@Nonnull OWLOntologyChangeVisitor visitor)
OWLOntologyChangeaccept in class OWLOntologyChangevisitor - The visitorpublic <O> O accept(@Nonnull OWLOntologyChangeVisitorEx<O> visitor)
OWLOntologyChangeaccept in class OWLOntologyChangeO - visitor return typevisitor - The visitorpublic OWLOntologyChange reverseChange()
reverseChange in class OWLOntologyChangeCopyright © 2016 The University of Manchester. All Rights Reserved.