public enum ContributorRole extends Enum<ContributorRole> implements Serializable
| Enum Constant and Description |
|---|
ASSIGNEE |
AUTHOR |
CHAIR_OR_TRANSLATOR |
CO_INVENTOR |
CO_INVESTIGATOR |
EDITOR |
GRADUATE_STUDENT |
OTHER_INVENTOR |
POSTDOCTORAL_RESEARCHER |
PRINCIPAL_INVESTIGATOR |
SUPPORT_STAFF |
| Modifier and Type | Method and Description |
|---|---|
static ContributorRole |
fromValue(String v) |
String |
value() |
static ContributorRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContributorRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContributorRole AUTHOR
public static final ContributorRole ASSIGNEE
public static final ContributorRole EDITOR
public static final ContributorRole CHAIR_OR_TRANSLATOR
public static final ContributorRole CO_INVESTIGATOR
public static final ContributorRole CO_INVENTOR
public static final ContributorRole GRADUATE_STUDENT
public static final ContributorRole OTHER_INVENTOR
public static final ContributorRole PRINCIPAL_INVESTIGATOR
public static final ContributorRole POSTDOCTORAL_RESEARCHER
public static final ContributorRole SUPPORT_STAFF
public static ContributorRole[] values()
for (ContributorRole c : ContributorRole.values()) System.out.println(c);
public static ContributorRole 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 value()
public static ContributorRole fromValue(String v)
Copyright © 2020. All rights reserved.