public class OWLDatatypeImpl extends OWLObjectImpl implements OWLDatatype
asOWLDataProperty, isOWLDataProperty
asOWLAnnotationProperty, isOWLAnnotationProperty
asOWLObjectProperty, isOWLObjectProperty
Constructor and Description |
---|
OWLDatatypeImpl(IRI iri) |
Modifier and Type | Method and Description |
---|---|
OWL2Datatype |
getBuiltInDatatype()
Gets the built in datatype information if this datatype is a built in
datatype.
|
IRI |
getIRI()
Gets the IRI of this object.
|
boolean |
isBoolean()
Determines if this datatype has the IRI
xsd:boolean . |
boolean |
isBuiltIn()
Determines if this entity is a built in entity.
|
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 |
isOWLDatatype()
A convenience method that determines if this entity is an OWLDatatype.
|
boolean |
isRDFPlainLiteral()
Determines if this datatype has the IRI
rdf:PlainLiteral . |
boolean |
isString()
Determines if this datatype has the IRI
xsd:string . |
boolean |
isTopDatatype()
Determines if this data range is the top data type.
|
boolean |
isTopEntity()
Determines if this object is either, owl:Thing (the top class), owl:topObjectProperty (the
top object property) , owl:topDataProperty (the top data property) or rdfs:Literal (the top
datatype).
|
String |
toStringID() |
annotationPropertiesInSignature, anonymousIndividuals, classesInSignature, compareTo, containsEntityInSignature, dataPropertiesInSignature, datatypesInSignature, equals, hashCode, individualsInSignature, nestedClassExpressions, objectPropertiesInSignature, signature, toString
accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, getDataRangeType, getEntityType, hashIndex, typeIndex
components, initHashCode
isAnonymous, isType
getNestedClassExpressions, hashIteration, hasSharedStructure, isAnonymousExpression, isAxiom, isBottomEntity, isIndividual, isIRI, isOntology, 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
asOWLAnnotationProperty, isOWLAnnotationProperty
asOWLNamedIndividual, isOWLNamedIndividual
asOWLObjectProperty, isOWLObjectProperty
addAnonymousIndividualsToSet, addSignatureEntitiesToSet
public OWLDatatypeImpl(IRI iri)
iri
- datatype iripublic boolean isTopEntity()
OWLObject
isTopEntity
in interface OWLObject
true
if this object corresponds to one of the above entities.public boolean isRDFPlainLiteral()
OWLDatatype
rdf:PlainLiteral
.isRDFPlainLiteral
in interface OWLDatatype
true
if this datatype has the IRI rdf:PlainLiteral
otherwise false
public String toStringID()
toStringID
in interface OWLEntity
toString()
representation of the IRIpublic boolean isBuiltIn()
OWLEntity
public OWL2Datatype getBuiltInDatatype()
OWLDatatype
true
getBuiltInDatatype
in interface OWLDatatype
public boolean isDouble()
OWLDatatype
xsd:double
.isDouble
in interface OWLDatatype
true
if this datatype has the IRI xsd:double
, otherwise false
.public boolean isFloat()
OWLDatatype
xsd:float
.isFloat
in interface OWLDatatype
true
if this datatype has the IRI xsd:float
, otherwise false
.public boolean isInteger()
OWLDatatype
xsd:integer
.isInteger
in interface OWLDatatype
true
if this datatype has the IRI xsd:integer
, otherwise false
.public boolean isString()
OWLDatatype
xsd:string
.isString
in interface OWLDatatype
true
if this datatype has the IRI xsd:string
, otherwise false
.public boolean isBoolean()
OWLDatatype
xsd:boolean
.isBoolean
in interface OWLDatatype
true
if this datatype has the IRI xsd:boolean
, otherwise false
.public boolean isTopDatatype()
OWLDataRange
isTopDatatype
in interface OWLDataRange
true
if this data range is the top datatype otherwise false
public boolean isOWLDatatype()
AsOWLDatatype
isOWLDatatype
in interface AsOWLDatatype
true
if this entity is an OWLDatatype, otherwise false
Copyright © 2020 The University of Manchester. All rights reserved.