public enum SharingScope extends Enum<SharingScope>
Modifier and Type | Class and Description |
---|---|
static class |
SharingScope.Adapter |
Enum Constant and Description |
---|
ALL_QUALIFIED_RESEARCHERS |
NO_SHARING |
SPONSORS_AND_PARTNERS |
Modifier and Type | Method and Description |
---|---|
static SharingScope |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static SharingScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SharingScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SharingScope NO_SHARING
public static final SharingScope SPONSORS_AND_PARTNERS
public static final SharingScope ALL_QUALIFIED_RESEARCHERS
public static SharingScope[] values()
for (SharingScope c : SharingScope.values()) System.out.println(c);
public static SharingScope valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
public String toString()
toString
in class Enum<SharingScope>
public static SharingScope fromValue(String text)
Copyright © 2023 Sage Bionetworks. All rights reserved.