Interface OWLDataRange

All Superinterfaces:
AsOWLDatatype, Comparable<OWLObject>, HasAnnotationPropertiesInSignature, HasAnonymousIndividuals, HasClassesInSignature, HasComponents, HasContainsEntityInSignature, HasDataPropertiesInSignature, HasDatatypesInSignature, HasHashIndex, HasIndex, HasIndividualsInSignature, HasObjectPropertiesInSignature, HasSignature, IsAnonymous, OWLObject, OWLPropertyRange, Serializable, SWRLPredicate
All Known Subinterfaces:
OWLDataComplementOf, OWLDataIntersectionOf, OWLDataOneOf, OWLDatatype, OWLDatatypeRestriction, OWLDataUnionOf, OWLNaryDataRange
All Known Implementing Classes:
OWL2DatatypeImpl, OWLDataComplementOfImpl, OWLDataIntersectionOfImpl, OWLDataOneOfImpl, OWLDatatypeImpl, OWLDatatypeRestrictionImpl, OWLDataUnionOfImpl, OWLNaryDataRangeImpl

public interface OWLDataRange extends OWLObject, OWLPropertyRange, SWRLPredicate, AsOWLDatatype
Represents a DataRange in the OWL 2 Specification.
A high level interface which represents a data range. Example of data ranges are datatypes (e.g. int, float, double, string, ...), complements of data ranges (e.g. not(int)), data enumerations (data oneOfs), datatype restrictions (e.g. int > 3).
Since:
2.0.0
Author:
Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
  • Method Details

    • isTopDatatype

      default boolean isTopDatatype()
      Determines if this data range is the top data type.
      Returns:
      true if this data range is the top datatype otherwise false
    • getDataRangeType

      DataRangeType getDataRangeType()
      Gets the type of this data range.
      Returns:
      The data range type
    • accept

      void accept(OWLDataVisitor visitor)
      Parameters:
      visitor - visitor
    • accept

      <O> O accept(OWLDataVisitorEx<O> visitor)
      Type Parameters:
      O - visitor return type
      Parameters:
      visitor - visitor
      Returns:
      visitor return value
    • accept

      void accept(OWLDataRangeVisitor visitor)
      Parameters:
      visitor - visitor
    • accept

      <O> O accept(OWLDataRangeVisitorEx<O> visitor)
      Type Parameters:
      O - visitor return type
      Parameters:
      visitor - visitor
      Returns:
      visitor return value