Class MutableRemoveAxiom
java.lang.Object
org.semanticweb.owlapi.model.OWLOntologyChange
org.semanticweb.owlapi.model.OWLAxiomChange
org.semanticweb.owlapi.model.RemoveAxiom
cz.cvut.kbss.ontodriver.owlapi.change.MutableRemoveAxiom
- All Implemented Interfaces:
- MutableAxiomChange,- TransactionalChange,- Serializable,- org.semanticweb.owlapi.model.HasSignature
public class MutableRemoveAxiom
extends org.semanticweb.owlapi.model.RemoveAxiom
implements MutableAxiomChange
Remove axiom wrapper which allows us to set ontology to which it is applied.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionMutableRemoveAxiom(org.semanticweb.owlapi.model.OWLOntology ont, org.semanticweb.owlapi.model.OWLAxiom axiom) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanorg.semanticweb.owlapi.model.OWLOntologyRetrieves this object's current ontology;inthashCode()voidsetOntology(org.semanticweb.owlapi.model.OWLOntology ontology) Sets ontology on this object.List<org.semanticweb.owlapi.model.OWLOntologyChange>toOwlChanges(org.semanticweb.owlapi.model.OWLOntology targetOntology) Translates this transactional change to corresponding OWLAPI change axioms.Methods inherited from class org.semanticweb.owlapi.model.RemoveAxiomaccept, accept, getChangeData, reverseChange, toStringMethods inherited from class org.semanticweb.owlapi.model.OWLAxiomChangegetAxiom, isAxiomChange, signatureMethods inherited from class org.semanticweb.owlapi.model.OWLOntologyChangegetAddedAxiom, getAddedOrRemovedAxiom, getChangeRecord, getRemovedAxiom, isAddAxiom, isAxiomChange, isImportChange, isRemoveAxiomMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.semanticweb.owlapi.model.HasSignaturegetSignature, unsortedSignatureMethods inherited from interface cz.cvut.kbss.ontodriver.owlapi.change.TransactionalChangeoverrides
- 
Constructor Details- 
MutableRemoveAxiompublic MutableRemoveAxiom(org.semanticweb.owlapi.model.OWLOntology ont, org.semanticweb.owlapi.model.OWLAxiom axiom) - Parameters:
- ont- the ontology to which the change is to be applied
- axiom- Axiom to remove
 
 
- 
- 
Method Details- 
setOntologypublic void setOntology(org.semanticweb.owlapi.model.OWLOntology ontology) Description copied from interface:MutableAxiomChangeSets ontology on this object.- Specified by:
- setOntologyin interface- MutableAxiomChange
- Parameters:
- ontology- The ontology to set
 
- 
toOwlChangespublic List<org.semanticweb.owlapi.model.OWLOntologyChange> toOwlChanges(org.semanticweb.owlapi.model.OWLOntology targetOntology) Description copied from interface:TransactionalChangeTranslates this transactional change to corresponding OWLAPI change axioms.- Specified by:
- toOwlChangesin interface- TransactionalChange
- Parameters:
- targetOntology- Ontology to which the changes are applied
- Returns:
- A list of OWL change axioms corresponding to this change
 
- 
getOntologyDescription copied from interface:MutableAxiomChangeRetrieves this object's current ontology;- Specified by:
- getOntologyin interface- MutableAxiomChange
- Overrides:
- getOntologyin class- org.semanticweb.owlapi.model.OWLOntologyChange
- Returns:
- OWLOntology
 
- 
equals- Overrides:
- equalsin class- org.semanticweb.owlapi.model.RemoveAxiom
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- org.semanticweb.owlapi.model.RemoveAxiom
 
 
-