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 PMML SimpleSetPredicate element.
  • Constructor Details

    • SimpleSetPredicate

      public SimpleSetPredicate()
      Creates an empty SimpleSetPredicate.
  • Method Details

    • 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.
    • setValues

      public final void setValues(List<String> values)
      Sets the values of the set to test against.
      Parameters:
      values - the values of the set to test against.