Class SubjectPropertyRemove<T extends org.semanticweb.owlapi.model.OWLProperty>
java.lang.Object
cz.cvut.kbss.ontodriver.owlapi.change.SubjectPropertyRemove<T>
- All Implemented Interfaces:
TransactionalChange
- Direct Known Subclasses:
SubjectAnnotationPropertyRemove,SubjectDataPropertyRemove,SubjectObjectPropertyRemove
public abstract class SubjectPropertyRemove<T extends org.semanticweb.owlapi.model.OWLProperty>
extends Object
implements TransactionalChange
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSubjectPropertyRemove(org.semanticweb.owlapi.model.OWLNamedIndividual subject, T property) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.semanticweb.owlapi.model.OWLNamedIndividualinthashCode()booleanoverrides(TransactionalChange existing) Whether this change overrides the specified existing change.toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cz.cvut.kbss.ontodriver.owlapi.change.TransactionalChange
toOwlChanges
-
Field Details
-
subject
protected final org.semanticweb.owlapi.model.OWLNamedIndividual subject -
property
-
-
Constructor Details
-
SubjectPropertyRemove
-
-
Method Details
-
overrides
Description copied from interface:TransactionalChangeWhether 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:
overridesin interfaceTransactionalChange- Parameters:
existing- Possibly overridden existing transactional change- Returns:
trueif this change overrides the specified one,falseotherwise
-
getSubject
public org.semanticweb.owlapi.model.OWLNamedIndividual getSubject() -
getProperty
-
equals
-
hashCode
public int hashCode() -
toString
-