toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case EvaluationMethod.batch:
      return 'BATCH';
    case EvaluationMethod.serial:
      return 'SERIAL';
  }
}