org.semanticweb.owlapi.model
Interface OWLDatatype

All Superinterfaces:
java.lang.Comparable<OWLObject>, OWLDataRange, OWLEntity, OWLLogicalEntity, OWLNamedObject, OWLObject, OWLPropertyRange, SWRLPredicate
All Known Implementing Classes:
OWLDatatypeImpl

public interface OWLDatatype
extends OWLDataRange, OWLLogicalEntity, OWLNamedObject

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group Date: 24-Oct-2006

Represents a named data range.


Method Summary
 OWL2Datatype getBuiltInDatatype()
          Gets the built in datatype information if this datatype is a built in datatype.
 boolean isBoolean()
           
 boolean isDouble()
           
 boolean isFloat()
           
 boolean isInteger()
           
 boolean isString()
           
 
Methods inherited from interface org.semanticweb.owlapi.model.OWLDataRange
accept, accept, asOWLDatatype, getDataRangeType, isDatatype, isTopDatatype
 
Methods inherited from interface org.semanticweb.owlapi.model.OWLEntity
accept, accept, asOWLAnnotationProperty, asOWLClass, asOWLDataProperty, asOWLDatatype, asOWLNamedIndividual, asOWLObjectProperty, getAnnotationAssertionAxioms, getAnnotations, getAnnotations, getEntityType, getOWLEntity, isBottomEntity, isBuiltIn, isOWLAnnotationProperty, isOWLClass, isOWLDataProperty, isOWLDatatype, isOWLNamedIndividual, isOWLObjectProperty, isTopEntity, isType, toStringID
 
Methods inherited from interface org.semanticweb.owlapi.model.OWLNamedObject
accept, getIRI
 

Method Detail

getBuiltInDatatype

OWL2Datatype getBuiltInDatatype()
Gets the built in datatype information if this datatype is a built in datatype. This method should only be called if the isBuiltIn() method returns true

Returns:
The OWLDatatypeVocabulary that describes this built in datatype
Throws:
OWLRuntimeException - if this datatype is not a built in datatype.

isString

boolean isString()

isInteger

boolean isInteger()

isFloat

boolean isFloat()

isDouble

boolean isDouble()

isBoolean

boolean isBoolean()