org.drools.factmodel
Enum ClassDefinition.TRAITING_MODE

java.lang.Object
  extended by java.lang.Enum<ClassDefinition.TRAITING_MODE>
      extended by org.drools.factmodel.ClassDefinition.TRAITING_MODE
All Implemented Interfaces:
Serializable, Comparable<ClassDefinition.TRAITING_MODE>
Enclosing class:
ClassDefinition

public static enum ClassDefinition.TRAITING_MODE
extends Enum<ClassDefinition.TRAITING_MODE>


Enum Constant Summary
BASIC
           
LOGICAL
           
NONE
           
 
Method Summary
static ClassDefinition.TRAITING_MODE valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ClassDefinition.TRAITING_MODE[] 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

NONE

public static final ClassDefinition.TRAITING_MODE NONE

BASIC

public static final ClassDefinition.TRAITING_MODE BASIC

LOGICAL

public static final ClassDefinition.TRAITING_MODE LOGICAL
Method Detail

values

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

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

valueOf

public static ClassDefinition.TRAITING_MODE 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


Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.