public class OWLDataComplementOfImpl extends OWLObjectImpl implements OWLDataComplementOf
Constructor and Description |
---|
OWLDataComplementOfImpl(OWLDataRange dataRange) |
Modifier and Type | Method and Description |
---|---|
void |
accept(OWLDataRangeVisitor visitor)
Accepts a visitor
|
<O> O |
accept(OWLDataRangeVisitorEx<O> visitor)
Accepts a visitor
|
void |
accept(OWLDataVisitor visitor)
Accepts a visitor
|
<O> O |
accept(OWLDataVisitorEx<O> visitor)
Accepts a visitor
|
void |
accept(OWLObjectVisitor visitor)
Accepts a visitor
|
<O> O |
accept(OWLObjectVisitorEx<O> visitor)
Accepts a 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).
|
boolean |
equals(Object obj) |
OWLDataRange |
getDataRange()
Gets the data range which this data range is a complement of.
|
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.
|
compareTo, containsEntityInSignature, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, hashCode, isBottomEntity, isTopEntity, toString
getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, isBottomEntity, isTopEntity
compareTo
containsEntityInSignature
public OWLDataComplementOfImpl(OWLDataRange dataRange)
dataRange
- datarangepublic DataRangeType getDataRangeType()
OWLDataRange
getDataRangeType
in interface OWLDataRange
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 boolean isTopDatatype()
OWLDataRange
isTopDatatype
in interface OWLDataRange
true
if this data range is the top datatype otherwise
false
public OWLDataRange getDataRange()
OWLDataComplementOf
getDataRange
in interface OWLDataComplementOf
public OWLDatatype asOWLDatatype()
OWLDataRange
asOWLDatatype
in interface OWLDataRange
OWLDatatype
public boolean equals(Object obj)
equals
in class OWLObjectImpl
public void accept(OWLDataVisitor visitor)
OWLDataRange
accept
in interface OWLDataRange
visitor
- The visitorpublic void accept(OWLObjectVisitor visitor)
OWLObject
public <O> O accept(OWLDataVisitorEx<O> visitor)
OWLDataRange
accept
in interface OWLDataRange
O
- visitor return typevisitor
- The visitorpublic <O> O accept(OWLObjectVisitorEx<O> visitor)
OWLObject
public void accept(OWLDataRangeVisitor visitor)
OWLDataRange
accept
in interface OWLDataRange
visitor
- The visitorpublic <O> O accept(OWLDataRangeVisitorEx<O> visitor)
OWLDataRange
accept
in interface OWLDataRange
O
- visitor return typevisitor
- The visitorCopyright © 2017 The University of Manchester. All Rights Reserved.