toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case NodeType.broker:
      return 'BROKER';
  }
}