Enum Class ClientType

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

public enum ClientType extends Enum<ClientType>
Java class for client-type. The following schema fragment specifies the expected content contained within this class.
 <simpleType name="client-type">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="creator"/>
     <enumeration value="premium-creator"/>
     <enumeration value="updater"/>
     <enumeration value="premium-updater"/>
   </restriction>
 </simpleType>
 
  • Enum Constant Details

    • CREATOR

      public static final ClientType CREATOR
    • PREMIUM_CREATOR

      public static final ClientType PREMIUM_CREATOR
    • UPDATER

      public static final ClientType UPDATER
    • PREMIUM_UPDATER

      public static final ClientType PREMIUM_UPDATER
    • PUBLIC_CLIENT

      public static final ClientType PUBLIC_CLIENT
  • Method Details

    • values

      public static ClientType[] 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 ClientType 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 ClientType fromValue(String v)
    • getScopes

      public static Set<String> getScopes(ClientType clientType)
    • premiumCreatorScopes

      public static Set<String> premiumCreatorScopes()
    • creatorScopes

      public static Set<String> creatorScopes()
    • premiumUpdaterScopes

      public static Set<String> premiumUpdaterScopes()
    • updaterScopes

      public static Set<String> updaterScopes()