toValue method
Implementation
String toValue() {
switch (this) {
case RuleOperator.equals:
return 'EQUALS';
case RuleOperator.lessThan:
return 'LESS_THAN';
case RuleOperator.lessThanOrEquals:
return 'LESS_THAN_OR_EQUALS';
case RuleOperator.greaterThan:
return 'GREATER_THAN';
case RuleOperator.greaterThanOrEquals:
return 'GREATER_THAN_OR_EQUALS';
case RuleOperator.$in:
return 'IN';
case RuleOperator.notIn:
return 'NOT_IN';
case RuleOperator.contains:
return 'CONTAINS';
}
}