Class SimplePredicate


  • public final class SimplePredicate
    extends Predicate
    Corresponds to the PMML SimplePredicate element.
    • Constructor Detail

      • SimplePredicate

        public SimplePredicate()
        Create an empty SimplePredicate
    • Method Detail

      • getField

        public final String getField()
        Returns the value of the "field" attribute.
        Returns:
        the value of the "field" attribute.
      • setField

        public final void setField​(String field)
        Sets the value of the "field" attribute.
        Parameters:
        field - the value of the "field" attribute.
      • getOperator

        public final SimplePredicate.Operator getOperator()
        Returns the value of the "operator" attribute.
        Returns:
        the value of the "operator" attribute.
      • setOperator

        public final void setOperator​(SimplePredicate.Operator operator)
        Sets the value of the "operator" attribute.
        Parameters:
        operator - the value of the "operator" attribute.
      • getValue

        public final String getValue()
        Returns the value of the "value" attribute.
        Returns:
        the value of the "value" attribute.
      • setValue

        public final void setValue​(String value)
        Sets the value of the "value" attribute.
        Parameters:
        value - the value of the "value" attribute.