@Generated(value="com.sun.tools.xjc.Driver", date="2020-04-17T05:31:42+02:00", comments="JAXB RI v2.2.11") public enum CreationMethod extends Enum<CreationMethod>
Java class for creation-method.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="creation-method">
<restriction base="{http://www.orcid.org/ns/common}non-empty-string">
<enumeration value="API"/>
<enumeration value="Direct"/>
<enumeration value="Member-referred"/>
<enumeration value="website"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
API
The ORCID Record was created using the ORCID Member API.
|
DIRECT
The user registered on the ORCID website.
|
MEMBER_REFERRED
The user registered as part of the OAuth process.
|
WEBSITE
DEPRECATED use Direct instead.
|
| Modifier and Type | Method and Description |
|---|---|
static CreationMethod |
fromValue(String v) |
String |
value() |
static CreationMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreationMethod API
public static final CreationMethod DIRECT
public static final CreationMethod MEMBER_REFERRED
public static final CreationMethod WEBSITE
public static CreationMethod[] values()
for (CreationMethod c : CreationMethod.values()) System.out.println(c);
public static CreationMethod 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 CreationMethod fromValue(String v)
Copyright © 2020. All rights reserved.