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 TypeMethodDescriptionboolean
org.semanticweb.owlapi.model.OWLNamedIndividual
int
hashCode()
boolean
overrides
(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, wait
Methods 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: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
-
getSubject
public org.semanticweb.owlapi.model.OWLNamedIndividual getSubject() -
getProperty
-
equals
-
hashCode
public int hashCode() -
toString
-