toValue method
Implementation
String toValue() {
switch (this) {
case ComparisonOperator.eq:
return 'EQ';
case ComparisonOperator.ne:
return 'NE';
case ComparisonOperator.le:
return 'LE';
case ComparisonOperator.lt:
return 'LT';
case ComparisonOperator.ge:
return 'GE';
case ComparisonOperator.gt:
return 'GT';
case ComparisonOperator.contains:
return 'CONTAINS';
case ComparisonOperator.notContains:
return 'NOT_CONTAINS';
case ComparisonOperator.beginsWith:
return 'BEGINS_WITH';
case ComparisonOperator.$in:
return 'IN';
case ComparisonOperator.between:
return 'BETWEEN';
}
}