org.dllearner.core.owl
Enum OWL2Datatype
java.lang.Object
java.lang.Enum<OWL2Datatype>
org.dllearner.core.owl.OWL2Datatype
- All Implemented Interfaces:
- Serializable, Comparable<OWL2Datatype>
public enum OWL2Datatype
- extends Enum<OWL2Datatype>
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
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()
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann