Class SubjectClassAssertionRemove
java.lang.Object
cz.cvut.kbss.ontodriver.owlapi.change.SubjectClassAssertionRemove
- All Implemented Interfaces:
TransactionalChange
-
Constructor Summary
ConstructorsConstructorDescriptionSubjectClassAssertionRemove
(org.semanticweb.owlapi.model.OWLNamedIndividual subject) -
Method Summary
Modifier and TypeMethodDescriptionboolean
overrides
(TransactionalChange existing) Whether this change overrides the specified existing change.List<org.semanticweb.owlapi.model.OWLOntologyChange>
toOwlChanges
(org.semanticweb.owlapi.model.OWLOntology targetOntology) Translates this transactional change to corresponding OWLAPI change axioms.
-
Constructor Details
-
SubjectClassAssertionRemove
public SubjectClassAssertionRemove(org.semanticweb.owlapi.model.OWLNamedIndividual subject)
-
-
Method Details
-
toOwlChanges
public List<org.semanticweb.owlapi.model.OWLOntologyChange> toOwlChanges(org.semanticweb.owlapi.model.OWLOntology targetOntology) Description copied from interface:TransactionalChange
Translates this transactional change to corresponding OWLAPI change axioms.- Specified by:
toOwlChanges
in interfaceTransactionalChange
- Parameters:
targetOntology
- Ontology to which the changes are applied- Returns:
- A list of OWL change axioms corresponding to this change
-
overrides
Description copied from interface:TransactionalChange
Whether this change overrides the specified existing change.The most typical case is a subject-property remove change overriding an existing add axiom asserting the specified property value.
Note that a remove change need not be overridden by an add change, because if applied in a sequence, the addition occurs after removal.
- Specified by:
overrides
in interfaceTransactionalChange
- Parameters:
existing
- Possibly overridden existing transactional change- Returns:
true
if this change overrides the specified one,false
otherwise
-