org.dllearner.core.owl
Enum OWL2Datatype

java.lang.Object
  extended by java.lang.Enum<OWL2Datatype>
      extended by org.dllearner.core.owl.OWL2Datatype
All Implemented Interfaces:
Serializable, Comparable<OWL2Datatype>

public enum OWL2Datatype
extends Enum<OWL2Datatype>


Enum Constant Summary
BOOLEAN
           
DATE
           
DATETIME
           
DOUBLE
           
INT
           
INTEGER
           
STRING
           
 
Method Summary
 Datatype getDatatype()
           
 URI getURI()
           
static OWL2Datatype valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OWL2Datatype[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DOUBLE

public static final OWL2Datatype DOUBLE

INT

public static final OWL2Datatype INT

INTEGER

public static final OWL2Datatype INTEGER

BOOLEAN

public static final OWL2Datatype BOOLEAN

STRING

public static final OWL2Datatype STRING

DATE

public static final OWL2Datatype DATE

DATETIME

public static final OWL2Datatype DATETIME
Method Detail

values

public static OWL2Datatype[] 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 (OWL2Datatype c : OWL2Datatype.values())
    System.out.println(c);

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

valueOf

public static OWL2Datatype valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getDatatype

public Datatype getDatatype()

getURI

public URI getURI()


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann