public class OWL2DatatypeImpl extends Object implements OWLDatatype
asOWLDataProperty, isOWLDataPropertyasOWLAnnotationProperty, isOWLAnnotationPropertyasOWLObjectProperty, isOWLObjectProperty| Constructor and Description |
|---|
OWL2DatatypeImpl(OWL2Datatype owl2Datatype)
Creates an instance of
OWLDatatypeImplForOWL2Datatype for the specified
OWL2Datatype. |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(OWLObject o) |
boolean |
containsEntityInSignature(OWLEntity owlEntity)
Determines if the signature of this object contains the specified entity.
|
Stream<OWLDatatype> |
datatypesInSignature() |
boolean |
equals(Object obj) |
OWL2Datatype |
getBuiltInDatatype()
Gets the built in datatype information if this datatype is a built in
datatype.
|
DataRangeType |
getDataRangeType()
Gets the type of this data range.
|
IRI |
getIRI()
Gets the IRI of this object.
|
int |
hashCode() |
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).
|
Stream<OWLEntity> |
signature() |
String |
toString() |
String |
toStringID() |
accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, getEntityType, hashIndex, typeIndexcomponents, initHashCodeisAnonymous, isTypegetNestedClassExpressions, hashIteration, hasSharedStructure, isAnonymousExpression, isAxiom, isBottomEntity, isIndividual, isIRI, isOntology, nestedClassExpressionsgetSignature, unsortedSignatureanonymousIndividuals, getAnonymousIndividualsclassesInSignature, getClassesInSignaturegetObjectPropertiesInSignature, objectPropertiesInSignaturedataPropertiesInSignature, getDataPropertiesInSignaturegetIndividualsInSignature, individualsInSignaturegetDatatypesInSignatureannotationPropertiesInSignature, getAnnotationPropertiesInSignaturecomponentsAnnotationsFirst, componentsWithoutAnnotationsisNamedasOWLClass, isOWLClassasOWLDataProperty, isOWLDataPropertyasOWLDatatypeasOWLAnnotationProperty, isOWLAnnotationPropertyasOWLNamedIndividual, isOWLNamedIndividualasOWLObjectProperty, isOWLObjectPropertypublic OWL2DatatypeImpl(OWL2Datatype owl2Datatype)
OWLDatatypeImplForOWL2Datatype for the specified
OWL2Datatype.owl2Datatype - The datatype. Not null.NullPointerException - if owl2Datatype is null.public OWL2Datatype getBuiltInDatatype()
OWLDatatypetruegetBuiltInDatatype in interface OWLDatatypepublic boolean isString()
OWLDatatypexsd:string.isString in interface OWLDatatypetrue if this datatype has the IRI xsd:string, otherwise false.public boolean isInteger()
OWLDatatypexsd:integer.isInteger in interface OWLDatatypetrue if this datatype has the IRI xsd:integer, otherwise false.public boolean isFloat()
OWLDatatypexsd:float.isFloat in interface OWLDatatypetrue if this datatype has the IRI xsd:float, otherwise false.public boolean isDouble()
OWLDatatypexsd:double.isDouble in interface OWLDatatypetrue if this datatype has the IRI xsd:double, otherwise false.public boolean isBoolean()
OWLDatatypexsd:boolean.isBoolean in interface OWLDatatypetrue if this datatype has the IRI xsd:boolean, otherwise false.public boolean isRDFPlainLiteral()
OWLDatatyperdf:PlainLiteral.isRDFPlainLiteral in interface OWLDatatypetrue if this datatype has the IRI rdf:PlainLiteral otherwise falsepublic boolean isTopDatatype()
OWLDataRangeisTopDatatype in interface OWLDataRangetrue if this data range is the top datatype otherwise falsepublic DataRangeType getDataRangeType()
OWLDataRangegetDataRangeType in interface OWLDataRangegetDataRangeType in interface OWLDatatypepublic boolean isBuiltIn()
OWLEntitypublic boolean isOWLDatatype()
AsOWLDatatypeisOWLDatatype in interface AsOWLDatatypetrue if this entity is an OWLDatatype, otherwise falsepublic String toStringID()
toStringID in interface OWLEntitytoString() representation of the IRIpublic Stream<OWLEntity> signature()
signature in interface HasSignaturepublic boolean containsEntityInSignature(OWLEntity owlEntity)
HasContainsEntityInSignaturecontainsEntityInSignature in interface HasContainsEntityInSignatureowlEntity - The entitytrue if the signature of this object contains owlEntity, otherwise
falsepublic Stream<OWLDatatype> datatypesInSignature()
datatypesInSignature in interface HasDatatypesInSignaturepublic boolean isTopEntity()
OWLObjectisTopEntity in interface OWLObjecttrue if this object corresponds to one of the above entities.public int compareTo(@Nullable OWLObject o)
compareTo in interface Comparable<OWLObject>Copyright © 2020 The University of Manchester. All rights reserved.