public abstract class OWLNaryDataRangeImpl extends OWLObjectImpl implements OWLNaryDataRange
Modifier | Constructor and Description |
---|---|
protected |
OWLNaryDataRangeImpl(java.util.Set<? extends OWLDataRange> operands) |
Modifier and Type | Method and Description |
---|---|
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).
|
java.util.Set<OWLDataRange> |
getOperands() |
boolean |
isDatatype()
Determines if this data range is a datatype (int, float, ...)
|
boolean |
isTopDatatype()
Determines if this data range is the top data type.
|
compareLists, compareObjectOfSameType, compareSets, compareTo, equals, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getOWLDataFactory, getSignature, hashCode, isBottomEntity, isTopEntity, setOWLDataFactory, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
accept, accept, accept, accept, getDataRangeType
accept, accept, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, isBottomEntity, isTopEntity
protected OWLNaryDataRangeImpl(java.util.Set<? extends OWLDataRange> operands)
public java.util.Set<OWLDataRange> getOperands()
getOperands
in interface OWLNaryDataRange
public boolean isTopDatatype()
OWLDataRange
isTopDatatype
in interface OWLDataRange
true
if this data range is the top datatype otherwise
false
public boolean isDatatype()
OWLDataRange
isDatatype
in interface OWLDataRange
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.public OWLDatatype asOWLDatatype()
OWLDataRange
asOWLDatatype
in interface OWLDataRange
OWLDatatype