Package org.gcube.oidc
Enum D4ScienceMappings.Role
- java.lang.Object
-
- java.lang.Enum<D4ScienceMappings.Role>
-
- org.gcube.oidc.D4ScienceMappings.Role
-
- All Implemented Interfaces:
Serializable,Comparable<D4ScienceMappings.Role>
- Enclosing class:
- D4ScienceMappings
public static enum D4ScienceMappings.Role extends Enum<D4ScienceMappings.Role>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCOUNTING_MANAGERCATALOGUE_ADMINCATALOGUE_EDITORCATALOGUE_MANAGERCATALOGUE_MODERATORDATA_EDITORDATA_MANAGERDATAMINER_MANAGERINFRASTRUCTURE_MANAGERMEMBERVO_ADMINVRE_DESIGNERVRE_MANAGER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringasString()static booleanexists(String role)static Set<String>stringValues()static D4ScienceMappings.RolevalueOf(String name)Returns the enum constant of this type with the specified name.static D4ScienceMappings.Role[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MEMBER
public static final D4ScienceMappings.Role MEMBER
-
ACCOUNTING_MANAGER
public static final D4ScienceMappings.Role ACCOUNTING_MANAGER
-
CATALOGUE_ADMIN
public static final D4ScienceMappings.Role CATALOGUE_ADMIN
-
CATALOGUE_EDITOR
public static final D4ScienceMappings.Role CATALOGUE_EDITOR
-
CATALOGUE_MANAGER
public static final D4ScienceMappings.Role CATALOGUE_MANAGER
-
CATALOGUE_MODERATOR
public static final D4ScienceMappings.Role CATALOGUE_MODERATOR
-
DATA_EDITOR
public static final D4ScienceMappings.Role DATA_EDITOR
-
DATA_MANAGER
public static final D4ScienceMappings.Role DATA_MANAGER
-
DATAMINER_MANAGER
public static final D4ScienceMappings.Role DATAMINER_MANAGER
-
INFRASTRUCTURE_MANAGER
public static final D4ScienceMappings.Role INFRASTRUCTURE_MANAGER
-
VO_ADMIN
public static final D4ScienceMappings.Role VO_ADMIN
-
VRE_DESIGNER
public static final D4ScienceMappings.Role VRE_DESIGNER
-
VRE_MANAGER
public static final D4ScienceMappings.Role VRE_MANAGER
-
-
Method Detail
-
values
public static D4ScienceMappings.Role[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (D4ScienceMappings.Role c : D4ScienceMappings.Role.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static D4ScienceMappings.Role valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
asString
public String asString()
-
exists
public static boolean exists(String role)
-
-