org.semanticweb.owl.vocab
Enum OWLDatatypeVocabulary

java.lang.Object
  extended by java.lang.Enum<OWLDatatypeVocabulary>
      extended by org.semanticweb.owl.vocab.OWLDatatypeVocabulary
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OWLDatatypeVocabulary>

public enum OWLDatatypeVocabulary
extends java.lang.Enum<OWLDatatypeVocabulary>

Author: Matthew Horridge
The University Of Manchester
Information Management Group
Date: 11-Nov-2008


Nested Class Summary
static class OWLDatatypeVocabulary.Category
           
 
Enum Constant Summary
OWL_DATE_TIME
           
OWL_RATIONAL
           
OWL_REAL
           
OWL_REAL_PLUS
           
RDF_TEXT
           
XSD_ANY_URI
           
XSD_BASE_64_BINARY
           
XSD_BOOLEAN
           
XSD_BYTE
           
XSD_DECIMAL
           
XSD_DOUBLE
           
XSD_FLOAT
           
XSD_HEX_BINARY
           
XSD_INT
           
XSD_INTEGER
           
XSD_LANGUAGE
           
XSD_LONG
           
XSD_NAME
           
XSD_NCNAME
           
XSD_NEGATIVE_INTEGER
           
XSD_NMTOKEN
           
XSD_NON_NEGATIVE_INTEGER
           
XSD_NON_POSITIVE_INTEGER
           
XSD_NORMALIZED_STRING
           
XSD_POSITIVE_INTEGER
           
XSD_SHORT
           
XSD_STRING
           
XSD_TOKEN
           
XSD_UNSIGNED_BYTE
           
XSD_UNSIGNED_INT
           
XSD_UNSIGNED_LONG
           
XSD_UNSIGNED_SHORT
           
 
Method Summary
 OWLDatatypeVocabulary.Category getCategory()
          Gets the category for this datatype
static OWLDatatypeVocabulary getDatatype(java.net.URI datatype)
          Given a URI that identifies an OWLDatatype, this method obtains the corresponding OWLDatatypeVocabulary
static java.util.Set<java.net.URI> getDatatypeURIs()
          Gets all of the built in datatype URIs
 java.util.Collection<OWLRestrictedDataRangeFacetVocabulary> getFacets()
          Gets the facets that are allowed for facet restrictions of this datatype
 java.lang.String getShortName()
          Gets the short human readable name for this datatype
 java.net.URI getURI()
          Gets the URI of this datatype
static boolean isBuiltIn(java.net.URI datatypeURI)
          Determines if the specified URI identifies a built in datatype.
 boolean isFinite()
          Determines whether or not this datatype is finite.
static OWLDatatypeVocabulary valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OWLDatatypeVocabulary[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OWL_REAL_PLUS

public static final OWLDatatypeVocabulary OWL_REAL_PLUS

OWL_REAL

public static final OWLDatatypeVocabulary OWL_REAL

OWL_RATIONAL

public static final OWLDatatypeVocabulary OWL_RATIONAL

XSD_DOUBLE

public static final OWLDatatypeVocabulary XSD_DOUBLE

XSD_FLOAT

public static final OWLDatatypeVocabulary XSD_FLOAT

XSD_DECIMAL

public static final OWLDatatypeVocabulary XSD_DECIMAL

XSD_INTEGER

public static final OWLDatatypeVocabulary XSD_INTEGER

XSD_NON_NEGATIVE_INTEGER

public static final OWLDatatypeVocabulary XSD_NON_NEGATIVE_INTEGER

XSD_NON_POSITIVE_INTEGER

public static final OWLDatatypeVocabulary XSD_NON_POSITIVE_INTEGER

XSD_POSITIVE_INTEGER

public static final OWLDatatypeVocabulary XSD_POSITIVE_INTEGER

XSD_NEGATIVE_INTEGER

public static final OWLDatatypeVocabulary XSD_NEGATIVE_INTEGER

XSD_LONG

public static final OWLDatatypeVocabulary XSD_LONG

XSD_INT

public static final OWLDatatypeVocabulary XSD_INT

XSD_SHORT

public static final OWLDatatypeVocabulary XSD_SHORT

XSD_BYTE

public static final OWLDatatypeVocabulary XSD_BYTE

XSD_UNSIGNED_LONG

public static final OWLDatatypeVocabulary XSD_UNSIGNED_LONG

XSD_UNSIGNED_INT

public static final OWLDatatypeVocabulary XSD_UNSIGNED_INT

XSD_UNSIGNED_SHORT

public static final OWLDatatypeVocabulary XSD_UNSIGNED_SHORT

XSD_UNSIGNED_BYTE

public static final OWLDatatypeVocabulary XSD_UNSIGNED_BYTE

XSD_STRING

public static final OWLDatatypeVocabulary XSD_STRING

XSD_NORMALIZED_STRING

public static final OWLDatatypeVocabulary XSD_NORMALIZED_STRING

XSD_TOKEN

public static final OWLDatatypeVocabulary XSD_TOKEN

XSD_LANGUAGE

public static final OWLDatatypeVocabulary XSD_LANGUAGE

XSD_NAME

public static final OWLDatatypeVocabulary XSD_NAME

XSD_NCNAME

public static final OWLDatatypeVocabulary XSD_NCNAME

XSD_NMTOKEN

public static final OWLDatatypeVocabulary XSD_NMTOKEN

XSD_BOOLEAN

public static final OWLDatatypeVocabulary XSD_BOOLEAN

XSD_HEX_BINARY

public static final OWLDatatypeVocabulary XSD_HEX_BINARY

XSD_BASE_64_BINARY

public static final OWLDatatypeVocabulary XSD_BASE_64_BINARY

XSD_ANY_URI

public static final OWLDatatypeVocabulary XSD_ANY_URI

OWL_DATE_TIME

public static final OWLDatatypeVocabulary OWL_DATE_TIME

RDF_TEXT

public static final OWLDatatypeVocabulary RDF_TEXT
Method Detail

values

public static OWLDatatypeVocabulary[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (OWLDatatypeVocabulary c : OWLDatatypeVocabulary.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static OWLDatatypeVocabulary valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getDatatypeURIs

public static java.util.Set<java.net.URI> getDatatypeURIs()
Gets all of the built in datatype URIs

Returns:
A set of URIs corresponding to the built in datatype URIs

isBuiltIn

public static boolean isBuiltIn(java.net.URI datatypeURI)
Determines if the specified URI identifies a built in datatype.

Parameters:
datatypeURI - The datatype URI
Returns:
true if the URI identifies a built in datatype, or false if the URI does not identify a built in datatype.

getDatatype

public static OWLDatatypeVocabulary getDatatype(java.net.URI datatype)
Given a URI that identifies an OWLDatatype, this method obtains the corresponding OWLDatatypeVocabulary

Parameters:
datatype - The datatype URI
Returns:
The OWLDatatypeVocabulary
Throws:
OWLRuntimeException - if the specified URI is not a built in datatype URI

getShortName

public java.lang.String getShortName()
Gets the short human readable name for this datatype

Returns:
The short human readable name

getURI

public java.net.URI getURI()
Gets the URI of this datatype

Returns:
The URI that identifies the datatype

getCategory

public OWLDatatypeVocabulary.Category getCategory()
Gets the category for this datatype

Returns:
The category

isFinite

public boolean isFinite()
Determines whether or not this datatype is finite.

Returns:
true if this datatype is finite, or false if this datatype is infinite.

getFacets

public java.util.Collection<OWLRestrictedDataRangeFacetVocabulary> getFacets()
Gets the facets that are allowed for facet restrictions of this datatype

Returns:
The allowed facets