org.mindswap.pellet
Enum KnowledgeBase.ChangeType

java.lang.Object
  extended by java.lang.Enum<KnowledgeBase.ChangeType>
      extended by org.mindswap.pellet.KnowledgeBase.ChangeType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<KnowledgeBase.ChangeType>
Enclosing class:
KnowledgeBase

public static enum KnowledgeBase.ChangeType
extends java.lang.Enum<KnowledgeBase.ChangeType>


Enum Constant Summary
ABOX_ADD
           
ABOX_DEL
           
RBOX_ADD
           
RBOX_DEL
           
TBOX_ADD
           
TBOX_DEL
           
 
Method Summary
static KnowledgeBase.ChangeType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static KnowledgeBase.ChangeType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ABOX_ADD

public static final KnowledgeBase.ChangeType ABOX_ADD

ABOX_DEL

public static final KnowledgeBase.ChangeType ABOX_DEL

TBOX_ADD

public static final KnowledgeBase.ChangeType TBOX_ADD

TBOX_DEL

public static final KnowledgeBase.ChangeType TBOX_DEL

RBOX_ADD

public static final KnowledgeBase.ChangeType RBOX_ADD

RBOX_DEL

public static final KnowledgeBase.ChangeType RBOX_DEL
Method Detail

values

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

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

valueOf

public static KnowledgeBase.ChangeType 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
java.lang.NullPointerException - if the argument is null


Copyright © 2004 Evren Sirin. All Rights Reserved.