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/orcid}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 /register page.
|
MEMBER_REFERRED
The registered on the /oauth/signin.
|
WEBSITE
DEPRECATED use Direct or Member-referred
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 © 2017. All rights reserved.