public interface OWLDataRange extends OWLObject, OWLPropertyRange, SWRLPredicate
Modifier and Type | Method and Description |
---|---|
void |
accept(OWLDataRangeVisitor visitor) |
<O> O |
accept(OWLDataRangeVisitorEx<O> visitor) |
void |
accept(OWLDataVisitor visitor) |
<O> O |
accept(OWLDataVisitorEx<O> visitor) |
OWLDatatype |
asOWLDatatype()
If this data range is a datatype then this method may be used to obtain it as a datatype (rather than
using an explicit cast).
|
DataRangeType |
getDataRangeType()
Gets the type of this data range
|
boolean |
isDatatype()
Determines if this data range is a datatype (int, float, ...)
|
boolean |
isTopDatatype()
Determines if this data range is the top data type.
|
accept, accept, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, isBottomEntity, isTopEntity
boolean isDatatype()
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.boolean isTopDatatype()
true
if this data range is the top datatype otherwise
false
OWLDatatype asOWLDatatype()
OWLDatatype
DataRangeType getDataRangeType()
void accept(OWLDataVisitor visitor)
<O> O accept(OWLDataVisitorEx<O> visitor)
void accept(OWLDataRangeVisitor visitor)
<O> O accept(OWLDataRangeVisitorEx<O> visitor)