Enum Class CreationMethod

java.lang.Object
java.lang.Enum<CreationMethod>
org.orcid.jaxb.model.message.CreationMethod
All Implemented Interfaces:
Serializable, Comparable<CreationMethod>, Constable

public enum CreationMethod extends Enum<CreationMethod> implements Serializable
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>
 
  • Enum Constant Details

    • API

      public static final CreationMethod API
      The profile was created using the Tier 2 API.
    • DIRECT

      public static final CreationMethod DIRECT
      The user registered on the /register page.
    • MEMBER_REFERRED

      public static final CreationMethod MEMBER_REFERRED
      The registered on the /oauth/signin.
    • WEBSITE

      public static final CreationMethod WEBSITE
      The profile was created manually using the ORCID web user interface.
    • INTEGRATION_TEST

      public static final CreationMethod INTEGRATION_TEST
      The profile was created manually using the ORCID web user interface.
  • Method Details

    • values

      public static CreationMethod[] 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

      public static CreationMethod valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • value

      public String value()
    • jsonValue

      public String jsonValue()
    • fromValue

      public static CreationMethod fromValue(String v)
    • isValid

      public static boolean isValid(String v)