Interface OWLDataComplementOf

All Superinterfaces:
AsOWLDatatype, Comparable<OWLObject>, HasAnnotationPropertiesInSignature, HasAnonymousIndividuals, HasClassesInSignature, HasComponents, HasContainsEntityInSignature, HasDataPropertiesInSignature, HasDatatypesInSignature, HasHashIndex, HasIndex, HasIndividualsInSignature, HasObjectPropertiesInSignature, HasSignature, IsAnonymous, OWLDataRange, OWLObject, OWLPropertyRange, Serializable, SWRLPredicate
All Known Implementing Classes:
OWLDataComplementOfImpl

public interface OWLDataComplementOf extends OWLDataRange
Represents DataComplementOf 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.
    • getDataRange

      OWLDataRange getDataRange()
      Gets the data range which this data range is a complement of.
      Returns:
      The complemented data range.
    • getDataRangeType

      default DataRangeType getDataRangeType()
      Description copied from interface: OWLDataRange
      Gets the type of this data range.
      Specified by:
      getDataRangeType in interface OWLDataRange
      Returns:
      The data range type
    • 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(OWLDataVisitor visitor)
      Specified by:
      accept in interface OWLDataRange
      Parameters:
      visitor - visitor
    • accept

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

      default void accept(OWLDataRangeVisitor visitor)
      Specified by:
      accept in interface OWLDataRange
      Parameters:
      visitor - visitor
    • accept

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