toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case EntityStatusCode.impaired:
      return 'IMPAIRED';
    case EntityStatusCode.unimpaired:
      return 'UNIMPAIRED';
    case EntityStatusCode.unknown:
      return 'UNKNOWN';
  }
}