public class OWLDatatypeImpl extends OWLObjectImpl implements OWLDatatype
| Type | Property and Description |
|---|---|
OWLAnnotationProperty |
asOWLAnnotation
A convenience method that obtains this entity as an OWLAnnotationProperty
(in order to avoid explicit casting).
|
OWLDataProperty |
asOWLData
A convenience method that obtains this entity as an OWLDataProperty (in
order to avoid explicit casting).
|
OWLObjectProperty |
asOWLObject
A convenience method that obtains this entity as an OWLObjectProperty (in
order to avoid explicit casting).
|
boolean |
isOWLAnnotation
Gets the value of the property oWLAnnotationProperty.
|
boolean |
isOWLData
Gets the value of the property oWLDataProperty.
|
boolean |
isOWLObject
Gets the value of the property oWLObjectProperty.
|
NO_ANNOTATIONS, OWL_THING| Constructor and Description |
|---|
OWLDatatypeImpl(IRI iri) |
| 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(OWLEntityVisitor visitor)
Accepts a visitor
|
<O> O |
accept(OWLEntityVisitorEx<O> visitor)
Accepts a visitor
|
void |
accept(OWLNamedObjectVisitor visitor)
Accepts a visitor
|
void |
accept(OWLObjectVisitor visitor)
Accepts a visitor
|
<O> O |
accept(OWLObjectVisitorEx<O> visitor)
Accepts a visitor
|
OWLAnnotationProperty |
asOWLAnnotationProperty()
A convenience method that obtains this entity as an OWLAnnotationProperty
(in order to avoid explicit casting).
|
OWLClass |
asOWLClass()
A convenience method that obtains this entity as an OWLClass (in order to
avoid explicit casting).
|
OWLDataProperty |
asOWLDataProperty()
A convenience method that obtains this entity as an OWLDataProperty (in
order to avoid explicit casting).
|
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).
|
OWLNamedIndividual |
asOWLNamedIndividual()
A convenience method that obtains this entity as an OWLNamedIndividual
(in order to avoid explicit casting).
|
OWLObjectProperty |
asOWLObjectProperty()
A convenience method that obtains this entity as an OWLObjectProperty (in
order to avoid explicit casting).
|
protected int |
compareObjectOfSameType(OWLObject object) |
boolean |
equals(Object obj) |
Set<OWLAnnotationAssertionAxiom> |
getAnnotationAssertionAxioms(OWLOntology ontology) |
Set<OWLAnnotation> |
getAnnotations(OWLOntology ontology)
Gets the annotations for this entity.
|
Set<OWLAnnotation> |
getAnnotations(OWLOntology ontology,
OWLAnnotationProperty annotationProperty)
Obtains the annotations on this entity where the annotation has the
specified annotation property.
|
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
|
EntityType<?> |
getEntityType()
Gets the entity type for this entity
|
IRI |
getIRI()
Gets the IRI of this object
|
<E extends OWLEntity> |
getOWLEntity(EntityType<E> entityType)
Gets an entity that has the same IRI as this entity but is of the
specified type.
|
Set<OWLAxiom> |
getReferencingAxioms(OWLOntology ontology)
Gets the axioms in the specified ontology that contain this entity in
their signature.
|
Set<OWLAxiom> |
getReferencingAxioms(OWLOntology ontology,
boolean includeImports)
Gets the axioms in the specified ontology and possibly its imports
closure that contain this entity in their signature.
|
boolean |
isBoolean()
Determines if this datatype has the IRI
xsd:boolean |
boolean |
isBottomEntity()
Determines if this object is either, owl:Nothing (the bottom class),
owl:bottomObjectProperty (the bottom object property) ,
owl:bottomDataProperty (the bottom data property).
|
boolean |
isBuiltIn()
Determines if this entity is a built in entity.
|
boolean |
isDatatype()
Determines if this data range is a datatype (int, float, ...)
|
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 |
isOWLAnnotationProperty()
Gets the value of the property oWLAnnotationProperty.
|
boolean |
isOWLClass()
A convenience method that determines if this entity is an OWLClass
|
boolean |
isOWLDataProperty()
Gets the value of the property oWLDataProperty.
|
boolean |
isOWLDatatype()
A convenience method that determines if this entity is an OWLDatatype
|
boolean |
isOWLNamedIndividual()
A convenience method that determines if this entity is an
OWLNamedIndividual
|
boolean |
isOWLObjectProperty()
Gets the value of the property oWLObjectProperty.
|
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).
|
boolean |
isType(EntityType<?> entityType)
Tests to see if this entity is of the specified type
|
String |
toStringID()
Returns a string representation that can be used as the ID of this
entity.
|
compareLists, compareSets, compareTo, containsEntityInSignature, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignaturecompareTocontainsEntityInSignaturepublic OWLDataProperty asOWLDataProperty
asOWLDataProperty in interface OWLEntitypublic OWLObjectProperty asOWLObjectProperty
asOWLObjectProperty in interface OWLEntitypublic boolean isOWLDataProperty
isOWLDataProperty in interface OWLEntitypublic boolean isOWLObjectProperty
isOWLObjectProperty in interface OWLEntitypublic OWLAnnotationProperty asOWLAnnotationProperty
asOWLAnnotationProperty in interface OWLEntitypublic boolean isOWLAnnotationProperty
isOWLAnnotationProperty in interface OWLEntitypublic OWLDatatypeImpl(IRI iri)
iri - datatype iripublic boolean isTopEntity()
OWLObjectisTopEntity in interface OWLObjectisTopEntity in class OWLObjectImpltrue if this object corresponds to one of the above
entities.public boolean isBottomEntity()
OWLObjectisBottomEntity in interface OWLObjectisBottomEntity in class OWLObjectImpltrue if this object corresponds to one of the above
entities.public boolean isRDFPlainLiteral()
OWLDatatyperdf:PlainLiteralisRDFPlainLiteral in interface OWLDatatypetrue if this datatype has the IRI
rdf:PlainLiteral otherwise falsepublic EntityType<?> getEntityType()
OWLEntitygetEntityType in interface OWLEntitypublic <E extends OWLEntity> E getOWLEntity(EntityType<E> entityType)
OWLEntitygetOWLEntity in interface OWLEntityE - entity typeentityType - The type of the entity to obtain. This entity is not affected in
any way.public boolean isType(EntityType<?> entityType)
OWLEntitypublic String toStringID()
OWLEntitytoStringID in interface OWLEntitypublic IRI getIRI()
OWLNamedObjectgetIRI in interface HasIRIgetIRI in interface OWLNamedObjectpublic boolean isBuiltIn()
OWLEntitypublic DataRangeType getDataRangeType()
OWLDataRangegetDataRangeType in interface OWLDataRangepublic OWL2Datatype getBuiltInDatatype()
OWLDatatypetruegetBuiltInDatatype in interface OWLDatatypepublic boolean isDouble()
OWLDatatypexsd:doubleisDouble in interface OWLDatatypetrue if this datatype has the IRI xsd:double,
otherwise false.public boolean isFloat()
OWLDatatypexsd:floatisFloat in interface OWLDatatypetrue if this datatype has the IRI xsd:float,
otherwise false.public boolean isInteger()
OWLDatatypexsd:integerisInteger in interface OWLDatatypetrue if this datatype has the IRI xsd:integer,
otherwise false.public boolean isString()
OWLDatatypexsd:stringisString in interface OWLDatatypetrue if this datatype has the IRI xsd:string,
otherwise false.public boolean isBoolean()
OWLDatatypexsd:booleanisBoolean in interface OWLDatatypetrue if this datatype has the IRI xsd:boolean,
otherwise false.public boolean isDatatype()
OWLDataRangeisDatatype in interface OWLDataRangetrue 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()
OWLDataRangeisTopDatatype in interface OWLDataRangetrue if this data range is the top datatype otherwise
falsepublic boolean equals(Object obj)
equals in class OWLObjectImplpublic Set<OWLAnnotation> getAnnotations(OWLOntology ontology)
OWLEntitygetAnnotations in interface OWLEntityontology - The ontology to be examined for annotation assertion axiomspublic Set<OWLAnnotationAssertionAxiom> getAnnotationAssertionAxioms(OWLOntology ontology)
getAnnotationAssertionAxioms in interface OWLEntityontology - the ontology to usepublic Set<OWLAnnotation> getAnnotations(OWLOntology ontology, OWLAnnotationProperty annotationProperty)
OWLEntitygetAnnotations in interface OWLEntityontology - The ontology to examine for annotation axiomsannotationProperty - The annotation propertyOWLAnnotation objects that have the specified
URI.public OWLClass asOWLClass()
OWLEntityasOWLClass in interface OWLEntitypublic OWLDataProperty asOWLDataProperty()
OWLEntityasOWLDataProperty in interface OWLEntitypublic OWLDatatype asOWLDatatype()
OWLDataRangeasOWLDatatype in interface OWLDataRangeasOWLDatatype in interface OWLEntityOWLDatatypepublic OWLNamedIndividual asOWLNamedIndividual()
OWLEntityasOWLNamedIndividual in interface OWLEntitypublic OWLObjectProperty asOWLObjectProperty()
OWLEntityasOWLObjectProperty in interface OWLEntitypublic boolean isOWLClass()
OWLEntityisOWLClass in interface OWLEntitytrue if this entity is an OWLClass, otherwise
falsepublic boolean isOWLDataProperty()
isOWLDataProperty in interface OWLEntitypublic boolean isOWLDatatype()
OWLEntityisOWLDatatype in interface OWLEntitytrue if this entity is an OWLDatatype, otherwise
falsepublic boolean isOWLNamedIndividual()
OWLEntityisOWLNamedIndividual in interface OWLEntitytrue if this entity is an OWLNamedIndividual, otherwise
falsepublic boolean isOWLObjectProperty()
isOWLObjectProperty in interface OWLEntitypublic OWLAnnotationProperty asOWLAnnotationProperty()
OWLEntityasOWLAnnotationProperty in interface OWLEntitypublic boolean isOWLAnnotationProperty()
isOWLAnnotationProperty in interface OWLEntitypublic void accept(OWLEntityVisitor visitor)
OWLEntitypublic void accept(OWLDataVisitor visitor)
OWLDataRangeaccept in interface OWLDataRangevisitor - The visitorpublic void accept(OWLObjectVisitor visitor)
OWLObjectpublic void accept(OWLNamedObjectVisitor visitor)
OWLNamedObjectaccept in interface OWLNamedObjectvisitor - The visitorpublic <O> O accept(OWLEntityVisitorEx<O> visitor)
OWLEntitypublic <O> O accept(OWLDataVisitorEx<O> visitor)
OWLDataRangeaccept in interface OWLDataRangeO - visitor return typevisitor - The visitorpublic <O> O accept(OWLObjectVisitorEx<O> visitor)
OWLObjectpublic void accept(OWLDataRangeVisitor visitor)
OWLDataRangeaccept in interface OWLDataRangevisitor - The visitorpublic <O> O accept(OWLDataRangeVisitorEx<O> visitor)
OWLDataRangeaccept in interface OWLDataRangeO - visitor return typevisitor - The visitorprotected int compareObjectOfSameType(OWLObject object)
compareObjectOfSameType in class OWLObjectImplpublic Set<OWLAxiom> getReferencingAxioms(OWLOntology ontology)
OWLEntitygetReferencingAxioms in interface OWLEntityontology - The ontology that will be searched for axiomspublic Set<OWLAxiom> getReferencingAxioms(OWLOntology ontology, boolean includeImports)
OWLEntitygetReferencingAxioms in interface OWLEntityontology - The ontology that will be searched for axiomsincludeImports - If true then axioms in the imports closure will also be
returned, if false then only the axioms in the specified
ontology will be returned.Copyright © 2014 The University of Manchester. All Rights Reserved.