Package org.orcid.jaxb.model.common_v2
Enum Class Visibility
- All Implemented Interfaces:
Serializable,Comparable<Visibility>,Constable
Java class for visibility.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe PROTECTED should only be shared with systems that the researcher or contributor has specifically granted authorization (using OAuth).The PRIVATE should only be used internally by ORCID.The PUBLIC should be publically available.The org.orcid.test.data should be shared only with registered users.The SYSTEM are a special level of visibility whereby only the system will be able to change it. -
Method Summary
Modifier and TypeMethodDescriptionstatic VisibilitybooleanisMoreRestrictiveThan(Visibility other) toString()value()static VisibilityReturns the enum constant of this class with the specified name.static Visibility[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SYSTEM
The SYSTEM are a special level of visibility whereby only the system will be able to change it. The most notable of these is email address. -
PRIVATE
The PRIVATE should only be used internally by ORCID. -
LIMITED
The PROTECTED should only be shared with systems that the researcher or contributor has specifically granted authorization (using OAuth). -
REGISTERED_ONLY
The org.orcid.test.data should be shared only with registered users. -
PUBLIC
The PUBLIC should be publically available.
-
-
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
-
isMoreRestrictiveThan
-
toString
- Overrides:
toStringin classEnum<Visibility>
-