toValue method

String toValue()

Implementation

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