toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case StringFilterComparison.equals:
      return 'EQUALS';
    case StringFilterComparison.prefix:
      return 'PREFIX';
    case StringFilterComparison.notEquals:
      return 'NOT_EQUALS';
    case StringFilterComparison.prefixNotEquals:
      return 'PREFIX_NOT_EQUALS';
  }
}