org.semanticweb.elk.owl.predefined
Enum PredefinedElkIri

java.lang.Object
  extended by java.lang.Enum<PredefinedElkIri>
      extended by org.semanticweb.elk.owl.predefined.PredefinedElkIri
All Implemented Interfaces:
Serializable, Comparable<PredefinedElkIri>

public enum PredefinedElkIri
extends Enum<PredefinedElkIri>


Enum Constant Summary
OWL_BOTTOM_DATA_PROPERTY
           
OWL_BOTTOM_OBJECT_PROPERTY
           
OWL_NOTHING
           
OWL_THING
           
OWL_TOP_DATA_PROPERTY
           
OWL_TOP_OBJECT_PROPERTY
           
RDF_PLAIN_LITERAL
           
 
Method Summary
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.
 ElkIri get()
           
static PredefinedElkIri valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PredefinedElkIri[] 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_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
Method Detail

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 second
secondIri - 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.