org.semanticweb.HermiT.model.dataranges
Enum DatatypeRestriction.DT
java.lang.Object
java.lang.Enum<DatatypeRestriction.DT>
org.semanticweb.HermiT.model.dataranges.DatatypeRestriction.DT
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<DatatypeRestriction.DT>
- Enclosing class:
- DatatypeRestriction
public static enum DatatypeRestriction.DT
- extends java.lang.Enum<DatatypeRestriction.DT>
|
Field Summary |
private java.lang.String |
position
|
private java.lang.String |
uri
|
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
OWLREALPLUS
public static final DatatypeRestriction.DT OWLREALPLUS
OWLREAL
public static final DatatypeRestriction.DT OWLREAL
DECIMAL
public static final DatatypeRestriction.DT DECIMAL
DOUBLE
public static final DatatypeRestriction.DT DOUBLE
FLOAT
public static final DatatypeRestriction.DT FLOAT
INTEGER
public static final DatatypeRestriction.DT INTEGER
NONNEGATIVEINTEGER
public static final DatatypeRestriction.DT NONNEGATIVEINTEGER
NONPOSITIVEINTEGER
public static final DatatypeRestriction.DT NONPOSITIVEINTEGER
POSITIVEINTEGER
public static final DatatypeRestriction.DT POSITIVEINTEGER
NEGATIVEINTEGER
public static final DatatypeRestriction.DT NEGATIVEINTEGER
LONG
public static final DatatypeRestriction.DT LONG
INT
public static final DatatypeRestriction.DT INT
SHORT
public static final DatatypeRestriction.DT SHORT
BYTE
public static final DatatypeRestriction.DT BYTE
UNSIGNEDLONG
public static final DatatypeRestriction.DT UNSIGNEDLONG
UNSIGNEDINT
public static final DatatypeRestriction.DT UNSIGNEDINT
UNSIGNEDSHORT
public static final DatatypeRestriction.DT UNSIGNEDSHORT
UNSIGNEDBYTE
public static final DatatypeRestriction.DT UNSIGNEDBYTE
OWLDATETIME
public static final DatatypeRestriction.DT OWLDATETIME
DATETIME
public static final DatatypeRestriction.DT DATETIME
RDFTEXT
public static final DatatypeRestriction.DT RDFTEXT
STRING
public static final DatatypeRestriction.DT STRING
BOOLEAN
public static final DatatypeRestriction.DT BOOLEAN
LITERAL
public static final DatatypeRestriction.DT LITERAL
ANYURI
public static final DatatypeRestriction.DT ANYURI
position
private final java.lang.String position
uri
private final java.lang.String uri
values
public static final DatatypeRestriction.DT[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(DatatypeRestriction.DT c : DatatypeRestriction.DT.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static DatatypeRestriction.DT 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
getPosition
public java.lang.String getPosition()
getURIAsString
public java.lang.String getURIAsString()
getURI
public java.net.URI getURI()
getSubTreeFor
public static java.util.Set<DatatypeRestriction.DT> getSubTreeFor(DatatypeRestriction.DT datatype)
isSubOf
public static boolean isSubOf(DatatypeRestriction.DT datatype1,
DatatypeRestriction.DT datatype2)