toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ParameterType.integer:
      return 'Integer';
    case ParameterType.continuous:
      return 'Continuous';
    case ParameterType.categorical:
      return 'Categorical';
    case ParameterType.freeText:
      return 'FreeText';
  }
}