toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ObjectLockMode.governance:
      return 'GOVERNANCE';
    case ObjectLockMode.compliance:
      return 'COMPLIANCE';
  }
}