Package org.gcube.oidc
Enum Class D4ScienceMappings.Role
- All Implemented Interfaces:
Serializable,Comparable<D4ScienceMappings.Role>,Constable
- Enclosing class:
- D4ScienceMappings
D4Science roles.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAccounting manager.Catalogue admin.Catalogue editor.Catalogue manager.Catalogue moderator.Data editor.Data manager.Dataminer manager.Infrastructure manager.Member.VO admin.VRE designer.VRE manager. -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the role as string.static booleanChecks if a role exists.Returns the string values of the roles.static D4ScienceMappings.RoleReturns the enum constant of this class with the specified name.static D4ScienceMappings.Role[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MEMBER
Member. -
ACCOUNTING_MANAGER
Accounting manager. -
CATALOGUE_ADMIN
Catalogue admin. -
CATALOGUE_EDITOR
Catalogue editor. -
CATALOGUE_MANAGER
Catalogue manager. -
CATALOGUE_MODERATOR
Catalogue moderator. -
DATA_EDITOR
Data editor. -
DATA_MANAGER
Data manager. -
DATAMINER_MANAGER
Dataminer manager. -
INFRASTRUCTURE_MANAGER
Infrastructure manager. -
VO_ADMIN
VO admin. -
VRE_DESIGNER
VRE designer. -
VRE_MANAGER
VRE manager.
-
-
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
-
asString
Returns the role as string.- Returns:
- the role as string.
-
stringValues
Returns the string values of the roles.- Returns:
- the string values of the roles.
-
exists
Checks if a role exists.- Parameters:
role- the role to check.- Returns:
- true if the role exists, false otherwise.
-