public interface OWLDatatype extends OWLDataRange, OWLLogicalEntity, OWLNamedObject
asOWLDataProperty, isOWLDataProperty
asOWLAnnotationProperty, isOWLAnnotationProperty
asOWLObjectProperty, isOWLObjectProperty
Modifier and Type | Method and Description |
---|---|
default void |
accept(OWLDataRangeVisitor visitor) |
default <O> O |
accept(OWLDataRangeVisitorEx<O> visitor) |
default void |
accept(OWLDataVisitor visitor) |
default <O> O |
accept(OWLDataVisitorEx<O> visitor) |
default void |
accept(OWLEntityVisitor visitor) |
default <O> O |
accept(OWLEntityVisitorEx<O> visitor) |
default void |
accept(OWLNamedObjectVisitor visitor)
Accepts a visitor.
|
default <O> O |
accept(OWLNamedObjectVisitorEx<O> visitor)
Accepts a visitor.
|
default void |
accept(OWLObjectVisitor visitor)
Accepts a visitor
|
default <O> O |
accept(OWLObjectVisitorEx<O> visitor)
Accepts a visitor
|
OWL2Datatype |
getBuiltInDatatype()
Gets the built in datatype information if this datatype is a built in
datatype.
|
default DataRangeType |
getDataRangeType()
Gets the type of this data range.
|
default EntityType<?> |
getEntityType()
Gets the entity type for this entity.
|
default int |
hashIndex() |
boolean |
isBoolean()
Determines if this datatype has the IRI
xsd:boolean . |
boolean |
isDouble()
Determines if this datatype has the IRI
xsd:double . |
boolean |
isFloat()
Determines if this datatype has the IRI
xsd:float . |
boolean |
isInteger()
Determines if this datatype has the IRI
xsd:integer . |
boolean |
isRDFPlainLiteral()
Determines if this datatype has the IRI
rdf:PlainLiteral . |
boolean |
isString()
Determines if this datatype has the IRI
xsd:string . |
default int |
typeIndex() |
isTopDatatype
components, initHashCode
isAnonymous, isBuiltIn, isType, toStringID
getNestedClassExpressions, hashIteration, hasSharedStructure, isAnonymousExpression, isAxiom, isBottomEntity, isIndividual, isIRI, isOntology, isTopEntity, nestedClassExpressions
compareTo
getSignature, signature, unsortedSignature
containsEntityInSignature
anonymousIndividuals, getAnonymousIndividuals
classesInSignature, getClassesInSignature
getObjectPropertiesInSignature, objectPropertiesInSignature
dataPropertiesInSignature, getDataPropertiesInSignature
getIndividualsInSignature, individualsInSignature
datatypesInSignature, getDatatypesInSignature
annotationPropertiesInSignature, getAnnotationPropertiesInSignature
componentsAnnotationsFirst, componentsWithoutAnnotations
isNamed
asOWLClass, isOWLClass
asOWLDataProperty, isOWLDataProperty
asOWLDatatype, isOWLDatatype
asOWLAnnotationProperty, isOWLAnnotationProperty
asOWLNamedIndividual, isOWLNamedIndividual
asOWLObjectProperty, isOWLObjectProperty
default int hashIndex()
hashIndex
in interface HasHashIndex
default int typeIndex()
default EntityType<?> getEntityType()
OWLEntity
getEntityType
in interface OWLEntity
default DataRangeType getDataRangeType()
OWLDataRange
getDataRangeType
in interface OWLDataRange
OWL2Datatype getBuiltInDatatype()
true
OWLRuntimeException
- if this datatype is not a built in datatype.boolean isString()
xsd:string
.true
if this datatype has the IRI xsd:string
, otherwise false
.boolean isInteger()
xsd:integer
.true
if this datatype has the IRI xsd:integer
, otherwise false
.boolean isFloat()
xsd:float
.true
if this datatype has the IRI xsd:float
, otherwise false
.boolean isDouble()
xsd:double
.true
if this datatype has the IRI xsd:double
, otherwise false
.boolean isBoolean()
xsd:boolean
.true
if this datatype has the IRI xsd:boolean
, otherwise false
.boolean isRDFPlainLiteral()
rdf:PlainLiteral
.true
if this datatype has the IRI rdf:PlainLiteral
otherwise false
default void accept(OWLObjectVisitor visitor)
OWLObject
default <O> O accept(OWLObjectVisitorEx<O> visitor)
OWLObject
default void accept(OWLEntityVisitor visitor)
default <O> O accept(OWLEntityVisitorEx<O> visitor)
default void accept(OWLNamedObjectVisitor visitor)
OWLNamedObject
accept
in interface OWLNamedObject
visitor
- The visitordefault <O> O accept(OWLNamedObjectVisitorEx<O> visitor)
OWLNamedObject
accept
in interface OWLNamedObject
O
- visitor return typevisitor
- The visitordefault void accept(OWLDataVisitor visitor)
accept
in interface OWLDataRange
visitor
- visitordefault <O> O accept(OWLDataVisitorEx<O> visitor)
accept
in interface OWLDataRange
O
- visitor return typevisitor
- visitordefault void accept(OWLDataRangeVisitor visitor)
accept
in interface OWLDataRange
visitor
- visitordefault <O> O accept(OWLDataRangeVisitorEx<O> visitor)
accept
in interface OWLDataRange
O
- visitor return typevisitor
- visitorCopyright © 2020 The University of Manchester. All rights reserved.