org.semanticweb.owl.model
Interface OWLDataRange

All Superinterfaces:
java.lang.Comparable<OWLObject>, OWLObject, OWLPropertyRange
All Known Subinterfaces:
OWLDataComplementOf, OWLDataOneOf, OWLDataRangeRestriction, OWLDataType

public interface OWLDataRange
extends OWLObject, OWLPropertyRange

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group Date: 24-Oct-2006 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).


Method Summary
 void accept(OWLDataVisitor visitor)
           
<O> O
accept(OWLDataVisitorEx<O> visitor)
           
 OWLDataType asOWLDataType()
           
 boolean isDataType()
          Determines if this data range is a datatype (int, float, ...)
 boolean isTopDataType()
          Determines if this data range is the top data type.
 
Methods inherited from interface org.semanticweb.owl.model.OWLObject
accept, accept, getClassesInSignature, getDataPropertiesInSignature, getIndividualsInSignature, getObjectPropertiesInSignature, getSignature
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

isDataType

boolean isDataType()
Determines if this data range is a datatype (int, float, ...)

Returns:
true if this datarange is a datatype, or false if it is not a datatype and is some other data range such as a data range restriction, data oneOf or data complementOf.

isTopDataType

boolean isTopDataType()
Determines if this data range is the top data type.

Returns:
true if this data range is the top datatype otherwise false

asOWLDataType

OWLDataType asOWLDataType()

accept

void accept(OWLDataVisitor visitor)

accept

<O> O accept(OWLDataVisitorEx<O> visitor)