Interface OWLNaryDataRange

All Superinterfaces:
AsOWLDatatype, Comparable<OWLObject>, HasAnnotationPropertiesInSignature, HasAnonymousIndividuals, HasClassesInSignature, HasComponents, HasContainsEntityInSignature, HasDataPropertiesInSignature, HasDatatypesInSignature, HasHashIndex, HasIndex, HasIndividualsInSignature, HasObjectPropertiesInSignature, HasOperands<OWLDataRange>, HasSignature, IsAnonymous, OWLDataRange, OWLObject, OWLPropertyRange, Serializable, SWRLPredicate
All Known Subinterfaces:
OWLDataIntersectionOf, OWLDataUnionOf
All Known Implementing Classes:
OWLDataIntersectionOfImpl, OWLDataUnionOfImpl, OWLNaryDataRangeImpl

public interface OWLNaryDataRange extends OWLDataRange, HasOperands<OWLDataRange>
Since:
3.0.0
Author:
Matthew Horridge, The University of Manchester, Information Management 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.
    • getOperands

      default Set<OWLDataRange> getOperands()
      Returns:
      the data ranges. The set that is returned is a copy; modifications to the returned set will not be reflected in this object.
    • operands

      Stream<OWLDataRange> operands()
      Description copied from interface: HasOperands
      Gets the operands - e.g., the individuals in a sameAs axiom, or the classes in an equivalent classes axiom.
      Specified by:
      operands in interface HasOperands<OWLDataRange>
      Returns:
      the data ranges