Interface OWLObjectComplementOf

All Superinterfaces:
AsOWLClass, Comparable<OWLObject>, HasAnnotationPropertiesInSignature, HasAnonymousIndividuals, HasClassesInSignature, HasComponents, HasContainsEntityInSignature, HasDataPropertiesInSignature, HasDatatypesInSignature, HasHashIndex, HasIndex, HasIndividualsInSignature, HasObjectPropertiesInSignature, HasSignature, IsAnonymous, OWLAnonymousClassExpression, OWLBooleanClassExpression, OWLClassExpression, OWLObject, OWLPropertyRange, Serializable, SWRLPredicate
All Known Implementing Classes:
OWLObjectComplementOfImpl

public interface OWLObjectComplementOf extends OWLBooleanClassExpression
Represents an ObjectComplementOf class expression in the OWL 2 Specification.
Since:
2.0.0
Author:
Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
  • Method Details

    • components

      default Stream<?> components()
      Specified by:
      components in interface HasComponents
      Returns:
      components as a stream. The stream is ordered (by visit order) but not sorted. Implementations that override components() must ensure the order is compatible with equals() and hashCode().
    • initHashCode

      default int initHashCode()
      Specified by:
      initHashCode in interface OWLObject
      Returns:
      hash code for the object; called on first use, cached by OWLObjectImpl in the default implementation.
    • hashIndex

      default int hashIndex()
      Specified by:
      hashIndex in interface HasHashIndex
      Returns:
      index for this type. This is not a hashcode for instances, rather a hashcode for the types.
    • typeIndex

      default int typeIndex()
      Specified by:
      typeIndex in interface HasIndex
      Returns:
      index for this type. This is not a hashcode for instances, rather a sorting index for the types.
    • getClassExpressionType

      default ClassExpressionType getClassExpressionType()
      Description copied from interface: OWLClassExpression
      Gets the class expression type for this class expression.
      Specified by:
      getClassExpressionType in interface OWLClassExpression
      Returns:
      The class expression type
    • getOperand

      OWLClassExpression getOperand()
      Returns:
      the wrapped expression
    • accept

      default void accept(OWLObjectVisitor visitor)
      Description copied from interface: OWLObject
      Accepts a visitor
      Specified by:
      accept in interface OWLObject
      Parameters:
      visitor - The visitor
    • accept

      default <O> O accept(OWLObjectVisitorEx<O> visitor)
      Description copied from interface: OWLObject
      Accepts a visitor
      Specified by:
      accept in interface OWLObject
      Type Parameters:
      O - visitor return type
      Parameters:
      visitor - The visitor
      Returns:
      visitor value
    • accept

      default void accept(OWLClassExpressionVisitor visitor)
      Description copied from interface: OWLClassExpression
      Accepts a visit from an OWLExpressionVisitor.
      Specified by:
      accept in interface OWLClassExpression
      Parameters:
      visitor - The visitor that wants to visit
    • accept

      default <O> O accept(OWLClassExpressionVisitorEx<O> visitor)
      Specified by:
      accept in interface OWLClassExpression
      Type Parameters:
      O - visitor return type
      Parameters:
      visitor - visitor
      Returns:
      visitor return value