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 Details

    • subject

      protected final org.semanticweb.owlapi.model.OWLNamedIndividual subject
    • property

      protected final T extends org.semanticweb.owlapi.model.OWLProperty property
  • Constructor Details

    • SubjectPropertyRemove

      public SubjectPropertyRemove(org.semanticweb.owlapi.model.OWLNamedIndividual subject, T property)
  • Method Details

    • overrides

      public boolean overrides(TransactionalChange existing)
      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 interface TransactionalChange
      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

      public T getProperty()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object