toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PolicyOwnerEntityType.user:
      return 'USER';
    case PolicyOwnerEntityType.role:
      return 'ROLE';
    case PolicyOwnerEntityType.group:
      return 'GROUP';
  }
}