org.drools.core.beliefsystem.jtms
Enum JTMSBeliefSet.MODE
java.lang.Object
java.lang.Enum<JTMSBeliefSet.MODE>
org.drools.core.beliefsystem.jtms.JTMSBeliefSet.MODE
- All Implemented Interfaces:
- Serializable, Comparable<JTMSBeliefSet.MODE>
- Enclosing class:
- JTMSBeliefSet
public static enum JTMSBeliefSet.MODE
- extends Enum<JTMSBeliefSet.MODE>
POSITIVE
public static final JTMSBeliefSet.MODE POSITIVE
NEGATIVE
public static final JTMSBeliefSet.MODE NEGATIVE
values
public static JTMSBeliefSet.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 (JTMSBeliefSet.MODE c : JTMSBeliefSet.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 JTMSBeliefSet.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
toExternalForm
public String toExternalForm()
toString
public String toString()
- Overrides:
toString in class Enum<JTMSBeliefSet.MODE>
getId
public String getId()
resolve
public static JTMSBeliefSet.MODE resolve(Object id)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.