Module datarush.analytics
Class SimpleSetPredicate
- java.lang.Object
-
- com.pervasive.datarush.analytics.decisiontree.Predicate
-
- com.pervasive.datarush.analytics.decisiontree.SimpleSetPredicate
-
public final class SimpleSetPredicate extends Predicate
Corresponds to the PMMLSimpleSetPredicate
element.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SimpleSetPredicate.Operator
Enumeration of allowed values for the "booleanOperator" attribute.
-
Constructor Summary
Constructors Constructor Description SimpleSetPredicate()
Creates an emptySimpleSetPredicate
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getField()
Returns the value of the "field" attribute.SimpleSetPredicate.Operator
getOperator()
Returns the value of the "booleanOperator" attribute.List<String>
getValues()
Returns the values of the set to test against.void
setField(String field)
Sets the value of the "field" attribute.void
setOperator(SimpleSetPredicate.Operator operator)
Sets the value of the "booleanOperator" attribute.void
setValues(List<String> values)
Sets the values of the set to test against.
-
-
-
Method Detail
-
getField
public String getField()
Returns the value of the "field" attribute.- Returns:
- the value of the "field" attribute.
-
setField
public void setField(String field)
Sets the value of the "field" attribute.- Parameters:
field
- the value of the "field" attribute.
-
getOperator
public final SimpleSetPredicate.Operator getOperator()
Returns the value of the "booleanOperator" attribute.- Returns:
- the value of the "booleanOperator" attribute.
-
setOperator
public final void setOperator(SimpleSetPredicate.Operator operator)
Sets the value of the "booleanOperator" attribute.- Parameters:
operator
- the value of the "booleanOperator" attribute.
-
getValues
public final List<String> getValues()
Returns the values of the set to test against.- Returns:
- the values of the set to test against.
-
-