Package org.semanticweb.owlapi.model
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
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).
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 Summary
Modifier and TypeMethodDescriptionvoid
accept
(OWLDataRangeVisitor visitor) <O> O
accept
(OWLDataRangeVisitorEx<O> visitor) void
accept
(OWLDataVisitor visitor) <O> O
accept
(OWLDataVisitorEx<O> visitor) Gets the type of this data range.default boolean
Determines if this data range is the top data type.Methods inherited from interface org.semanticweb.owlapi.model.AsOWLDatatype
asOWLDatatype, isOWLDatatype
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface org.semanticweb.owlapi.model.HasAnnotationPropertiesInSignature
annotationPropertiesInSignature, getAnnotationPropertiesInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasAnonymousIndividuals
anonymousIndividuals, getAnonymousIndividuals
Methods inherited from interface org.semanticweb.owlapi.model.HasClassesInSignature
classesInSignature, getClassesInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasComponents
components, componentsAnnotationsFirst, componentsWithoutAnnotations
Methods inherited from interface org.semanticweb.owlapi.model.HasContainsEntityInSignature
containsEntityInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasDataPropertiesInSignature
dataPropertiesInSignature, getDataPropertiesInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasDatatypesInSignature
datatypesInSignature, getDatatypesInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasHashIndex
hashIndex
Methods inherited from interface org.semanticweb.owlapi.model.HasIndividualsInSignature
getIndividualsInSignature, individualsInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasObjectPropertiesInSignature
getObjectPropertiesInSignature, objectPropertiesInSignature
Methods inherited from interface org.semanticweb.owlapi.model.HasSignature
getSignature, signature, unsortedSignature
Methods inherited from interface org.semanticweb.owlapi.model.IsAnonymous
isAnonymous, isNamed
Methods inherited from interface org.semanticweb.owlapi.model.OWLObject
accept, accept, getNestedClassExpressions, hasSharedStructure, initHashCode, isAnonymousExpression, isAxiom, isBottomEntity, isIndividual, isIRI, isOntology, isTopEntity, nestedClassExpressions
-
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 otherwisefalse
-
getDataRangeType
DataRangeType getDataRangeType()Gets the type of this data range.- Returns:
- The data range type
-
accept
- Parameters:
visitor
- visitor
-
accept
- Type Parameters:
O
- visitor return type- Parameters:
visitor
- visitor- Returns:
- visitor return value
-
accept
- Parameters:
visitor
- visitor
-
accept
- Type Parameters:
O
- visitor return type- Parameters:
visitor
- visitor- Returns:
- visitor return value
-