public class OWLDatatypeImpl extends OWLObjectImpl implements OWLDatatype
asOWLDataProperty, isOWLDataPropertyasOWLAnnotationProperty, isOWLAnnotationPropertyasOWLObjectProperty, 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()
Returns a string representation that can be used as the ID of this
entity.
|
annotationPropertiesInSignature, anonymousIndividuals, classesInSignature, compareTo, containsEntityInSignature, dataPropertiesInSignature, datatypesInSignature, equals, hashCode, individualsInSignature, nestedClassExpressions, objectPropertiesInSignature, signature, toStringaccept, accept, accept, accept, accept, accept, accept, accept, accept, accept, getDataRangeType, getEntityType, hashIndex, typeIndexcomponentsgetNestedClassExpressions, hasSharedStructure, isAnonymousExpression, isAxiom, isBottomEntity, isIndividual, isIRI, isOntology, nestedClassExpressionscompareTogetSignature, signaturecontainsEntityInSignatureanonymousIndividuals, getAnonymousIndividualsclassesInSignature, getClassesInSignaturegetObjectPropertiesInSignature, objectPropertiesInSignaturedataPropertiesInSignature, getDataPropertiesInSignaturegetIndividualsInSignature, individualsInSignaturedatatypesInSignature, getDatatypesInSignatureannotationPropertiesInSignature, getAnnotationPropertiesInSignaturecomponentsAnnotationsFirst, componentsWithoutAnnotationsisAnonymousasOWLClass, isOWLClassasOWLDataProperty, isOWLDataPropertyasOWLDatatypeasOWLAnnotationProperty, isOWLAnnotationPropertyasOWLNamedIndividual, isOWLNamedIndividualasOWLObjectProperty, isOWLObjectPropertyaddAnonymousIndividualsToSet, addSignatureEntitiesToSetpublic OWLDatatypeImpl(IRI iri)
iri - datatype iripublic boolean isTopEntity()
OWLObjectisTopEntity in interface OWLObjecttrue if this object corresponds to one of the above
entities.public boolean isRDFPlainLiteral()
OWLDatatyperdf:PlainLiteral.isRDFPlainLiteral in interface OWLDatatypetrue if this datatype has the IRI
rdf:PlainLiteral otherwise falsepublic String toStringID()
OWLEntitytoStringID in interface OWLEntitypublic boolean isBuiltIn()
OWLEntitypublic OWL2Datatype getBuiltInDatatype()
OWLDatatypetruegetBuiltInDatatype in interface OWLDatatypepublic boolean isDouble()
OWLDatatypexsd:double.isDouble in interface OWLDatatypetrue if this datatype has the IRI xsd:double,
otherwise false.public boolean isFloat()
OWLDatatypexsd:float.isFloat in interface OWLDatatypetrue if this datatype has the IRI xsd:float,
otherwise false.public boolean isInteger()
OWLDatatypexsd:integer.isInteger in interface OWLDatatypetrue if this datatype has the IRI xsd:integer,
otherwise false.public boolean isString()
OWLDatatypexsd:string.isString in interface OWLDatatypetrue if this datatype has the IRI xsd:string,
otherwise false.public boolean isBoolean()
OWLDatatypexsd:boolean.isBoolean in interface OWLDatatypetrue if this datatype has the IRI xsd:boolean,
otherwise false.public boolean isTopDatatype()
OWLDataRangeisTopDatatype in interface OWLDataRangetrue if this data range is the top datatype otherwise
falsepublic boolean isOWLDatatype()
AsOWLDatatypeisOWLDatatype in interface AsOWLDatatypetrue if this entity is an OWLDatatype, otherwise
falseCopyright © 2017 The University of Manchester. All Rights Reserved.