org.semanticweb.elk.owl.predefined
Enum PredefinedElkIri
java.lang.Object
java.lang.Enum<PredefinedElkIri>
org.semanticweb.elk.owl.predefined.PredefinedElkIri
- All Implemented Interfaces:
- Serializable, Comparable<PredefinedElkIri>
public enum PredefinedElkIri
- extends Enum<PredefinedElkIri>
OWL_THING
public static final PredefinedElkIri OWL_THING
OWL_NOTHING
public static final PredefinedElkIri OWL_NOTHING
OWL_TOP_OBJECT_PROPERTY
public static final PredefinedElkIri OWL_TOP_OBJECT_PROPERTY
OWL_BOTTOM_OBJECT_PROPERTY
public static final PredefinedElkIri OWL_BOTTOM_OBJECT_PROPERTY
OWL_TOP_DATA_PROPERTY
public static final PredefinedElkIri OWL_TOP_DATA_PROPERTY
OWL_BOTTOM_DATA_PROPERTY
public static final PredefinedElkIri OWL_BOTTOM_DATA_PROPERTY
RDF_PLAIN_LITERAL
public static final PredefinedElkIri RDF_PLAIN_LITERAL
values
public static PredefinedElkIri[] 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 (PredefinedElkIri c : PredefinedElkIri.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PredefinedElkIri 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
get
public ElkIri get()
compare
public static int compare(ElkIri firstIri,
ElkIri secondIri)
- Defines an ordering on IRIs starting with
OWL_NOTHING,
OWL_THING, followed by the remaining IRIs in alphabetical order.
- Parameters:
firstIri - the fist ElkIri to compare with the secondsecondIri - the second ElkIri to compare with the first
- Returns:
- a negative integer, zero, or a positive integer as the first IRI
is less, equal, or greater than the second IRI in the specified
order
Copyright © 2011-2013 Department of Computer Science, University of Oxford. All Rights Reserved.