|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PMMLPredicate.PMMLPredicates>
org.knime.base.node.mine.decisiontree2.PMMLPredicate.PMMLPredicates
static enum PMMLPredicate.PMMLPredicates
Enumeration of all subclasses of PMMLPredicate. New implementations must be added here for being able to instantiate the correct subclass when loading from predictor params.
| Enum Constant Summary | |
|---|---|
COMPOUND_PREDICATE
|
|
FALSE_PREDICATE
|
|
SIMPLE_PREDICATE
|
|
SIMPLE_SET_PREDICATE
|
|
TRUE_PREDICATE
|
|
| Method Summary | |
|---|---|
static Class<? extends PMMLPredicate> |
get(String type)
Returns the corresponding class for the passed predicate type. |
Class<? extends PMMLPredicate> |
getPredClass()
Returns the predicate class. |
String |
toString()
|
static PMMLPredicate.PMMLPredicates |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PMMLPredicate.PMMLPredicates[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final PMMLPredicate.PMMLPredicates SIMPLE_PREDICATE
PMMLSimplePredicatepublic static final PMMLPredicate.PMMLPredicates SIMPLE_SET_PREDICATE
PMMLSimpleSetPredicatepublic static final PMMLPredicate.PMMLPredicates COMPOUND_PREDICATE
PMMLCompoundPredicatepublic static final PMMLPredicate.PMMLPredicates TRUE_PREDICATE
PMMLTruePredicatepublic static final PMMLPredicate.PMMLPredicates FALSE_PREDICATE
PMMLFalsePredicate| Method Detail |
|---|
public static PMMLPredicate.PMMLPredicates[] values()
for (PMMLPredicate.PMMLPredicates c : PMMLPredicate.PMMLPredicates.values()) System.out.println(c);
public static PMMLPredicate.PMMLPredicates valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toString()
toString in class Enum<PMMLPredicate.PMMLPredicates>public Class<? extends PMMLPredicate> getPredClass()
public static Class<? extends PMMLPredicate> get(String type)
throws InstantiationException
type - the predicate type to find the class for
InstantiationException - - if no such PMML predicate exists
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||