Package org.orcid.jaxb.model.message
Enum Class CreationMethod
- All Implemented Interfaces:
Serializable,Comparable<CreationMethod>,Constable
Java class for creation-method values..
The following schema fragment specifies the expected content contained within
this class.
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="API"/>
<xs:enumeration value="manual">
</xs:restriction>
</xs:simpleType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe profile was created using the Tier 2 API.The user registered on the /register page.The profile was created manually using the ORCID web user interface.The registered on the /oauth/signin.The profile was created manually using the ORCID web user interface. -
Method Summary
Modifier and TypeMethodDescriptionstatic CreationMethodstatic booleanvalue()static CreationMethodReturns the enum constant of this class with the specified name.static CreationMethod[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
API
The profile was created using the Tier 2 API. -
DIRECT
The user registered on the /register page. -
MEMBER_REFERRED
The registered on the /oauth/signin. -
WEBSITE
The profile was created manually using the ORCID web user interface. -
INTEGRATION_TEST
The profile was created manually using the ORCID web user interface.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
value
-
jsonValue
-
fromValue
-
isValid
-