org.semanticweb.owlapi.reasoner
Enum BufferingMode

java.lang.Object
  extended by java.lang.Enum<BufferingMode>
      extended by org.semanticweb.owlapi.reasoner.BufferingMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BufferingMode>

public enum BufferingMode
extends java.lang.Enum<BufferingMode>

Author: Matthew Horridge
The University of Manchester
Information Management Group
Date: 04-Dec-2009

Used to indicate the buffering mode of a reasoner. See OWLReasoner.getBufferingMode().


Enum Constant Summary
BUFFERING
          Represents a mode where ontology changes are buffered inside an OWLReasoner.
NON_BUFFERING
          Represents a mode where ontology changes are not buffered inside an OWLReasoner.
 
Method Summary
static BufferingMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BufferingMode[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
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
 

Enum Constant Detail

BUFFERING

public static final BufferingMode BUFFERING
Represents a mode where ontology changes are buffered inside an OWLReasoner. The reasoner only considers the changes when the buffer is flushed with the OWLReasoner.flush() method.


NON_BUFFERING

public static final BufferingMode NON_BUFFERING
Represents a mode where ontology changes are not buffered inside an OWLReasoner. The reasoner considers all changes immediately.

Method Detail

values

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

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

valueOf

public static BufferingMode 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