toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case NumericOperator.equal:
      return 'EQUAL';
    case NumericOperator.greaterThanOrEqual:
      return 'GREATER_THAN_OR_EQUAL';
    case NumericOperator.lessThanOrEqual:
      return 'LESS_THAN_OR_EQUAL';
    case NumericOperator.greaterThan:
      return 'GREATER_THAN';
    case NumericOperator.lessThan:
      return 'LESS_THAN';
    case NumericOperator.between:
      return 'BETWEEN';
  }
}