public enum ContactRole extends Enum<ContactRole>
Modifier and Type | Class and Description |
---|---|
static class |
ContactRole.Adapter |
Enum Constant and Description |
---|
INVESTIGATOR |
IRB |
PRINCIPAL_INVESTIGATOR |
SPONSOR |
STUDY_SUPPORT |
TECHNICAL_SUPPORT |
Modifier and Type | Method and Description |
---|---|
static ContactRole |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static ContactRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContactRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContactRole IRB
public static final ContactRole PRINCIPAL_INVESTIGATOR
public static final ContactRole INVESTIGATOR
public static final ContactRole SPONSOR
public static final ContactRole STUDY_SUPPORT
public static final ContactRole TECHNICAL_SUPPORT
public static ContactRole[] values()
for (ContactRole c : ContactRole.values()) System.out.println(c);
public static ContactRole 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<ContactRole>
public static ContactRole fromValue(String text)
Copyright © 2023 Sage Bionetworks. All rights reserved.